Thread Rating:
11-22-2026, 10:25 PM
Dark mode is a one-liner media query once your colours live in variables.
— CSS variables made my theming life so much easier.
Maybe this has been discussed before, but I could not find anything recent.
Curious what everyone else here thinks about it.
Code:
:root { --accent: #4f7cff; }Maybe this has been discussed before, but I could not find anything recent.
Curious what everyone else here thinks about it.
11-23-2026, 01:16 PM
11-25-2026, 02:36 PM
:has() feels like cheating compared to what we used to do.
Container queries are great but I still add a media-query fallback.
Container queries are great but I still add a media-query fallback.
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)
