Skip to content
Theme
endue.ai

Reference

Tokens

All 212 tokens with their values in both themes. The files below are what a product reads.

Files

  • /design/tokens.json

    The source of the values. Each token has a name, a value or a light and dark pair, and a usage note.

  • /design/tokens.css

    Colors, spacing, corner radius and shadow as CSS custom properties. Light is the default, and dark applies under data-theme="dark".

  • /design/components.css

    Static component styles that read the tokens.

Values were last synced on 2026-11-15. A value in braces in the JSON file, such as{primary}, points at another token. The tables below show the resolved value.

Color

Fill and star

TokenLight, then darkUse
primary#17151f#f3f1ecThe fill. Primary button, toggle that is on, send button, progress bar. One filled button per group. Never for a selected state (selection is accent).
primary-hover#2f2c3a#dcd8cfHover of the primary fill. One step lighter ink in light, one step darker paper in dark.
primary-foreground#ffffff#1c1a17Text and icons on the primary fill. White in light, ink in dark.
primary-text#17151f#f3f1ecThe same ink as foreground. Brand text is not set apart by color. Links are set apart by an underline.
primary-subtle#f5f4f7#23211eAlias of muted. Do not use it in new code. Use muted instead.
primary-soft#efedf2#35322dAlias of accent. Do not use it in new code. Use accent instead.
primary-border#e9e7ed#32302bAlias of border. Do not use it in new code. Use border instead.
star#7b6cf0#b6a3f5Color of the star that shows an agent is working. Used only by the Star component. Never on buttons, text, surfaces, borders or badges. At least 3:1 on background, card and muted.
send#17151f#f3f1ecFill of the composer send button. Alias of primary.
send-foreground#ffffff#1c1a17Icon on the send fill.

Surfaces

TokenLight, then darkUse
background#ffffff#141311Page background.
card#ffffff#1d1c19Surface of cards, panels and modals.
popover#ffffff#2a2824Surface of floating layers (menus, popovers, hover cards). Used with a 1px border and shadow-md.
muted#f5f4f7#23211eRecessed surface, tracks and the neutral badge surface. Never a hover surface (hover is accent).
composer#ffffff#1d1c19Surface of the chat composer (Composer). Same value as card. The composer is a floating surface with a 1px border and shadow-sm.
accent#efedf2#35322dHover and selection surface. Selected tabs, chips and rows, and your own bubble. The only token for this.
secondary#efedf2#2a2824Secondary fill surface.
tooltip#17151f#403d37Tooltip surface.
tooltip-foreground#f3f1ecText on the tooltip surface (15.04:1 in light, 9.67:1 in dark).

Text

TokenLight, then darkUse
foreground#17151f#f3f1ecBody text. At least 4.5:1 on all five surfaces (background, card, muted, accent, popover).
muted-foreground#696573#b3afa5Secondary text. The lightest text step. Do not use opacity to make text fainter. At least 4.5:1 on the five surfaces. Not used inside status soft surfaces (*-soft).
accent-foreground#17151f#f3f1ecText on the accent surface.
secondary-foreground#17151f#f3f1ecText on the secondary surface.
card-foreground#17151f#f3f1ecText on the card surface. Alias of foreground.
popover-foreground#17151f#f3f1ecText on the popover surface. Alias of foreground.

Status

