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
Member
***
236 22 Apr 2026 0 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

(11-08-2026, 08:11 AM)NeonNia Wrote:
Code:
:root { --accent: #4f7cff; }
— CSS variables made my theming life so much easier.
:has() feels like cheating compared to what we used to do.
Reply
Member
***
231 20 Nov 2026 0 0
#3

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

Thanks for sharing, saved me a lot of time.
Reply
Member
***
243 18 Jun 2026 0 0
#4

(11-10-2026, 06:55 AM)DevDan Wrote: CSS variables + one class toggle is my whole dark mode stack.
:has() feels like cheating compared to what we used to do.
Reply
Account not Activated
236 18 Oct 2026 0
#5

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

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

Users browsing this thread: 1 Guest(s)

Forum Jump: