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 arecard. mutedis the recessed surface: tracks, rails and the neutral badge.accentis the one hover and selection surface. Don't usemutedfor hover.- A floating layer such as a menu or a popover is
popoverwith a 1pxborderandshadow-md.
| Token | Light, then dark | Use |
|---|---|---|
| background | #ffffff#141311 | Page background. |
| card | #ffffff#1d1c19 | Surface of cards, panels and modals. |
| composer | #ffffff#1d1c19 | Surface of the chat composer (Composer). Same value as card. The composer is a floating surface with a 1px border and shadow-sm. |
| muted | #f5f4f7#23211e | Recessed surface, tracks and the neutral badge surface. Never a hover surface (hover is accent). |
| popover | #ffffff#2a2824 | Surface of floating layers (menus, popovers, hover cards). Used with a 1px border and shadow-md. |
| accent | #efedf2#35322d | Hover and selection surface. Selected tabs, chips and rows, and your own bubble. The only token for this. |
| tooltip | #17151f#403d37 | Tooltip surface. |
| tooltip-foreground | #f3f1ec | Text on the tooltip surface (15.04:1 in light, 9.67:1 in dark). |
Text
- Body text is
foreground. Secondary text ismuted-foreground, which is the lightest step. Don't fade text with opacity. primary-textis the same ink asforeground. Brand text is not set apart by color.- A link is told apart by its underline, not by its color.
| Token | Light, then dark | Use |
|---|---|---|
| foreground | #17151f#f3f1ec | Body text. At least 4.5:1 on all five surfaces (background, card, muted, accent, popover). |
| muted-foreground | #696573#b3afa5 | Secondary 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#f3f1ec | The same ink as foreground. Brand text is not set apart by color. Links are set apart by an underline. |
The ink fill
primaryfills 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
primaryfor a selected tab, chip, row or page number. Selection is theaccentsurface. - Focus and selection outlines use
ring, which is ink. primary-subtle,primary-softandprimary-borderare aliases ofmuted,accentandborder. Don't use them in new code.
| Token | Light, then dark | Use |
|---|---|---|
| primary | #17151f#f3f1ec | The 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#dcd8cf | Hover of the primary fill. One step lighter ink in light, one step darker paper in dark. |
| primary-foreground | #ffffff#1c1a17 | Text and icons on the primary fill. White in light, ink in dark. |
| ring | #17151f#f3f1ec | Focus ring and selection outline. Ink (paper in dark). |
The star
staris 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.
| Token | Light, then dark | Use |
|---|---|---|
| star | #7b6cf0#b6a3f5 | Color 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,infoanddestructivework the same way. - The base color is for fills, dots and borders. Text and icons use the
-texttoken. - 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-attentionfor them. on-airmarks 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.
| Token | Light, then dark | Use |
|---|---|---|
| success | oklch(0.595 0.17 163)#4caf50 | Fill, 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#1c1a17 | Text on the success fill (ink in both themes). |
| success-text | #006c44#5dbe5f | Done and success text and icons on neutral surfaces (background, card, muted, popover) and on the success-soft surface. At least 4.5:1. |
| success-soft | oklch(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-border | oklch(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). |
| warning | oklch(0.75 0.17 70)#ff9800 | Fill, 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#ff9800 | Warning text and icons on neutral surfaces (background, card, muted, popover) and on the warning-soft surface. At least 4.5:1. |
| warning-soft | oklch(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-border | oklch(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). |
| info | oklch(0.65 0.15 245)#5b9bf5 | Fill, 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#6cadff | Information text and icons on neutral surfaces (background, card, muted, popover) and on the info-soft surface. At least 4.5:1. |
| destructive | oklch(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#1c1a17 | Text on the destructive fill (white in light, ink in dark. White on the dark fill is 2.89:1). |
| destructive-text | #b80012#ff8484 | Destructive 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-soft | oklch(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-border | oklch(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#e0738a | Dot 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-soft | rgba(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#ff3b5c | Dot 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, notborder.borderis a decorative divider and does not reach 3:1.
| Token | Light, then dark | Use |
|---|---|---|
| border | #e9e7ed#32302b | Dividers and card borders (decorative). Never the only boundary of a control. Input borders use input. |
| input | #86828f#858177 | For input borders only (at least 3:1 on the five surfaces). Never a background. |
| ring | #17151f#f3f1ec | Focus 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-seqandcode-keywordare in the lavender family. They are the only lavender outside the star.- A code block sits on
code-surface, and syntax colors are thecode-tokens.
| Token | Light, then dark | Use |
|---|---|---|
| chart-1 | #6b4f9e#9683d3 | Chart category 1. In the lavender family. Points to its value directly so it does not follow primary-text. |
| chart-2 | oklch(0.65 0.17 165)#00ae75 | Chart category 2. Below 3:1 on a white surface in light, so pair it with direct labels or a table. |
| chart-3 | #eda100#ca8000 | Chart category 3. Below 3:1 on a white surface in light, so pair it with direct labels or a table. |
| chart-4 | oklch(0.59 0.24 305)oklch(0.65 0.24 305) | Chart category 4. |
| chart-5 | oklch(0.65 0.22 20)#f74a5d | Chart category 5. |
| chart-seq | #6b4f9e#b6a3f5 | Base color of the sequential ramp, which shades a single color. In the lavender family. |
| code-surface | rgba(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#b6a3f5 | Code keywords. In the lavender family. Points to its value directly so it does not follow primary-text. |
| code-string | #006c44#5dbe5f | Code strings. |
Ten chart colors, eight code colors and every other token are on thetokens page.