Foundation

Color

The color system of the illog design system — Primitive, Light/Dark semantic colors

Overview

illog's color system is composed of two layers:

  1. Primitive Colors — Raw color palette (brand, grayscale, semantic colors)
  2. Semantic Colors — Purpose-specific theme colors (Light/Dark)

Primitive Colors

The base palette, intended to be used as the source values for semantic tokens rather than applied directly.

90 tokens
TokenValuePreview

Semantic Colors (Light Theme)

Tokens assigned meaning according to their intended use. Values automatically switch between Light and Dark themes.

69 tokens
TokenValuePreview

Dark Theme

In the Dark theme, the same token names are mapped to different values.

69 tokens
TokenValuePreview

Usage

import { tokens } from '@illog/themes'
 
// Accessing Primitive colors
tokens.colors.primitive.brand[1000] // '#1a1a1a'
tokens.colors.primitive.gray[500]   // '#737373'
 
// Accessing Semantic colors (per theme)
tokens.colors.light.bgDefaultDefault  // primitive.white[1000]
tokens.colors.dark.bgDefaultDefault   // primitive.gray[900]

You can also use CSS variables — importing @illog/themes/themes.css injects all tokens as CSS custom properties on :root.