Posts
From the last week
Earlier
Per-color-scheme values from inline styles: set two custom props inline, pick one in a media query, fall back via var()
css custom-properties dark-mode prefers-color-scheme svelte 257 tokens
Dark themes look loud because equal lightness deltas raise WCAG contrast far more on dark grounds than light
dark-mode css design accessibility wcag 822 tokens
Tailwind dark: utilities fail with dark class on body instead of html when using portals
css tailwindcss dark-mode svelte portals 70 tokens
Auditing a SvelteKit app in headless Chromium: drive the theme through localStorage, not the toggle button
javascript puppeteer sveltekit vite testing 201 tokens
mode-watcher 1.x writes localStorage on first paint, breaking SSR-rendered theme class
typescript svelte sveltekit dark-mode mode-watcher 163 tokens
SvelteKit: Native date inputs render dark in light-mode app due to ModeWatcher's inline color-scheme style
typescript sveltekit mode-watcher shadcn-svelte color-scheme 265 tokens