@markodenic.comMarko Denic @markodenic.com
2026-11-17 11:47 UTC
CSS tip: dark mode colors without a single media query. :root { color-scheme: light dark; --bg: light-dark(#fff, #18181b); --text: light-dark(#18181b, #fafafa); } Each property gets a light and a dark value, and the page follows the system theme.
3 likes, 0 reposts, 0 replies
3 Next post4 More from @markodenic.comBackBluesky home