Dark Mode Specification for Existing Product
Technical guide for implementing dark mode in a light-only product, covering all components and edge cases.
Plan and specify dark mode implementation for an existing digital product, ensuring all components, illustrations, and dynamic content render correctly in both themes.
At a glance
Access
Free prompt
Open to copy without upgrading.
Prompt objective
Plan and specify dark mode implementation for an existing digital product, ensuring all components, illustrations, and dynamic content render correctly in both themes.
Real use case
A regional food delivery platform has a restaurant partner dashboard available in light mode only. Restaurant owners who work late shifts report visual fatigue, and the dashboard's usability NPS dropped 12 points last quarter among night users.
Customize these fields first
Replace the placeholders with your own context before you run the prompt. That usually improves the first output more than adding more instructions later.
Prompt
Specify dark mode implementation for [PRODUCT NAME], currently available in light mode only. The product uses [FRAMEWORK/TECHNOLOGY] and has approximately [NUMBER] components in the design system.\\\\\\\\n\\\\\\\\n**1) Current State Audit:**\\\\\\\\n- Checklist of components requiring adaptation\\\\\\\\n- Inventory of hardcoded colors vs. existing tokens\\\\\\\\n- Assets needing alternative versions (icons, illustrations, logos)\\\\\\\\n- Dynamic content (user images, videos, embeds)\\\\\\\\n\\\\\\\\n**2) Dark Color Strategy:**\\\\\\\\n- Background layers: surface-0 (base) through surface-5 (maximum elevation)\\\\\\\\n- Elevation rule: how to represent depth without light box-shadow\\\\\\\\n- Saturation adjustment: reduce primary colors by [PERCENTAGE]%\\\\\\\\n- Semantic colors in dark mode (success, error, warning, info)\\\\\\\\n- Text: opacity hierarchy (87%, 60%, 38% on dark background)\\\\\\\\n\\\\\\\\n**3) Critical Components:**\\\\\\\\n- Inputs and forms: borders, placeholders, validation states\\\\\\\\n- Cards and containers: subtle borders vs. elevation\\\\\\\\n- Modals and overlays: backdrop opacity, surface level\\\\\\\\n- Tables: row alternation, hover, selection\\\\\\\\n- Charts and data viz: alternative palette for legibility\\\\\\\\n- Maps: dark tile layer\\\\\\\\n\\\\\\\\n**4) Edge Cases:**\\\\\\\\n- Images with white backgrounds (partner logos, screenshots)\\\\\\\\n- Rich content (embedded HTML, inline PDFs)\\\\\\\\n- Transactional emails (app dark mode not supported)\\\\\\\\n- System status bar and navigation\\\\\\\\n- Mode transition (animated or instant cut)\\\\\\\\n\\\\\\\\n**5) Implementation:**\\\\\\\\n- CSS strategy: \\\\\\\\\\\\\\\\\\\\\\\`prefers-color-scheme\\\\\\\\\\\\\\\\\\\\\\\` vs. class on \\\\\\\\\\\\\\\\\\\\\\\`<html>\\\\\\\\\\\\\\\\\\\\\\\`\\\\\\\\n- Preference persistence (localStorage + respect OS setting)\\\\\\\\n- Toggle UI: placement and switch design\\\\\\\\n- Gradual rollout: feature flag by percentage of users\\\\\\\\n- Automated testing: screenshot comparison per component\\\\\\\\n\\\\\\\\nPrioritize the [NUMBER] most-used components for the first rollout phase.
Open directly in an AI — the text is pre-filled:
How to use this prompt
- 1Replace the key placeholders first: PRODUCT NAME, FRAMEWORK/TECHNOLOGY, NUMBER, PERCENTAGE.
- 2Replace any bracketed placeholders like [this] with your own context.
- 3Add extra background information when you want more tailored results.
- 4Combine multiple prompts in one conversation when you need a richer output.
- 5Save your best-performing prompts so they are easy to reuse later.
Next best step
Open the guide first, then branch only if you still need more.
A starter guide to the first prompt categories and patterns worth using when you need better output without prompt guesswork.
If this prompt is close but not quite right, generate variants next. If the job is recurring, move into the course library after the guide.
Related prompts
View allColor System for Digital Products with WCAG AA Accessibility Compliance
Generates a complete color palette with semantic tokens, light/dark mode support, and WCAG AA compliance validation.
Best for
Define a robust, accessible color system that works across all UI contexts, reducing ad hoc decisions and ensuring visual consistency throughout the product.
Typography Hierarchy System for Responsive Web and Mobile Interfaces
Defines a complete typographic scale with fluid typography, weights, and spacing for web and mobile platforms.
Best for
Establish a typographic hierarchy that ensures readability across all resolutions, from mobile 320px to desktop 1920px, using a modular scale system.
Responsive Layout System with Grid Architecture for Complex Data Dashboards
Designs a flexible grid system for dashboards featuring cards, tables, and charts that adapt to any viewport size.
Best for
Create a layout system based on a responsive grid that organizes dense dashboard information clearly, prioritizing data hierarchy and optimal information density for each screen size.
Micro-Interaction Library for Engagement and Visual Feedback
A catalog of micro-interactions for component states, transitions, and visual feedback that elevate perceived product quality.
Best for
Design a cohesive micro-interaction system that communicates states, actions, and transitions intuitively, increasing perceived product quality.
Explore other prompt categories
Move sideways into adjacent libraries when the current category is not the full answer.
Free browsing stays open. Premium prompts unlock the reusable workflow layer.
Use the guides and role paths to validate the job first. Upgrade when you want the full prompt text, editable premium prompts, and the surrounding course paths in one place.
Free access
- Browse guides, role paths, and category pages.
- Preview prompts before you decide to upgrade.
- Find the right starting point without friction.
Membership access
- Unlock premium prompts and the full copy text.
- See more workflow paths and course connections.
- Keep the reusable templates in one place.