You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce dark-mode design tokens and swap many color uses to light-dark() with new variables (--color-obsidian, --color-card-dark, --color-muted, --color-rust-bright). Update global styles (styles.css) to map background, text, link, shaded and border tokens for dark theme. Adjust component styles (cards, footer, header, hero, related-articles, tabs, teaser) to use the new dark tokens and heritage border variable so UI elements render correctly in dark mode. Add dual-image hero support: CSS rules to show/hide light vs dark hero images and a mask/opacity for the dark image, plus JS (hero.js) to detect two <picture> elements, tag them as light/dark and eager-load images for LCP. Small footer/header/button tweaks included for consistent dark appearance (border-top, hover colors, button backgrounds and shadows).
0 commit comments