Dark mode
3 articles on dark mode in a Svelte 5 data grid: practical guides with copy-paste code, from the team building SvGrid.
- Inside SvGrid: A Theming System on CSS Variables - How SvGrid uses --sg-* CSS custom properties to make theming a CSS problem, not a JavaScript one - and why that keeps dark mode, design system adoption, and per-grid overrides simple.
- SvGrid drops into your shadcn-svelte app - A side-by-side look at how little it takes to swap a hand-written shadcn Table for a full SvGrid - same tokens, same dark mode, plus sorting, filtering, and virtualization for free.
- Theming a Svelte Data Grid with CSS Variables and Dark Mode - How SvGrid's --sg-* CSS custom properties let you remap colors, density, and accent in plain CSS - with a full light/dark/accent switcher wired in Svelte 5.