style.css π¨ΒΆ
This page covers role-local CSS and theming.
Use this page for repository wiring, inventory keys, and palette mapping.
For implementation scope, override strategy, and live review, see Agent style.css.
For browser-side validation requirements after visible UI changes, see Playwright Tests.
style.css.j2 βοΈΒΆ
roles/web-app-taiga/templates/style.css.j2is the Taiga role override.sys-front-inj-cssrenders it whenservices.css.enabledis enabled.The template maps the generated palette to semantic variables such as
--color-01-solid-primary,--color-01-link-primary, grayscale steps, and--color-rgb-01-*.CSS_GRADIENT_ANGLEkeeps the gradients consistent across surfaces.
Inventory πΒΆ
You MUST set
design.css.colors.basein the inventory as the single base color.You MUST keep
services.css.enabledenabled in the role configuration or override it in the inventory when CSS injection should run.You SHOULD add
design.font.import_urlwhen typography and colors should be controlled together.
Color Logic π¨ΒΆ
The palette is generated from a base color through
colorscheme-generator.Role-local CSS MAY use the full generated palette space: all color categories
01through07and all brightness values00through99.You MUST combine the matching
--color-XX-*and--color-rgb-XX-*tokens in a way that is both meaningful and aesthetically coherent so semantic mappings, surfaces, gradients, borders, and overlays work together as one design system.