SR
Steven Richardson
About Articles. Skills Tools
Articles › dark-mode
TAG ARCHIVE

Everything on dark-mode.

1 article tagged dark-mode — sorted newest first.

tailwind May 14th, 2026

Tailwind CSS v4 Dark Mode in Laravel — CSS-First with @custom-variant

Tailwind v4 killed tailwind.config.js. This walkthrough wires class-based dark mode end-to-end — @custom-variant in app.css, @theme tokens, an Alpine toggle, and a tiny inline script that kills the white flash on first paint.

11 min read →
← Back to all articles
SR
Steven Richardson

CTO at Digitonic. Writing notes on Laravel, architecture, and the craft of leading software teams — from the west coast of Scotland.

Site

Home About Articles Skills Tools

Elsewhere

GitHub LinkedIn X RSS
© 2026 Steven Richardson Built with Laravel + Tailwind