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
Moderator
*****
246 22 Aug 2026 0
#1

Dark mode is a one-liner media query once your colours live in variables.

I design in the browser almost exclusively now; mockups only for client sign-off.
Reply
Member
***
230 25 Oct 2025 0
#2

(10-11-2026, 10:50 AM)PatchPat Wrote: Dark mode is a one-liner media query once your colours live in variables.
:has() feels like cheating compared to what we used to do.

Bumping this because I ran into the same thing today.
Reply
Member
***
201 15 Dec 2025 0
#3

(10-13-2026, 01:43 AM)NeonNia Wrote:
(10-11-2026, 10:50 AM)PatchPat Wrote: Dark mode is a one-liner media query once your colours live in variables.
I still reach for Bootstrap when a client needs to maintain it afterwards.

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

Bumping this because I ran into the same thing today.
Reply
Member
***
207 20 Feb 2026 0
#4

(10-14-2026, 03:33 PM)SonicSam Wrote: [quote='NeonNia' pid='2878' dateline='1791855836'][quote='PatchPat' pid='2877' dateline='1791715808']Dark mode is a one-liner media query once your colours l...
Refactoring legacy CSS one component at a time is the only sane way.

Container queries are great but I still add a media-query fallback.
Reply
Administrator
*******
234 20 Nov 2026 0
#5

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

I disagree slightly, but I can see where you are coming from.
Reply
Moderator
*****
221 21 Oct 2026 0
#6

(10-17-2026, 02:03 PM)admin 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.

Thanks for sharing, saved me a lot of time.
Reply
Member
***
229 22 Oct 2026 0
#7

Refactoring legacy CSS one component at a time is the only sane way.

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

Users browsing this thread: 2 Guest(s)

Forum Jump: