Dark Mode Design

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

作者 owl-listener9a6930cf84a8無授權條款2.8K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫4 週前更新

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

僅含說明Design & Creative
AI 產生的概覽

指導將現有淺色調色盤調整為舒適、無障礙的深色模式設計。

功能
這項技能提供設計指引,把現有的淺色調色盤轉換成深色模式。內容涵蓋表面層級、對比度重新平衡、色彩去飽和、文字與邊框處理、圖片與媒體處理,以及對比度和 prefers-color-scheme 等無障礙考量。它產出的是設計規則與建議,而不是檔案或程式碼。
適用情境
當你已經有淺色調色盤,需要把它調整到深色模式介面時使用。它適合深色主題的表面、色彩與無障礙設計工作,不適合從頭建立基礎調色盤。
執行需求
不需要任何工具、套件或憑證;僅為說明性內容,不附帶指令碼。

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

來源與署名

來源:owl-listener/designer-skills位於ui-design/skills/dark-mode-design提交9a6930c

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架