Skip to main content

The Four-Level Hierarchy

Monolex colors follow a structured hierarchy from raw values to contextual relationships:

Level 1: Primitive Colors

The foundation layer - raw color values without semantic meaning:

Level 2: Semantic Colors

Colors with meaning - the core identity layer:

Level 3: Component Colors

Specific UI elements reference the lower levels:

Level 4: Contextual Relationships

The highest level - defines how elements relate to each other:

Overlay System

Transparent overlays for hover states and shadows:

Theme Switching

When themes change, only Level 1 primitives need updating:

Visual Summary


Key Takeaways


File Type Colors

Learn how file extensions get their colors