light theme
A thoughtful interface
Reusable roles keep interface decisions connected across themes and components.
Interactive design system tool
Collect color, typography, and shadow decisions into one editable token set. Changes stay in this browser tab and are not sent to a server or saved automatically.
Names use lowercase words separated by dots or hyphens. Values accept a small, safe set of CSS color, size, and shadow syntax.
These cards demonstrate matching light and dark roles. A shadow’s appearance depends on the surface behind it.
light theme
Reusable roles keep interface decisions connected across themes and components.
dark theme
Reusable roles keep interface decisions connected across themes and components.
Both outputs are generated from the same schema. Rows with errors are omitted until corrected.
:root {
/* color */
--color-surface-light: #ffffff;
--color-text-light: #172033;
--color-surface-dark: #172033;
--color-text-dark: #f8fafc;
--color-surface-page: var(--color-surface-light);
/* typography */
--type-body: 1rem;
--type-heading: clamp(1.75rem, 3vw + 1rem, 3rem);
/* shadow */
--shadow-card: 0 12px 30px rgb(15 23 42 / 0.14);
}{
"schemaVersion": 1,
"tokens": [
{
"name": "color.surface.light",
"type": "color",
"value": "#ffffff"
},
{
"name": "color.text.light",
"type": "color",
"value": "#172033"
},
{
"name": "color.surface.dark",
"type": "color",
"value": "#172033"
},
{
"name": "color.text.dark",
"type": "color",
"value": "#f8fafc"
},
{
"name": "color.surface.page",
"type": "color",
"value": "{color.surface.light}",
"aliasOf": "color.surface.light"
},
{
"name": "type.body",
"type": "typography",
"value": "1rem"
},
{
"name": "type.heading",
"type": "typography",
"value": "clamp(1.75rem, 3vw + 1rem, 3rem)"
},
{
"name": "shadow.card",
"type": "shadow",
"value": "0 12px 30px rgb(15 23 42 / 0.14)"
}
]
}A token is a named value that can be reused in an interface. This tool supports three v1 types: color values, typography sizes, and box shadows. Names such as color.surface.light are semantic labels; CSS exports convert their dots to hyphens in custom property names.
Use a primitive token for a concrete value, then use the optional alias selector when another role should reference it. The JSON is UIWorkbench’s simple versioned token schema. It is not a claim of compatibility with the Design Tokens Community Group format.
Start with values from the OKLCH Palette, Modular Scale Generator, Box Shadow Generator, or CSS Clamp Calculator by copying and pasting them here. This page cannot read another tool’s browser state automatically. See the Design Tokens Guide for primitive and semantic token naming guidance.
clamp() size.none or a box-shadow with up to four lengths and an optional color.Exports include rows that currently validate. Invalid rows stay editable with an inline explanation and are left out of both outputs until fixed. Token values stay in page memory only: this tool does not save them to local storage, add them to the URL, or send them to an analytics endpoint.