Context
The /admin/dashboards/* console kept a second, light-only palette (--fz-* in tokens.css), 62 raw hex and 32 rgba( values in class names, and a 1120px cap, the narrowest in the app. It was the only screen that ignored the dark theme.
Decision
- Keep the
fz-*role names, so the console markup reads as before, but point every surface, text and status value at the main--sl-*tokens (fz-bg→surface-tint,fz-text→ink,fz-secondary→accent,fz-red→danger, …). Only the chart series keep their own hues. - No raw hex or
rgba(in console class names: they map tofz-*tokens, the radius scale andshadow-fz/shadow-fz-lg. - The console header and dashboards use
PageContainer size="full"; the 1120px cap is gone.
Consequences
One palette and dark mode for free. The console's MUI breakpoints (min-[960px], min-[1280px]) and its line-height and tracking values stay as arbitrary values: they shape only this screen and have no token.