fix(frontend): kritischer Bug - zirkuläre CSS-Variablen brachen Farben app-weit
@theme-Mapping in tailwind.css hatte Einträge wie "--color-primary: var(--color-primary)" - gleicher Name wie in global.css, also Selbstreferenz auf dieselbe Custom Property. Laut CSS-Spec wird eine zirkuläre var()-Referenz zur "guaranteed-invalid value" - die Property bricht dadurch komplett weg, nicht nur für neue Tailwind-Utilities, sondern für JEDE Regel im ganzen Projekt, die dieselbe Property liest (z.B. .btn-primary in global.css, .badge-danger, etc.). Betraf: primary, primary-hover, primary-soft, danger, danger-bg, warning, warning-bg, success, success-bg, surface, surface-sunken, border, border-strong - praktisch die gesamte Farbpalette der App, nicht auf Dashboard beschränkt. Sichtbar u.a. als unsichtbarer weißer Text auf weißem "Trotzdem übernehmen"-Button (Kontrolle-Seite bei gesperrtem Objekt). Fix: Zwischen-Variablen mit eigenem Namen (--mabea-*) in tailwind.css, keine Namenskollision mehr. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CVgbozhYmuEhiEJHffRXCV
This commit is contained in:
@@ -6672,3 +6672,29 @@ Keine Commits in dieser Session.
|
||||
- frontend/src/pages/dashboard/TileFrame.tsx | 13 ++++++++++---
|
||||
|
||||
---
|
||||
## 2026-09-07 14:13 – 14:15 (2m)
|
||||
**Beschreibung:** Claude Code Session
|
||||
**Projekt:** asb-material
|
||||
|
||||
### Commits
|
||||
- e3616c1 fix(auth): Startseite/AdminRoute redirecten bei Reload fälschlich auf Objekte
|
||||
|
||||
### Geänderte Dateien
|
||||
- DEVLOG.md | 14 ++++++++++++++
|
||||
- frontend/src/App.tsx | 13 +++++++++++--
|
||||
- frontend/src/auth/AuthContext.tsx | 15 +++++++++++++--
|
||||
|
||||
---
|
||||
## 2026-09-07 14:18 – 14:19 (0m)
|
||||
**Beschreibung:** Claude Code Session
|
||||
**Projekt:** asb-material
|
||||
|
||||
### Commits
|
||||
Keine Commits in dieser Session.
|
||||
|
||||
### Geänderte Dateien
|
||||
- DEVLOG.md | 14 ++++++++++++++
|
||||
- frontend/src/App.tsx | 13 +++++++++++--
|
||||
- frontend/src/auth/AuthContext.tsx | 15 +++++++++++++--
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user