TokenLight, then darkUse
successoklch(0.595 0.17 163)#4caf50Fill, dot and border for done and success. Never a text color (2:1 to 3:1 on light surfaces). Text and icons use success-text.
success-foreground#17151f#1c1a17Text on the success fill (ink in both themes).
success-text#006c44#5dbe5fDone and success text and icons on neutral surfaces (background, card, muted, popover) and on the success-soft surface. At least 4.5:1.
success-softoklch(0.595 0.17 163 / 0.12)rgba(76, 175, 80, 0.12)Soft surface for done and success (badge, Callout). Placed only on card, popover and background (never on accent). Text inside is success-text or foreground. Formula: color-mix(success 12%, transparent).
success-borderoklch(0.595 0.17 163 / 0.3)rgba(76, 175, 80, 0.34)Soft border for done and success. Formula: color-mix(success 30% / dark 34%, transparent).
warningoklch(0.75 0.17 70)#ff9800Fill, dot and border for warnings. Never a text color (2:1 to 3:1 on light surfaces). Text and icons use warning-text.
warning-foreground#17151f#1c1a17Text on the warning fill (ink in both themes).
warning-text#925000#ff9800Warning text and icons on neutral surfaces (background, card, muted, popover) and on the warning-soft surface. At least 4.5:1.
warning-softoklch(0.75 0.17 70 / 0.12)rgba(255, 152, 0, 0.12)Soft surface for warnings (badge, Callout). Placed only on card, popover and background (never on accent). Text inside is warning-text or foreground. Formula: color-mix(warning 12%, transparent).
warning-borderoklch(0.75 0.17 70 / 0.3)rgba(255, 152, 0, 0.34)Soft border for warnings. Formula: color-mix(warning 30% / dark 34%, transparent).
infooklch(0.65 0.15 245)#5b9bf5Fill, dot and border for information. Never a text color (2:1 to 3:1 on light surfaces). Text and icons use info-text.
info-foreground#17151f#1c1a17Text on the info fill (ink in both themes).
info-text#005fa3#6cadffInformation text and icons on neutral surfaces (background, card, muted, popover) and on the info-soft surface. At least 4.5:1.
info-softoklch(0.65 0.15 245 / 0.12)rgba(91, 155, 245, 0.12)Soft surface for information (badge, Callout). Placed only on card, popover and background (never on accent). Text inside is info-text or foreground. Formula: color-mix(info 12%, transparent).
info-borderoklch(0.65 0.15 245 / 0.3)rgba(91, 155, 245, 0.34)Soft border for information. Formula: color-mix(info 30% / dark 34%, transparent).
destructiveoklch(0.577 0.245 27.325)oklch(0.704 0.191 22.216)Fill, dot and border for destructive actions and errors. Never a text color (2:1 to 3:1 on light surfaces). Text and icons use destructive-text.
destructive-foreground#ffffff#1c1a17Text on the destructive fill (white in light, ink in dark. White on the dark fill is 2.89:1).
destructive-text#b80012#ff8484Destructive action and error text and icons on neutral surfaces (background, card, muted, popover) and on the destructive-soft surface. At least 4.5:1.
destructive-softoklch(0.577 0.245 27.325 / 0.12)oklch(0.704 0.191 22.216 / 0.12)Soft surface for destructive actions and errors (badge, Callout). Placed only on card, popover and background (never on accent). Text inside is destructive-text or foreground. Formula: color-mix(destructive 12%, transparent).
destructive-borderoklch(0.577 0.245 27.325 / 0.3)oklch(0.704 0.191 22.216 / 0.34)Soft border for destructive actions and errors. Formula: color-mix(destructive 30% / dark 34%, transparent).
destructive-hover#ce030d#fe7577Hover of the destructive filled button. Computed value of color-mix(in srgb, destructive 88%, foreground).

Space status and live

TokenLight, then darkUse
status-active#3ba290#5fd0beDot and border for the "In progress" status in Space. Text uses status-active-text.
status-active-softrgba(95, 208, 190, 0.16)rgba(95, 208, 190, 0.12)Soft surface for "In progress".
status-active-text#1e6e61#5fd0be"In progress" text on status-active-soft and neutral surfaces.
status-autonomous#b97e2f#e0a458Dot and border for the "Autonomous" status in Space.
status-autonomous-softrgba(224, 164, 88, 0.18)rgba(224, 164, 88, 0.14)Soft surface for "Autonomous".
status-attention#c4536e#e0738aDot and border for the "Needs attention" status in Space. For status information only. Destructive actions and errors use destructive.
status-attention-softrgba(224, 115, 138, 0.16)rgba(224, 115, 138, 0.14)Soft surface for "Needs attention" (attention badge, Callout). Text inside is status-attention-text or foreground.
status-attention-text#a13a54#fa8aa1"Needs attention" text on status-attention-soft, card and background. In light, do not place it on muted (4.4986:1).
on-air#e0244a#ff3b5cDot and border of the ON AIR badge (live on endue.live). Not a status color. Never for destructive actions or errors. At least 3:1 on background and card.
on-air-text#a3122f#ffe3e8ON AIR text on the on-air-soft surface (6.22:1 in light, 12.28:1 in dark).
on-air-softrgba(224, 36, 74, 0.12)rgba(255, 59, 92, 0.12)Surface of the ON AIR badge. Formula: color-mix(on-air 12%, transparent).
on-air-glowrgba(0, 0, 0, 0)rgba(255, 59, 92, 0.45)Neon glow of ON AIR. Visible only in dark (transparent in light, where it looks like a smudge on a bright surface). Formula in dark: color-mix(on-air 45%, transparent).

Lines and controls

