fix: compute --on-accent in inline head script for all pages

--on-accent was only set by deferred theme-core.js module, causing
all fab--primary and btn--primary elements to have wrong text/icon
color on first paint. Now computed from HSL values in the synchronous
theme-init-script partial, matching theme-core.js logic exactly.

Remove hardcoded fallback from fab--label CSS.
This commit is contained in:
Local Build committed 2026-08-13 20:46:50 +02:00
1 parent f12199ef3b
commit 632e54ce4e
17 files changed
+3462 -1691

No files matched your search

-6
View File
@@ -964,12 +964,6 @@ a.fab--secondary:visited {
width: auto;
padding: 0.65rem 1.1rem;
gap: 0.5rem;
color: var(--on-accent, hsl(0 0% 98%));
}
.fab--label:hover,
.fab--label:focus-visible {
color: var(--on-accent, hsl(0 0% 98%));
}
.fab__label {