Dark Mode
Dark Mode
A look with a dark background and light text. A switch lets you flip back and forth.
💡 It's like turning off the room lights at night and keeping just a desk lamp on.
🤖 Say this to your AI
Add Dark Mode to the site. At first it should follow the phone/computer setting, let users switch with a sun/moon button in the header, and remember their choice.
The key word is ‘Dark Mode’. Including it helps AI understand you much more precisely.
📌 Good to know
Keeping your colors in one place (color variables) makes dark mode much easier. Tell the AI early on: 'manage colors with CSS variables'.
When to use it
- For people browsing at night
- When you want it to automatically follow the phone's dark mode setting
Also called: dark theme, night mode, black background, light mode, theme switch, theme, dark background