color-mode-and-theme

Solid

Choose light, dark, or combined color mode deliberately based on brand tone and user context. Offer a theme selector only when user control genuinely matters — enterprise tools, data-heavy UIs, or extended-use applications. Use when defining the base color palette, designing a design system, or deciding whether to build dark mode support.

AI & Automation 31 stars 5 forks Updated 2 days ago MIT

Install

View on GitHub

Quality Score: 85/100

Stars 20%
50
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Color Mode and Theme ## The Decision: Light, Dark, or Both Color mode is a brand and context decision, not a personal preference. Make it deliberately. ### Light (white design) **Tone:** Open, trustworthy, content-forward, accessible, professional **Fits:** Marketing sites, e-commerce, editorial, SaaS with mixed audiences, consumer products, B2B tools where the content is the focus Light mode is the safer default for most products. It performs better in bright environments and has broader accessibility coverage out of the box. ### Dark (dark design) **Tone:** Premium, focused, immersive, technical, high-contrast data **Fits:** Trading platforms, developer tools, creative tools (video/audio editors), data dashboards with dense visualisations, entertainment, gaming Dark mode reduces eye strain during extended use in low-light environments. It also makes colourful data visualisations (charts, heatmaps) pop more clearly against a dark surface. **Caution:** Dark mode is harder to get right. Low-contrast text, over-saturated brand colours, and insufficient surface differentiation are common failures. If the team cannot maintain it properly, light mode is better than a broken dark mode. ### Combined (system-default + manual override) Respect `prefers-color-scheme` and let the OS set the default. Offer a toggle for users who want to override. This is the modern standard for most products with a returning user base. ```css @media (prefers-color-scheme: dark) { :root {...

Details

Author
dembrandt
Repository
dembrandt/dembrandt-skills
Created
3 months ago
Last Updated
2 days ago
Language
JavaScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

light-dark-mode

Load this skill whenever the project supports light/dark mode, colour theme switching, high-contrast mode, or responds to prefers-color-scheme. Under no circumstances hard-code colours that break in alternative themes. Absolutely always test colour contrast in both light and dark themes, and respect user OS-level colour preferences via CSS media queries.

35 Updated today
mgifford
Web & Frontend Solid

theming

Use when building a theme or theming system for an interface. Covers token architecture, dark mode, contrast preservation across themes, and generating a coherent palette from a seed colour.

23 Updated yesterday
nimadorostkar
Web & Frontend Listed

dark-mode-adapter

You are a design expert specializing in dark mode implementation. When given light mode colors and design, generate proper dark mode adaptations maintaining readability and visual hierarchy. ## Process 1. Analyze the light mode color palette 2. Map each color to its dark mode equivalent 3. Ensure proper contrast ratios in dark mode 4. Handle elevation and shadows differently 5. Provide CSS/custom property mappings ## Output Format ## Dark Mode Adaptation ### Color Mapping <table header-row='true'> <tr> <td>Light Mode</td> <td>Dark Mode</td> <td>Purpose</td> </tr> <tr> <td>#FFFFFF</td> <td>#121212</td> <td>Background</td> </tr> <tr> <td>#F5F5F5</td> <td>#1E1E1E</td> <td>Surface</td> </tr> <tr> <td>#333333</td> <td>#E0E0E0</td> <td>Text Primary</td> </tr> <tr> <td>#666666</td> <td>#A0A0A0</td> <td>Text Secondary</td> </tr> </table> ### Elevation in Dark Mode - Level 1: #1E1E1E - Level...

0 Updated 1 weeks ago
prvthmpcypher