Replace raw dashboard RGB alpha colors with color-mix token expressions and guard the global CSS surface. - Converted global theme shadow, state, mission, event, and theme-data alpha colors from raw rgba() to color-mix() expressions. - Added CSS fixture loading for theme-data.css and a regression test banning raw rgb/rgba outside var() fallbacks across global app CSS. - Documented the stricter dashboard styling rule for global and theme token CSS. Files changed: docs/dashboard-guide.md | 2 +- .../__tests__/global-theme-css-no-raw-rgba.test.ts | 68 +++ packages/dashboard/app/public/theme-data.css | 573 +++++++++++---------- packages/dashboard/app/styles.css | 49 +- packages/dashboard/app/test/cssFixture.ts | 7 + 5 files changed, 389 insertions(+), 310 deletions(-) Fusion-Task-Id: FN-6489 Fusion-Task-Lineage: 7c466971-d15c-4382-a24b-1b32eea71974
2.6 KiB
2.6 KiB