PluginBench
Skill
Pass
Audit score 90

dark-mode-design

owl-listener/designer-skills

Adapt light palettes to dark mode with surface elevation, contrast rules, and desaturation.

What is dark-mode-design?

Transforms an existing light color palette into a polished dark mode design by applying surface hierarchy, contrast rebalancing, and desaturation principles. Use this after establishing your base color system to create a complementary dark experience that reduces eye strain and maintains accessibility.

  • Apply surface elevation hierarchy using lighter shades instead of shadows
  • Desaturate primary and accent colors 10–20% for dark backgrounds
  • Rebalance contrast ratios (4.5:1 minimum) for readability on dark surfaces
  • Adapt images, illustrations, and logos for dark-on-light visibility
  • Implement semantic color tokens for seamless light/dark mode switching
  • Respect prefers-color-scheme and provide manual toggle controls

How to install dark-mode-design

npx skills add https://github.com/owl-listener/designer-skills --skill dark-mode-design
Prerequisites
  • An existing light color palette or design system
  • Familiarity with contrast ratios and WCAG accessibility standards
  • Access to color testing tools or browser DevTools
Claude Code
Cursor
Windsurf
Cline

How to use dark-mode-design

  1. 1.Start with your finalized light palette and document current color values
  2. 2.Define your dark mode surface hierarchy (background, surface 1–3 levels)
  3. 3.Reduce saturation of primary and accent colors by 10–20%
  4. 4.Rebalance text and border colors for dark backgrounds (e.g., #E0E0E0 for body text)
  5. 5.Test contrast ratios for all text and interactive elements (minimum 4.5:1)
  6. 6.Create dark variants of images, illustrations, and logos
  7. 7.Implement CSS custom properties or design tokens for both modes
  8. 8.Test mode switching with prefers-color-scheme and manual toggles

Use cases

Good for
  • Converting a completed light UI design to a dark mode variant
  • Establishing a dark surface hierarchy for a multi-theme design system
  • Adjusting brand colors and imagery for dark background contexts
  • Ensuring WCAG contrast compliance across dark mode components
  • Testing and refining dark mode transitions in production interfaces
Who it's for
  • UI/UX designers building multi-theme systems
  • Product teams implementing dark mode support
  • Design system maintainers
  • Frontend developers implementing design tokens
  • Accessibility-focused design practitioners

dark-mode-design FAQ

Should I just invert my light palette colors?

No. Inversion creates poor contrast and eye strain. Instead, redesign surfaces thoughtfully using a hierarchy of dark shades, desaturate colors, and rebalance contrast for readability.

What text color should I use in dark mode?

Use off-white like #E0E0E0 rather than pure white (#FFFFFF) to reduce eye strain. Pair with sufficient contrast against your background.

How do I handle images and media in dark mode?

Dim images slightly, provide dark-variant illustrations, create light-on-dark logo versions, and avoid large bright areas that clash with dark backgrounds.

What contrast ratio do I need for dark mode?

Maintain a minimum 4.5:1 contrast ratio for body text and interactive elements, same as light mode, to meet WCAG AA standards.

Should I auto-detect dark mode or let users choose?

Use both: respect the prefers-color-scheme media query for auto-detection, but always provide a manual toggle so users can override system preferences.

Full instructions (SKILL.md)

Source of truth, from owl-listener/designer-skills.


name: dark-mode-design description: Adapt an existing palette to dark mode — surface elevation, contrast rebalancing, and desaturation rules. Use when you already have a light palette to translate. For building the base palette first, use color-system.

Dark Mode Design

You are an expert in designing dark mode interfaces that are comfortable, accessible, and polished.

What You Do

You design dark mode experiences that go beyond simple color inversion.

Core Principles

  • Reduce overall luminance to decrease eye strain
  • Use surface elevation through lighter shades (not shadows)
  • Desaturate bright colors for dark backgrounds
  • Maintain sufficient contrast for readability

Surface Hierarchy (Dark Mode)

  • Background: darkest (e.g., #121212)
  • Surface 1: slightly lighter (elevated cards)
  • Surface 2: lighter again (modals, dropdowns)
  • Surface 3: lightest dark (tooltips, menus)

Color Adaptation

  • Primary colors: reduce saturation 10-20%
  • Error/warning: adjust for dark background contrast
  • Text: off-white (#E0E0E0) not pure white (#FFFFFF)
  • Borders: subtle, low-opacity white

Images and Media

  • Consider dimming images slightly
  • Provide dark-variant illustrations
  • Logos may need light-on-dark versions
  • Avoid large bright areas in imagery

Accessibility in Dark Mode

  • Minimum 4.5:1 contrast for body text
  • Test with screen readers (mode announcements)
  • Respect prefers-color-scheme media query
  • Provide manual toggle alongside auto-detection

Best Practices

  • Don't just invert — redesign surfaces thoughtfully
  • Test in actual dark environments
  • Check every component in dark mode
  • Smooth transitions between modes
  • Use semantic tokens for effortless switching