theming

Solid

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.

Web & Frontend 23 stars 2 forks Updated today MIT

Install

View on GitHub

Quality Score: 84/100

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

Skill Content

# Theming ## Purpose Build themes that remain readable and coherent when switched. Dark mode is not an inversion; a palette that works on white will not work on black without being redesigned, and inverting it produces the vibrating, exhausting interfaces that dark mode is criticized for. ## When to Use - Adding dark mode to an interface. - Building a multi-theme or white-label system. - Generating a palette from a brand colour. - Fixing a theme where contrast breaks in one mode. ## Capabilities - Semantic token architecture that supports theme switching. - Dark-mode design (as opposed to inversion). - Palette generation with perceptually uniform colour spaces. - Contrast verification across every theme. - Respecting system preference and user override. ## Inputs - The base palette or the seed colour. - The themes required: light, dark, high-contrast, per-brand. - Accessibility requirements. ## Outputs - Semantic tokens that resolve differently per theme. - Every theme passing contrast requirements. - A switch that respects the system preference and remembers an override. ## Workflow 1. **Build on semantic tokens** — Components reference `--color-surface`, never `--grey-900`. Only the semantic layer changes between themes; components do not change at all. 2. **Design the dark theme, do not invert it** — Pure black is harsh and causes halation with white text. Use a very dark grey. Desaturate the accents: a colour that is vivid on white is glaring on dark. 3. **Pre...

Details

Author
nimadorostkar
Repository
nimadorostkar/Claude-Skills-collection
Created
1 weeks ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category