Restore dark-mode accentL to its original 0.74

0.65 was still too dark per feedback. The original concern that made
us drop accentL from 0.74 (accent surfaces stacking too bright over
the darkened spotlight/hero cards) is already fixed architecturally by
the earlier color-mix() conversion, which makes bg-accent-tint/
bg-accent-btn a solid precomputed value that no longer stacks with
whatever's underneath. So there's no reason to keep accentL dimmed for
that reason anymore.
This commit is contained in:
2026-09-22 20:40:23 +02:00
parent 1e3e46cfdc
commit c60704080b
+1 -1
View File
@@ -26,7 +26,7 @@ export function buildThemeTokens(hue: number, mode: 'dark' | 'light' = 'dark'):
const H2 = r(h2, 1); const H2 = r(h2, 1);
const light = mode === 'light'; const light = mode === 'light';
const accentL = light ? 0.52 : 0.65; const accentL = light ? 0.52 : 0.74;
const accentC = light ? 0.16 : 0.09; const accentC = light ? 0.16 : 0.09;
const titleL = light ? 0.4 : 0.87; const titleL = light ? 0.4 : 0.87;
const titleC = light ? 0.13 : 0.05; const titleC = light ? 0.13 : 0.05;