Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linear Mode
Member
***
209 14 Nov 2025 0
#1

Container queries changed how I build card layouts — the component adapts to its slot, not the viewport.

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

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

Would love to hear how you all handle this.
Reply
Messages In This Thread
Dark mode theming with CSS variables - by LunarLily - 10-01-2026, 01:06 AM

Users browsing this thread: 1 Guest(s)

Forum Jump: