Dark Mode Design

owl-listener/designer-skills/ui-design/skills/dark-mode-design

by owl-listener9a6930cf84a8No license2.8K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 4 weeks ago

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`.

Instructions onlyDesign & Creative
AI-generated overview

Guides adapting an existing light color palette into an accessible, comfortable dark mode design.

What it does
This skill provides design guidance for translating an existing light palette into dark mode. It covers surface elevation hierarchy, contrast rebalancing, color desaturation, text and border treatment, image and media handling, and accessibility considerations such as contrast ratios and prefers-color-scheme. It produces design rules and recommendations rather than files or code.
When to use it
Use it when you already have a light palette and need to adapt it for dark mode interfaces. It fits design work on surfaces, colors, and accessibility for dark themes, not for creating a base palette from scratch.
Requirements
No tools, packages, or credentials are needed; it is instructions only and ships no scripts.

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

Source and attribution

Source:owl-listener/designer-skillsinui-design/skills/dark-mode-designat commit9a6930c

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal