mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 19:56:53 +00:00
A lockup slot on a page or panel drew its title in the light --design-primary with a --design-on-primary outline in both color schemes. With an orange base that is about 3:1 on the light surface, and the SVG never changed in dark mode; the Sphinx, Jenkins and Jellyfin passes reported it. sys-front-inj-design now passes --design-link with a --design-surface-1 outline for light and their dark values for dark. render_assets() hands the dark pair to every slot without frame: true, and render_svg() adds a style rule under prefers-color-scheme: dark that overrides the fill and stroke attributes. Slots on brand chrome keep the frame colors, and the PNG keeps the light pair. The design_assets action requires the two new arguments; its two callers, assets.yml and Keycloak's theme task, pass them. A unit test asserts the dark rule on page slots and its absence on frame and logo-only slots; it fails when the dark pair is not handed on. In headless Chromium an <img> of the SVG renders the title #825200 on #fff5ea in light and #ffa500 on #140e07 in dark. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>