TokenLight, then darkUse
border#e9e7ed#32302bDividers and card borders (decorative). Never the only boundary of a control. Input borders use input.
input#86828f#858177For input borders only (at least 3:1 on the five surfaces). Never a background.
ring#17151f#f3f1ecFocus ring and selection outline. Ink (paper in dark).
control-off#86828f#858177Track of a toggle that is off. Alias of input.
control-thumb#ffffffThumb of a toggle that is off (3.80:1 on control-off).
control-thumb-on#ffffff#1c1a17Thumb of a toggle that is on (4.11:1 on the primary track).

Overlays

TokenLight, then darkUse
overlay-scrimrgba(23, 21, 31, 0.40)rgba(0, 0, 0, 0.60)Scrim behind a modal. Used with overlay-blur (8px).
overlay-scrim-strongrgba(0, 0, 0, 0.75)Strong scrim (voice modal, lightbox).
overlay-scrim-faintrgba(0, 0, 0, 0.05)Very faint scrim.

Charts

TokenLight, then darkUse
chart-1#6b4f9e#9683d3Chart category 1. In the lavender family. Points to its value directly so it does not follow primary-text.
chart-2oklch(0.65 0.17 165)#00ae75Chart category 2. Below 3:1 on a white surface in light, so pair it with direct labels or a table.
chart-3#eda100#ca8000Chart category 3. Below 3:1 on a white surface in light, so pair it with direct labels or a table.
chart-4oklch(0.59 0.24 305)oklch(0.65 0.24 305)Chart category 4.
chart-5oklch(0.65 0.22 20)#f74a5dChart category 5.
chart-6#0e8f9e#009facChart category 6.
chart-7#eb6834#d95926Chart category 7.
chart-8#2a78d6#3987e5Chart category 8.
chart-9#008300Chart category 9 (same value in both themes).
chart-10#d45c91#d55181Chart category 10.
chart-seq#6b4f9e#b6a3f5Base color of the sequential ramp, which shades a single color. In the lavender family.

Code

TokenLight, then darkUse
code-surfacergba(23, 21, 31, 0.06)rgba(243, 241, 236, 0.06)Code block surface. Placed on background, card, muted and popover (never on accent). Formula: color-mix(in oklch, foreground 6%, transparent).
code-comment#696573#b3afa5Code comments (italic).
code-punctuationrgba(23, 21, 31, 0.65)rgba(243, 241, 236, 0.65)Code punctuation and operators. Formula: color-mix(in oklch, foreground 65%, transparent).
code-keyword#6b4f9e#b6a3f5Code keywords. In the lavender family. Points to its value directly so it does not follow primary-text.
code-string#006c44#5dbe5fCode strings.
code-number#925000#ff9800Code numbers, booleans and constants.
code-function#005fa3#6cadffCode function and class names.
code-tag#b80012#ff8484Code tags, selectors and regular expressions.
code-property#00707c#3cacb8Code properties and variables.

Base values

Role tokens point at these. Screens never use them directly.

TokenLight, then darkUse
brand-lavender#b6a3f5Lavender base value. Used for the dark value of star, the lavender chart and code tokens in dark, and the mascot Tin. Never a button fill.
brand-lavender-hover#c8b9ffLavender hover base value. Not in use. Do not use it.
brand-ink#17151fCool ink base value. The source of body text (foreground) and the fill (primary) in light. Same value as the ink in the mono logo files.
brand-ink-warm#1c1a17Warm ink base value. The source of text placed on bright fills in dark (Stone).
brand-canvas-light#ffffffBase value of the page background in light (Ink). White paper.
brand-charcoal#141311Base value of the page background in dark (Stone). A warm black.
brand-paper#f3f1ecPaper base value. The source of body text (foreground) and the fill (primary) in dark.
brand-soft#efedf2Base value of the hover and selection surface (accent) in light. A pale gray with no purple tint.
brand-strong#6b4f9eDeep lavender base value. Used for the light values of chart category 1, the sequential ramp and code keywords, and for captions on the Tin surface. Never a general text color.
logo-plate#ffffffWhite plate behind the logo. White in both themes, by design.
logo-violet#8b7ef2The violet of the three logo colors. Used only by the logo and the run spinner (RunSpinner). Never a UI color.
logo-blue#5881ffThe blue of the three logo colors. Used only by the logo and the run spinner.
logo-cyan#79dbffThe cyan of the three logo colors. Used only by the logo and the run spinner.
persona-tin#b6a3f5Color of the mascot Tin (lavender). Used only on the landing showcase and avatar plates.
persona-tin-soft#eae4f2Soft lavender surface for the mascot Tin. The value is written directly because brand-soft is gray.
persona-tin-ink#17151fHeading and body text on the persona-tin-soft surface. The surface is the same in both themes, so the value is too.
persona-tin-muted#6b4f9eCaption text on the persona-tin-soft surface (5.21:1).
persona-seed#a9ccb7Avatar plate color of the example agent Seed. Landing decoration only.
persona-muse#efb8c5Avatar plate color of the example agent Muse. Landing decoration only.
landing-surface-1#161514Deepest surface in landing mockups (rail, bar, code window). Stone tone.
landing-surface-2#1b1a17Window body and card surface in landing mockups. Stone tone.
landing-surface-3#26241fTile, step row and hover surface in landing mockups. Stone tone.

