mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.6 KiB
1.6 KiB
style.css
This page is the SPOT for 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 Contributing playwright.spec.js.
style.css.j2
roles/web-app-taiga/templates/style.css.j2is the Taiga role override.sys-front-inj-cssrenders it whencompose.services.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
compose.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.