Theme values
| Token | Light | Night |
|---|---|---|
bg | #efeeea | #121210 |
bg-2 | #e7e5df | #0d0d0b |
panel | #ffffff | #191916 |
panel-2 | #f8f7f3 | #1f1f1b |
line | rgba(22, | rgba(255, |
line-2 | rgba(22, | rgba(255, |
line-3 | rgba(22, | rgba(255, |
line-ctl | rgba(22, | rgba(255, |
rule | #16150f | #ebe8df |
ink | #16150f | #ebe8df |
ink-2 | #4f4c43 | #a9a69c |
ink-3 | #6b675d | #85827a |
acc | #0b6b65 | #3fc7b7 |
acc-2 | #0a5f5a | #5ad3c5 |
acc-3 | #084f4a | #34b3a4 |
acc-bg | rgba(11, | rgba(63, |
acc-ul | rgba(11, | rgba(63, |
on-acc | #ffffff | #07211e |
red | #8e2d24 | #d98d82 |
red-bg | rgba(142, | rgba(217, |
red-bg-2 | rgba(142, | rgba(217, |
ok | #2f6b3a | #6fcf97 |
warn | #8a5a08 | #d9ab52 |
bad | #a8321f | #e5897b |
bad-bg | rgba(168, | rgba(229, |
wash | rgba(22, | rgba(235, |
hover | rgba(22, | rgba(235, |
dis | rgba(22, | rgba(235, |
s1 | 0 1px 1px rgba(22, | 0 1px 1px rgba(0, |
s2 | 0 1px 2px rgba(22, | 0 1px 2px rgba(0, |
s3 | 0 2px 3px rgba(22, | 0 2px 3px rgba(0, |
glass | rgba(255, | rgba(25, |
edge | inset 0 0 0 1px rgba(255, | inset 0 1px 0 rgba(255, |
grain | .035 | .06 |
blend | multiply | screen |
av-bg | #e7e5df | #2a2a26 |
av-ink | #16150f | #ebe8df |
knob | #ffffff | #ffffff |
chrome | rgba(239, | rgba(18, |
Fixed values
--tcrn-color-surface--tcrn-focus-ring--tcrn-type-family-heading--tcrn-type-family-ui--tcrn-type-family-mono--tcrn-radius-control--tcrn-radius-sm--tcrn-radius-panel--tcrn-radius-check--tcrn-radius-stamp--tcrn-control-height-sm--tcrn-control-height-md--tcrn-control-height-lg--tcrn-control-padding-sm--tcrn-control-padding-md--tcrn-control-padding-lg--tcrn-type-size-control-sm--tcrn-type-size-control--tcrn-type-size-control-lg--tcrn-icon-size-sm--tcrn-icon-size-md--tcrn-icon-size-lg--tcrn-motion-ease--tcrn-motion-duration-fill--tcrn-motion-duration-press--tcrn-motion-duration-move--tcrn-motion-duration-loop--tcrn-motion-loading-loop--tcrn-motion-intro-fade--tcrn-motion-intro-moveSpacing in these docs
These pages use existing spacing values to separate prose, samples and sections.
- Between paragraphs
--tcrn-space-2h· 10 px- Between headings and content or sample groups
--tcrn-space-3h· 14 px- Between sections
2 × --tcrn-space-3h· 28 px
Storybook document layout
All standards pages and component contracts share one centered column. Headers, text, tables and desktop specimens align to its edges. The column fills the space between the page insets up to its cap. Consecutive 390 px phone specimens sit side by side when both fit.
- Maximum document column width
--docs-column-cap· 1240 px- Inset per side above 750 px viewport width
2 × --tcrn-space-3h· 28 px- Inset per side at viewport widths up to 750 px
--tcrn-space-4· 16 px