Theme demo: pick a theme on the right. Log in as demo / demo to try posting. Everything resets every night.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Account not Activated
240 22 Mar 2026 0
#1

Code:
:root { --accent: #4f7cff; }
— CSS variables made my theming life so much easier.

I design in the browser almost exclusively now; mockups only for client sign-off.

Dark mode is a one-liner media query once your colours live in variables.
Reply
Account not Activated
236 18 Oct 2026 0
#2

Container queries are great but I still add a media-query fallback.

Could not agree more.
Reply
Member
***
230 31 Jul 2026 0 0
#3

Container queries are great but I still add a media-query fallback.

:has() feels like cheating compared to what we used to do.

I disagree slightly, but I can see where you are coming from.
Reply
Account not Activated
236 18 Oct 2026 0
#4

(08-06-2026, 05:27 AM)TurboTom Wrote: Container queries are great but I still add a media-query fallback.
Refactoring legacy CSS one component at a time is the only sane way.

CSS variables + one class toggle is my whole dark mode stack.

Nice thread, following for the replies.
Reply
Account not Activated
236 18 Oct 2026 0
#5

CSS variables + one class toggle is my whole dark mode stack.

Container queries are great but I still add a media-query fallback.
Reply
Member
***
243 18 Jun 2026 0 0
#6

(08-08-2026, 08:35 AM)ByteBruce Wrote: CSS variables + one class toggle is my whole dark mode stack.
I still reach for Bootstrap when a client needs to maintain it afterwards.

CSS variables + one class toggle is my whole dark mode stack.
Reply
Super Moderator
******
275 23 Nov 2026 0 0
#7

(08-08-2026, 04:02 PM)DoodleDom Wrote:
(08-08-2026, 08:35 AM)ByteBruce Wrote: CSS variables + one class toggle is my whole dark mode stack.
Refactoring legacy CSS one component at a time is the only sane way.

CSS variables + one class toggle is my whole dark mode stack.

Thanks for sharing, saved me a lot of time.
Reply
Banned
220 18 Jun 2026 0
#8

Container queries are great but I still add a media-query fallback.

Good point, I had not thought of it that way.
Reply

Users browsing this thread: 1 Guest(s)

Forum Jump: