Skip to content

Guide

Design tokens

The raw material of the system, rendered from the same stylesheet you install. The reference below is generated from the library's tokens.css at build time, so it cannot drift.

01 · Light

Giấy & Mực

Colour

bg

surface

tint

ink

ink-muted

line

accent

accent-2

danger

success

Type scale

xs · Làm tay, phơi nắng

sm · Làm tay, phơi nắng

md · Làm tay, phơi nắng

lg · Làm tay, phơi nắng

xl · Làm tay, phơi nắng

2xl · Làm tay, phơi nắng

3xl · Làm tay, phơi nắng

4xl · Làm tay, phơi nắng

Print shadows

sm
md
lg
pressed

Radius

sm
md
lg
full

02 · Dark

Giấy & Mực

Colour

bg

surface

tint

ink

ink-muted

line

accent

accent-2

danger

success

Type scale

xs · Làm tay, phơi nắng

sm · Làm tay, phơi nắng

md · Làm tay, phơi nắng

lg · Làm tay, phơi nắng

xl · Làm tay, phơi nắng

2xl · Làm tay, phơi nắng

3xl · Làm tay, phơi nắng

4xl · Làm tay, phơi nắng

Print shadows

sm
md
lg
pressed

Radius

sm
md
lg
full

Colour

TokenLightDark
--gu-bg#f3eee3#14110c
--gu-surface#fbf8f1#1e1a13
--gu-tint#e9e1cf#2a251b
--gu-ink#18150f#f1ebdc
--gu-ink-muted#625c4f#a59d8a
--gu-line#d8cfbb#3c3628
--gu-accent#2b3f8f#8c9eea
--gu-accent-ink#fbf8f1#14110c
--gu-accent-2#c98a1b#e0a53a
--gu-accent-2-ink#18150f#14110c
--gu-danger#a8321f#f08a74
--gu-success#2f6b3a#7fc08a
--gu-scrimrgb(24 21 15 / 0.55)rgb(0 0 0 / 0.65)
--gu-bordervar(--gu-ink)same
--gu-focus-ringvar(--gu-accent)same

Typography

TokenValue
--gu-font-display"Familjen Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif
--gu-font-body"Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif
--gu-font-mono"Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace
--gu-text-xs0.75rem
--gu-text-sm0.875rem
--gu-text-md1rem
--gu-text-lg1.25rem
--gu-text-xl1.5625rem
--gu-text-2xl1.9375rem
--gu-text-3xl2.4375rem
--gu-text-4xl3.0625rem
--gu-leading-tight1.05
--gu-leading-snug1.3
--gu-leading-normal1.6
--gu-weight-regular400
--gu-weight-medium500
--gu-weight-bold700
--gu-tracking-display-0.03em
--gu-tracking-label0.2em

Space

TokenValue
--gu-space-10.25rem
--gu-space-20.5rem
--gu-space-30.75rem
--gu-space-41rem
--gu-space-51.5rem
--gu-space-62rem
--gu-space-73rem
--gu-space-84rem

Shape

TokenValue
--gu-radius-sm2px
--gu-radius-md4px
--gu-radius-lg8px
--gu-radius-full999px
--gu-border-width1.5px
--gu-line-width1px

Shadow

TokenValue
--gu-shadow-colorvar(--gu-ink)
--gu-shadow-sm2px 2px 0 var(--gu-shadow-color)
--gu-shadow-md3px 3px 0 var(--gu-shadow-color)
--gu-shadow-lg5px 5px 0 var(--gu-shadow-color)
--gu-shadow-pressed1px 1px 0 var(--gu-shadow-color)

Layers

TokenValue
--gu-z-overlay50
--gu-z-popup60

Motion

TokenValue
--gu-duration-fast120ms
--gu-duration-base200ms
--gu-duration-slow360ms
--gu-ease-standardcubic-bezier(0.2, 0, 0, 1)
--gu-ease-stampcubic-bezier(0.3, 1.4, 0.5, 1)
--gu-focus-width2px
--gu-focus-offset2px