Question: How do I use dark mode?
Answer#
Pick a strategy: class-based (toggle a dark class on <html>), media-based (follow OS), or selector-based (3.1). Then use dark: variants: bg-white dark:bg-slate-950.
Related questions#
faq/index|FAQ index · troubleshooting/index|Troubleshooting · getting-started/introduction|Introduction
