Task prompt · Websites & Apps
Add dark mode to my website
by Agent Yard TeamRespect system settings with a toggle.
Use cases
- Respect system settings with a toggle.
- Reuse it as often as you like: fill in the blanks (stack) with new details and copy again.
- With Cursor, Claude Code, Codex and more, the AIs that support what this prompt needs.
Featured in: Best Cursor prompts for building websites, Best ChatGPT prompts for websites.
How to use it
- Open Cursor or Claude Code in your terminal (or another AI listed here).
- Fill in the highlighted blank ([STACK]) below, or edit them after pasting.
- Copy the prompt, paste it into the chat and send.
Fill in the blanks (optional)
Prompt
Add dark mode to my site ([STACK]): CSS variables for colors, prefers-color-scheme default, a toggle that remembers the choice, no flash on load, and accessible contrast in both themes.
One email a week
The Weekly is presented byyour brandSponsored · openThe best new prompts and personas, nothing else.