fix(frontend): primary-Tailwind-Farben via @theme registriert #55
Labels
No labels
component/backend
component/docs
component/e2e
component/frontend
component/infra
component/keycloak
prio/high
prio/low
prio/medium
type/bug
type/chore
type/feature
type/refactor
type/test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
WompSchmiede/FamilienFeierPlaner#55
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Der Login-Button auf der Landing Page (/) hat weissen Text auf weissem Hintergrund, da Tailwind v4 die Klasse
bg-primary-600nicht kennt.Ursache: Tailwind v4 generiert Utility-Klassen nur aus registrierten @theme-Werten. Die Farb-Token in shared/design-tokens/tokens.css werden zwar als CSS-Custom-Properties importiert, aber nicht als Tailwind-Theme-Werte registriert.
Loesung:
app.csserhaelt einen @theme-Block, der --color-primary-* als var()-Referenzen an Tailwind v4 uebergibt.Fehlerbild (visuell):
Gehoert zu MS7 (BFF-Skelett & Konnektivitaetstest).