Spacing

A 4px grid. Values off the grid snap to the nearest step (the smaller one on a tie). Only a 1px hairline may use a raw value.

TokenValueUse
space-0-52pxHalf step. Between tabs inside a tab track.
space-14pxBetween icon and label (small controls), padding inside a badge.
space-1-56pxBetween icon and label inside a tab, horizontal padding of a keycap.
space-28pxBetween icon and label inside a button, gap between buttons, between actions in a modal footer.
space-2-510pxHalf step.
space-312pxHorizontal padding of an input, horizontal padding of button sm, between related rows.
space-416pxDefault card padding (Card md), modal padding, horizontal padding of button md.
space-520pxMedium gap.
space-624pxWide card padding (Card lg), horizontal padding of the container, horizontal padding of button lg.
space-832pxBetween blocks.
space-1040pxLarge gap inside a section.
space-1248pxBetween sections.
space-1664pxBetween sections on public surfaces.
space-2080pxBetween large sections on public surfaces.
space-2496pxAbove and below the hero on public surfaces.
space-32128pxLargest gap on public surfaces.

Control heights

Shared heights for buttons and inputs. Controls in one row share the same height. Toolbars use sm. Forms and modals use md.

TokenValueUse
control-h-xs28pxButton xs and filter chips.
control-h-sm32pxButton sm, input sm and icon button md.
control-h-md40pxButton md and input md (default).
control-h-lg48pxButton lg (CTA on public surfaces).

Corner radius

Cards, panels and modals are 12. Buttons, inputs and menu items are 8. The pill is for filter chips and status badges only.

TokenValueUse
radius-sm4pxType tags (Badge square), keycaps, segments and scrollbar thumbs.
radius-md8pxButtons, icon buttons, inputs, tooltips, menu items and sections inside a card (Card inset).
radius-lg12pxCards, panels, modals, tab tracks and status blocks.
radius-xl16pxLarge panels and showcase windows on public surfaces.
radius-full9999pxPill. For filter chips (CapsuleFilter) and status badges (Badge pill) only.

Shadow

Shadows are for floating layers only. Dark uses a higher alpha.

TokenValueUse
shadow-smLight: 0 1px 2px rgba(20, 16, 30, 0.06)
Dark: 0 1px 2px rgba(0, 0, 0, 0.40)
Chips, cards on hover and the active segment.
shadow-mdLight: 0 8px 24px rgba(20, 16, 30, 0.12)
Dark: 0 8px 24px rgba(0, 0, 0, 0.45)
Menus, popovers, hover cards and tooltips (with the popover surface and a 1px border).
shadow-lgLight: 0 20px 40px rgba(20, 16, 30, 0.15)
Dark: 0 20px 48px rgba(0, 0, 0, 0.55)
Modals.
shadow-panelLight: 12px 0 24px rgba(20, 16, 30, 0.05)
Dark: 12px 0 24px rgba(0, 0, 0, 0.35)
Panels that slide in from the side (the shadow falls to the right).

Opacity

TokenValueUse
opacity-disabled0.5Disabled controls. Use with cursor: not-allowed and do not use pointer-events: none (the tooltip that gives the reason must still work).

Motion

Short and quiet by default. Transitions are off under prefers-reduced-motion.

TokenValueUse
duration-fast150msHover and color transitions.
duration-base220msDefault transition.
duration-slow400msLarge movements, such as a tab indicator moving.
duration-theme350msTheme switch (matched to the crossfade overlay, ease-out). Source name $transition-theme.
ease-standardeaseDefault easing.
ease-out-expocubic-bezier(0.22, 1, 0.36, 1)Movement that glides to a stop (tab indicator, toast entering).

