Skip to content
Theme
endue.ai

Foundations

Color

Pick color by role. Screens use role tokens only, never a raw hex or rgba value, and never a brand base value.

Surfaces

  • The page is background. Cards, panels, modals and the composer are card.
  • muted is the recessed surface: tracks, rails and the neutral badge.
  • accent is the one hover and selection surface. Don't use muted for hover.
  • A floating layer such as a menu or a popover is popover with a 1px border andshadow-md.
TokenLight, then darkUse
background#ffffff#141311Page background.
card#ffffff#1d1c19Surface of cards, panels and modals.
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.
muted#f5f4f7#23211eRecessed surface, tracks and the neutral badge surface. Never a hover surface (hover is accent).
popover#ffffff#2a2824Surface of floating layers (menus, popovers, hover cards). Used with a 1px border and shadow-md.
accent#efedf2#35322dHover and selection surface. Selected tabs, chips and rows, and your own bubble. The only token for this.
tooltip#17151f#403d37Tooltip surface.
tooltip-foreground#f3f1ecText on the tooltip surface (15.04:1 in light, 9.67:1 in dark).

Text

  • Body text is foreground. Secondary text is muted-foreground, which is the lightest step. Don't fade text with opacity.
  • primary-text is the same ink as foreground. Brand text is not set apart by color.
  • A link is told apart by its underline, not by its color.
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).
primary-text#17151f#f3f1ecThe same ink as foreground. Brand text is not set apart by color. Links are set apart by an underline.

The ink fill

  • primary fills the primary button, a toggle that is on, the send button and the progress bar. It is ink in light and paper in dark.
  • Text on it is primary-foreground: white in light, ink in dark.
  • One filled button per group. The second action is outline.
  • Don't use primary for a selected tab, chip, row or page number. Selection is theaccent surface.
  • Focus and selection outlines use ring, which is ink.
  • primary-subtle, primary-soft and primary-border are aliases ofmuted, accent and border. Don't use them in new code.
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.
ring#17151f#f3f1ecFocus ring and selection outline. Ink (paper in dark).

The star

  • star is the color of the star that shows an agent is working.
  • The Star component is the only place it is used. Never on buttons, text, surfaces, borders or badges.
  • The star has the shape of the star in the logo.
TokenLight, then darkUse
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.

Status

  • Each status has four parts: the fill (success), text on the fill (success-foreground), text on a neutral surface (success-text), and a soft surface with its border (success-soft, success-border). warning,info and destructive work the same way.
  • The base color is for fills, dots and borders. Text and icons use the -text token.
  • Three things get a colored surface: warnings (warning), errors and destructive actions (destructive), and needs attention in Space (status-attention). Info and success sit on a neutral surface, and only the icon or the dot is colored.
  • Destructive actions and errors are one axis, destructive. Don't usestatus-attention for them.
  • on-air marks an agent that is live on endue.live. It is not a status color.
  • Never convey a status with color alone. Put a word or an icon with it.
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-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-text#005fa3#6cadffInformation text and icons on neutral surfaces (background, card, muted, popover) and on the info-soft surface. At least 4.5:1.
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).
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-text#a13a54#fa8aa1"Needs attention" text on status-attention-soft, card and background. In light, do not place it on muted (4.4986:1).
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.
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.

Lines and contrast

  • Text meets 4.5:1 against its surface, in both themes.
  • Control borders, focus rings, icons and the star meet 3:1, in both themes.
  • The border of an input is input, not border. border is a decorative divider and does not reach 3:1.
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).

Charts and code

  • Use chart category colors in order from chart-1, and tie each color to a subject, not to a rank. Color in a chart is data, not decoration.
  • chart-1, chart-seq and code-keyword are in the lavender family. They are the only lavender outside the star.
  • A code block sits on code-surface, and syntax colors are the code- tokens.
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-seq#6b4f9e#b6a3f5Base color of the sequential ramp, which shades a single color. In the lavender family.
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-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.

Ten chart colors, eight code colors and every other token are on thetokens page.