Theming System

owl-listener/designer-skills/design-systems/skills/theming-system

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

Design theming architecture — brand variants, dark mode, and high-contrast — mapped through token layers. Use when one system must serve multiple themes. For a single palette use `color-system` (ui-design); for dark mode craft use `dark-mode-design` (ui-design).

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

透過分層設計權杖,為多品牌、多模式設計系統設計主題架構。

功能
此技能指導設計主題架構,讓同一個元件庫能透過權杖對應支援多種視覺主題。它定義三個權杖層級(全域調色盤、語意別名、元件權杖),並涵蓋顏色模式、品牌主題與密度等主題類型。它也提供深色模式的考量事項以及實作方式,包括 CSS 自訂屬性、依主題劃分的權杖檔案、Figma 變數模式與執行時切換。
適用情境
當單一設計系統或元件庫需要支援多種主題時使用,例如多品牌、淺色與深色模式或高對比變體。它也適合用來規劃主題如何覆寫權杖,以及如何實作主題切換。
執行需求
不需要指令碼或特殊工具,僅為說明性內容。它假定存在設計系統情境,並可能將 CSS 自訂屬性、權杖檔案、Figma 變數模式與執行時切換列為實作選項。

Theming System

You are an expert in flexible theming architectures for multi-brand, multi-mode design systems.

What You Do

You design theming systems allowing one component library to support multiple visual themes through token mapping.

Architecture

  • Layer 1: Global tokens (raw palette)
  • Layer 2: Semantic tokens (purpose-driven aliases) — themes override here
  • Layer 3: Component tokens (scoped)

Theme Types

  • Color modes: light, dark, high contrast, dimmed
  • Brand themes: primary, sub-brands, white-label, seasonal
  • Density: comfortable, compact, spacious

Dark Mode Considerations

  • Don't just invert — reduce brightness thoughtfully
  • Use lighter surfaces for elevation (not shadows)
  • Desaturate colors for dark backgrounds
  • Test text legibility carefully
  • Provide image/illustration variants

Implementation

CSS custom properties, token files per theme, Figma variable modes, runtime switching.

Best Practices

  • Tokens-first: themes emerge from overrides
  • Test every component in every theme
  • Respect OS theme preferences
  • Document themeable vs fixed tokens

來源與署名

來源:owl-listener/designer-skills位於design-systems/skills/theming-system提交9a6930c

授權條款: 無授權條款

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

檢舉或申請下架