Underlith logo Underlith

W3C alignment

Underlith is aligned with the W3C Design Tokens Community Group model and terminology.

Its architecture follows the recommended separation between definition, transformation, source of truth, and consumption.

Overview of the flow

Design tools (Intent)
↓
Pipeline (Transformation)
↓
Underlith (Token Source of Truth)
↓
Application (Consumption)

This flow explicitly separates design decisions, token processing, and runtime usage, as recommended by the W3C.

1. Design tools define intent

W3C: Design Token Definition Layer

The W3C defines a design token as:

> A named entity that stores visual design attributes.

In this architecture, design tools are used only as the token definition layer.
They define intent and semantics, not implementation.

Applied principles

Conceptual example

{
  "color": {
    "brand": {
      "primary": {
      "value": "#0055FF",
      "type": "color"
      }
    }
  }
}

This directly corresponds to the W3C concept of Design Token Definitions: neutral, declarative, and decoupled from runtime concerns.

2. Pipeline transforms

W3C: Token Processing & Transformation

The W3C recommends that tokens remain independent from how they are consumed.
For this reason, transformation is an explicit intermediate step.

Pipeline responsibilities

Applied principles

Example outputs

This step corresponds to Token Processing in the W3C model.

3. Underlith centralizes tokens

W3C: Token Source of Truth

Underlith acts as the Single Source of Truth, a core concept in the W3C architecture.

A token source must be independent from any specific platform or runtime.

Underlith responsibilities

Applied principles

Typical structure

Underlith/
├── tokens.json
├── tokens.css
└── metadata.json

This layer directly maps to the W3C Token Source concept.

4. Applications consume

W3C: Token Consumption Layer

At this stage, tokens are consumed, not redefined.

The W3C states that tokens should be applied according to platform needs, without altering their meaning.

Examples of consumption

Example

.card {
  padding: var(--ul-space-4);
  background: var(--ul-color-surface);
}

Applied principles

Conclusion

Underlith follows the reference architecture defined by the W3C Design Tokens Community Group:

W3C concept Implementation
Token Definition Design tools
Token Transformation Pipeline
Token Source of Truth Underlith
Token Consumption Application

This model:

This document describes a reference architecture, not a framework-specific solution.

Underlith is a semantic foundation aligned with the W3C and designed for long-term evolution.