Font size

The source font size scale ($font-size-*). In rem, based on a 16px root.

TokenValueUse
font-size-2xs0.6875rem11px. Only for badges, rail labels and calendar axes.
font-size-xs0.75rem12px.
font-size-sm0.875rem14px.
font-size-base1rem16px. Default body text.
font-size-lg1.125rem18px.
font-size-xl1.25rem20px.
font-size-2xl1.5rem24px.
font-size-3xl2rem32px.
font-size-4xl2.5rem40px. The largest size in the console.
font-size-display-smclamp(28px, 3vw, 40px)Section headings on public surfaces. 28 / 28 / 31 / 40 at 375 / 768 / 1024 / 1440px.
font-size-display-mdclamp(40px, 5vw, 56px)Listing page h1 on public surfaces. 40 / 40 / 51 / 56.
font-size-display-lgclamp(46px, 5vw, 66px)Landing hero. 46 / 46 / 51 / 66.

Font weight

TokenValueUse
font-weight-light300Rarely used.
font-weight-regular400Body text.
font-weight-medium500Heading default, buttons, badges and tabs.
font-weight-semibold600Emphasized headings, modal titles and 11px labels.
font-weight-bold700Rarely, to emphasize numbers.

Line height

TokenValueUse
line-height-tight1.2Headings and 11px labels.
line-height-normal1.5Body text.
line-height-relaxed1.75Long-form text.

Letter spacing

TokenValueUse
letter-spacing-tight-0.02emHeadings (h1 to h6).
letter-spacing-display-0.045emDisplay headings on public surfaces.

Breakpoints

There are four width breakpoints and two height breakpoints.

TokenValueUse
bp-sm640pxBelow this width is mobile. A tall modal becomes full screen.
bp-md768pxTablet.
bp-lg1024pxDesktop.
bp-xl1280pxWide desktop.
short-height900pxBelow this height, the progress box shrinks to 3 lines.
compact-height720pxBelow this height, the padding of the header, the band and the composer shrinks too.

Layout constants

Layout constants that several screens need to share.

TokenValueUse
container-max1280pxMaximum width of the console container.
container-padding24pxHorizontal padding of the container.
site-reading-max1120pxWidth of reading surfaces among public surfaces (detail and legal pages).
site-experience-max1328pxWidth of experience surfaces among public surfaces (landing and listing pages).
site-header-h68pxHeight of the public site header.
chat-column-max860pxMaximum width of the chat column.
top-bar-h48pxHeight of the console top bar.
mobile-bottom-bar-h56pxHeight of the mobile bottom bar.
artifact-card-h178pxHeight of an Output card.
artifact-card-preview-h120pxHeight of the Output card preview.
account-panel-height52pxHeight of the account panel at the bottom left.
account-panel-inset6pxBetween the account panel and the screen edge.
account-panel-gap6pxBetween the account panel and the sub-sidebar content.
overlay-blur8pxBackground blur of the modal scrim. Source name --overlay-blur.

Layers

Use named layers only. Do not add or subtract with calc. Local stacking order may use raw values from -1 to 5 only.

TokenValueUse
z-above10Sticky headers, resize handles and popovers inside a parent context.
z-float20Inline dropdowns inside a component and drop overlays.
z-float-top30Inline palettes and the site header menu.
z-sheet50Mobile inspector sheet of the canvas.
z-launcher90Floating voice launcher.
z-nav100Sub-sidebar.
z-nav-overlay110Overlay of the expanded panel.
z-topbar970Main top bar.
z-drawer-backdrop980Backdrop of the left panel.
z-drawer990Left panel.
z-sidebar1000Left sidebar.
z-shell1010Left column, mobile bottom bar and usage nudge.
z-shell-panel1020Right panel, account panel and guest sign-in.
z-shell-drawer1030Mobile drawer, mobile canvas and right sidebar.
z-shell-float1040Floating elements of the agent layout and the Ask capsule.
z-banner1050Disconnected banner. Above the shell, below modals.
z-modal-scrim1059Sheet scrim rendered as a separate sibling.
z-modal1060Modals, command palette and lightbox.
z-popover1070Menus, popovers, dropdowns and hover cards. They must show inside a modal too.
z-tooltip1080Tooltips.
z-modal-top1090Re-authentication. Above even open menus and tooltips.
z-theme-overlay1100Crossfade for the theme switch.
z-celebration1110Celebration screen.
z-celebration-fx1111Confetti.
z-fly1120Flying chip.