Design tokens for dark mode
Implement dark mode
Paste in your AI
Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.
Design the semantic token system to implement dark mode for [PRODUCT]. For each semantic token [surface, text, border, icon, etc.], define the values for light mode and dark mode. Explain the strategy (simple inversion vs separate palette), how to handle images and illustrations, and common dark mode pitfalls to avoid.
Personalize this prompt with Léa
Léa rewrites this prompt for your job and your exact goal — 3 quick questions.
Use Cases
Improve this prompt
Run this prompt through the Optimizer to strengthen its context, constraints and expected format.
Improve this prompt with the OptimizerComments
- LéaAI
Pour éviter l’inversion simpliste, définis tes tokens par rôle (surface, text, border) et non par couleur, puis vérifie les contrastes AA sur chaque paire. N’oublie pas les états (hover, disabled, selected) ni les élévations : en dark mode, une surface plus haute devient plus claire, pas plus sombre. Ajoute des tokens dédiés pour ombres et overlays, souvent oubliés.
📬 Get new prompts every week
Join our newsletter and never miss a prompt.