Color
Last updated: 2026-11-27T06:26:42-03:00 (UTC-3)
Color in the console and on the documentation site comes from named roles, each with a dark and a light value. Both products have the two themes: light until the reader chooses, dark or the system’s own when the reader asks for it. Part of the design system.
How to read a role
Section titled “How to read a role”A role is named for what it does, not for its hue: --color-text-soft is secondary text whatever color it is. Use the role whose description matches the job; if none does, add a role to design-tokens/tokens.json instead of writing a hex in a stylesheet.
Every role becomes a CSS custom property --color-<role>. In the JSON a value is one of:
| Form | Example | Meaning |
|---|---|---|
#rrggbb or #rrggbbaa |
#0c1823 |
The color itself. |
{role} |
{bg} |
The value of another role in the same theme. |
{role}/aa |
{line}/66 |
Another role’s RGB with the alpha byte aa. |
Every role has a value in each theme, and the tables below show both. Some roles keep one value in dark and in light on purpose: the brand roles (m7 does not change color), the console- roles of the navigation rail (dark glass in both themes), the primary button’s gradient and its label, the slab buttons of m7 ai and the !panic banner.
Every color the console paints comes from these tokens: a component stylesheet or component that writes a hex, a color function or a named color fails the check, so changing a token reaches every place that shows its role.
Themes
Section titled “Themes”The dark values are declared on :root and the light values on :root[data-theme="light"], in the console and on the site alike. A stylesheet names a role once and follows the theme without a second rule.
- Light by default. With no stored choice the console and the site are light, whatever the system uses. A reader who picks System follows
prefers-color-scheme, and the page changes with it while open. - The switch. A half-disc icon button, in the console’s top bar and on its sign-in screens, offers System, Light and Dark (see Navigation).
- One choice for both products. The console stores the choice in
localStorageunderstarlight-theme, the documentation site’s own key (dark,light, orautofor System). Nothing is stored until the reader picks; an empty string, which the site used to write on every visit, counts as no choice. Served from the same origin, the console and/docstherefore share it, and the console picks up a change made on the site or in another tab without a reload. - Before the first paint. The console’s page carries
data-theme="light"and the lighttheme-colorin its HTML, so it is light before any script runs; a reader who stored dark sees that page for the instant before the script.initTheme()inweb/src/themeMode.tsthen runs before the console renders. On the site, every built page carriesdata-theme="light"on<html>too, so it is light with JavaScript off:docs-site/src/middleware.tssets it while the site builds, because the framework writesdarkthere in a component a site cannot override, and the build stops if the attribute is ever missing. An inline script in the head (docs-site/src/components/ThemeProvider.astro) then applies the reader’s choice before the page paints. It setsdata-theme(the theme in effect) anddata-theme-choice(what the reader chose) on<html>, and sets<meta name="theme-color">to the page background of that theme, so the browser’s own chrome matches.
What a theme does not change: the navigation rail and m7 look the same in both, the primary button keeps its gradient, and a state keeps its meaning and the shape of its mark.
Surfaces
Section titled “Surfaces”The page and the planes laid on it, darkest to lightest in the dark theme.
| Token | Dark | Light | Use |
|---|---|---|---|
--color-bg |
#050a12 |
#e3ecf1 |
Page background. |
--color-bg-deep |
#03080d |
#dbe6eb |
Deepest background: code blocks, the opaque fill of glass under reduced transparency, the base of the slabs. |
--color-chrome |
#050a12 |
#dbe6eb |
Navigation chrome of the site (sidebar). |
--color-surface |
#0c1823 |
#ffffff |
Fields (under the line-field border), menus and opaque panels. |
--color-surface-raised |
#112230 |
#d8e4ea |
Menus, table headers, hovered cards, secondary buttons. |
--color-surface-strong |
#2a3e4c |
#cddce1 |
Inline code background and strong fills. |
Glass comes in two strengths over a quiet field of light. --color-glass is the solid panel tint, steady enough for tables and forms; --color-glass-tint-clear is the clear liquid glass of bars and controls. The group also holds what glass is made of: the edge and inner light (specular-, edge-, glass-edge), the rim light (rim-), the fills laid on glass (fill-on for what is selected, the fainter fill-hover for a hovered row, field for a panel nested in a panel), the background field (field-, ribbon-sheen, ray-), and the console- roles of the navigation rail, which is dark glass in both themes. See Layout and spacing for how the layers stack and Cards for the panels.
| Token | Dark | Light | Use |
|---|---|---|---|
--color-glass |
#071018b8 |
#ffffffb3 |
The solid panel tint (design system panel-tint-solid): tables, forms and every console panel. |
--color-glass-edge |
#ffffff2e |
#ffffffd9 |
The one-pixel inner edge of a panel (design system panel-edge). |
--color-glass-highlight |
#ddf9ff29 |
#ffffffa6 |
Inner top highlight of glass surfaces. |
--color-glass-highlight-soft |
#ddf9ff1f |
#ddf9ff1f |
Softer inner highlight of site cards and asides. |
--color-slab-button-top |
#1b2d3a |
#1b2d3a |
Top stop (0%) of a slab button: the m7 ai launcher and send button. |
--color-slab-button-mid |
#071018 |
#071018 |
Second stop (34%) of a slab button. |
--color-slab-deep |
#03080d |
#03080d |
Deep stop (64%) of a slab button, and the base its glow mixes into. |
--color-slab-sheen |
#ffffff52 |
#ffffff52 |
Top of the gloss over a slab button; it fades to clear. |
--color-slab-text-hover |
#ffffff |
#ffffff |
Slab button icon on hover. |
--color-header-frost |
#03080ddb |
#dbe6ebe0 |
Frosted top bar. |
--color-glass-tint |
#08151e59 |
#ffffff3d |
Liquid glass at full strength: floating surfaces that hold reading text. |
--color-glass-tint-clear |
#ffffff0a |
#ffffff29 |
The clearer liquid glass of bars and controls: the top bar, tabs, secondary buttons. |
--color-specular-strong |
#ffffffc7 |
#ffffff |
Glass edge and inner light: the highlight from the top-left. |
--color-specular-soft |
#ffffff26 |
#ffffff8c |
Glass edge and inner light: the half-pixel outline. |
--color-specular-low |
#ffffff4d |
#ffffffcc |
Glass inner light: the counter highlight from the bottom-right. |
--color-edge-cyan |
#6de2f166 |
#29bfd499 |
Second stop of the liquid-glass edge gradient. |
--color-edge-blue |
#3f6fe8a6 |
#3f6fe880 |
Last stop of the liquid-glass edge gradient. |
--color-glass-shade |
#00000066 |
#0b2a3626 |
Shade inside the foot of liquid glass. |
--color-glass-drop |
#000000b3 |
#0b2a3659 |
Drop shadow under liquid glass; the scrim behind a drawer. |
--color-panel-tint |
#08141f47 |
#ffffff42 |
Rim-lit panel tint for prose over the background (the documentation site’s cards). |
--color-fill-on |
#ffffff14 |
#0b2a3614 |
Selected segment, active item, hovered control. |
--color-fill-hover |
#ffffff0f |
#0b2a360a |
Hovered table row: fainter than fill-on, so the faintest text keeps 4.5:1 on it. |
--color-field |
#ffffff08 |
#ffffff73 |
Quiet fill of a panel nested in a panel (glass is never nested in glass). |
--color-field-cyan |
#29bfd4b3 |
#5fd8e8cc |
Background field: the cyan blob. |
--color-field-blue |
#3f6fe8a6 |
#8fb0ffb3 |
Background field: the blue blob. |
--color-ribbon-sheen |
#e2fcff |
#ffffff |
Background field: the bright line on a ribbon. |
--color-ray-1 |
#9cf0f9b8 |
#ffffffe6 |
Background field: cyan edge ray. |
--color-ray-2 |
#6f9bff99 |
#bfe9ffcc |
Background field: blue edge ray. |
--color-ray-3 |
#7fe6c88c |
#d6fff2cc |
Background field: mint edge ray. |
--color-rim-white |
#ffffff |
#ffffff |
Rim light: the hot corner. |
--color-rim-1 |
#9cf0f9 |
#1fb2c8 |
Rim light: cyan. |
--color-rim-2 |
#3f6fe8b3 |
#3f6fe880 |
Rim light: blue, and the streak’s halo. |
--color-text-halo |
#03080d94 |
#00000000 |
Dark halo behind text set on the open background (clear in light). |
--color-console-bg |
#03080d80 |
#050d14e0 |
The navigation rail: dark glass in both themes. |
--color-console-text |
#f4f8fb |
#f4f8fb |
Text inside the dark rail, in both themes. |
--color-console-text-soft |
#a7b6c1 |
#a7b6c1 |
Secondary text inside the dark rail. |
--color-console-text-faint |
#8496a2 |
#8496a2 |
Group labels inside the dark rail. |
--color-console-primary |
#6de2f1 |
#6de2f1 |
Accent and focus ring inside the dark rail. |
--color-console-line |
#c1e2f017 |
#c1e2f017 |
Hairline inside the dark rail. |
--color-console-line-strong |
#c1e2f02e |
#c1e2f02e |
Stronger hairline inside the dark rail. |
--color-console-fill-on |
#ffffff14 |
#ffffff14 |
Active item inside the dark rail. |
--color-console-ring |
#c1e2f040 |
#c1e2f040 |
Half-pixel ring around the dark rail. |
--color-console-status-ok |
#7be0b0 |
#7be0b0 |
status-ok inside the dark rail, in both themes. |
--color-console-status-warning |
#ffb38a |
#ffb38a |
status-warning inside the dark rail. |
--color-console-status-error |
#fca5a5 |
#fca5a5 |
status-error inside the dark rail. |
--color-shadow |
#000000 |
#000000 |
Drop shadows under raised panels, menus and dialogs, through its alpha variants. |
Borders
Section titled “Borders”| Token | Dark | Light | Use |
|---|---|---|---|
--color-line |
#c1e2f017 |
#0b2a361a |
Hairline dividers and quiet borders. |
--color-line-strong |
#c1e2f02e |
#0b2a3633 |
Borders of menus, drawers and secondary buttons. |
--color-line-field |
#c1e2f073 |
#6c838d |
Field borders: 3:1 against every ground a field sits on, so the control is visible. |
--color-line-contrast |
#748794 |
#49616c |
Borders that must meet 3:1 against the page (site file trees, rules). |
--color-line-field exists because a field and the panel around it have nearly the same background: a hairline would leave the field invisible, so field borders meet 3:1 against every ground a field sits on (the page, a panel and the field’s own opaque --color-surface fill).
| Token | Dark | Light | Use |
|---|---|---|---|
--color-text |
#f4f8fb |
#08171e |
Primary text and headings. |
--color-text-high |
#e2ecf2 |
#10262f |
Emphasized secondary text (site menus and search). |
--color-text-body |
#c4d2dc |
#263d48 |
Long-form body text of the site. |
--color-text-soft |
#a7b6c1 |
#3a525d |
Secondary text, table headers, inactive navigation. |
--color-text-faint |
#8496a2 |
#52676f |
Placeholders, eyebrows, captions; the faintest text that still meets 4.5:1. |
--color-text-faint is the faintest text allowed. Anything lighter fails 4.5:1 somewhere; do not dim text further with opacity.
Accent
Section titled “Accent”Cyan leads; violet and a warm tone support it.
| Token | Dark | Light | Use |
|---|---|---|---|
--color-primary |
#6de2f1 |
#066778 |
Cyan accent as text and marks: links, active text, focus. |
--color-eyebrow |
#6de2f1 |
#044a56 |
Eyebrows above a title (darker than primary in light). |
--color-primary-fill-from |
#86e8f4 |
#86e8f4 |
Top of the primary button gradient. |
--color-primary-fill-to |
#3fcbdf |
#3fcbdf |
Foot of the primary button gradient. |
--color-primary-fill-lip |
#e9fdff |
#e9fdff |
Lit top lip of the primary button. |
--color-primary-fill-shade |
#0a6f80 |
#0a6f80 |
Shade inside the foot of the primary button. |
--color-primary-strong |
#29bfd4 |
#29bfd4 |
Strong cyan for the static mark, accent-color of native controls and glows. |
--color-primary-hover |
#8deaf6 |
#045362 |
Hovered primary button. |
--color-on-primary |
#041319 |
#041319 |
Text and icons on the primary fill (never white). |
--color-accent |
#29bfd4 |
#066778 |
Site accent (Starlight accent): filled current page, link underline. |
--color-accent-low |
#0b3640 |
#cdeef2 |
Tinted accent background. |
--color-accent-high |
#a9f0f8 |
#045362 |
Accent text on the page (site links and site title). |
--color-secondary |
#a78bfa |
#5b45c4 |
Violet: the console’s ambient glow and the site’s tip asides. |
--color-secondary-low |
#251d48 |
#ece8fb |
Violet background tint (site tip asides). |
--color-tertiary |
#ffb38a |
#8f4f1f |
Warm accent for neutral-but-notable states (disabled feature, off): the status-warning hue. |
--color-tertiary-low |
#463a32 |
#f6e7da |
Warm background tint behind tertiary text (an “off” status pill, a warm metric icon). |
- Primary marks links, accent text and the focus ring. The one main action of a view is filled with the gradient from
--color-primary-fill-fromto--color-primary-fill-to, the same in both themes, and labelled in--color-on-primary: dark ink, never white (see Buttons). - Eyebrow is the small uppercase line above a title. It equals primary in the dark theme and is darker than primary in the light one, where small text needs more contrast.
- Secondary (violet) is a supporting hue: the site’s tip asides and violet category tints. It is not a second button color.
- Tertiary (warm) labels neutral-but-notable states, such as a feature that is turned off.
- Accent, accent-low and accent-high are the three steps Starlight expects for its accent: the filled current page, a tinted background and accent text.
States
Section titled “States”Each state has an indicator color (dots, borders, icons), a text color and a low tint for backgrounds. On the site, Starlight’s asides and badges read them: note is information, tip is secondary, caution is warning and danger is danger.
| Token | Dark | Light | Use |
|---|---|---|---|
--color-success |
#5bddae |
#177a4f |
Success indicator: dots, borders, icons. |
--color-success-text |
#7be0b0 |
#0d5c3c |
Success text. |
--color-success-low |
#0f3a2d |
#d8f3e6 |
Success background tint. |
--color-warning |
#f0c46d |
#a86b00 |
Warning indicator: dots, borders, icons (use warning-text for text). |
--color-warning-text |
#f0c46d |
#6b4500 |
Warning text. |
--color-warning-low |
#3b2f12 |
#fbecc8 |
Warning background tint. |
--color-danger |
#f7a7aa |
#a82a33 |
Semantic red: !panic, destructive actions, failure indicators. |
--color-danger-text |
#fca5a5 |
#8a1f27 |
Failure text (bad results). |
--color-danger-low |
#3d1a1f |
#fbe0e1 |
Danger background tint. |
--color-danger-strong |
#7a1d24 |
#7a1d24 |
Filled alarm surface: the !panic banner, and the label of its release button. |
--color-on-danger-strong |
#fff4f4 |
#fff4f4 |
Text on danger-strong, and the fill of the !panic release button. |
--color-info |
#7cb8ff |
#2862c2 |
Information indicator. |
--color-info-text |
#8fb8ff |
#1d4fa8 |
Information text. |
--color-info-low |
#12294a |
#dbeafe |
Information background tint. |
--color-status-ok |
#7be0b0 |
#0d5c3c |
Status text and mark: 2xx, ready, active, completed (round dot). |
--color-status-warning |
#ffb38a |
#8f4f1f |
Status text and mark: the gateway refusing or limiting, 429, 403, off, disabled (triangle). |
--color-status-error |
#fca5a5 |
#8a1f27 |
Status text and mark: a real failure, 5xx, a failed run (square). |
--color-status-info |
#8fb8ff |
#1d4fa8 |
Status text and mark: neutral, running, queued, draft (ring). |
--color-danger is the semantic red. In the console it is reserved for !panic, destructive actions and failure indicators, and it keeps its value: do not reuse it for emphasis.
--color-danger-strong is the filled alarm surface of the !panic banner, with --color-on-danger-strong for its text; the banner’s release button swaps the two. Error boxes and messages use danger-text on danger-low with a danger border; where the edge was meant to stay quiet (a failed list item, a health badge, the !panic button outline, the console’s error banner) it is the indicator at 40% (--color-danger-a66). Success and warning boxes follow the same pattern.
Decorative category hues (such as the HTTP method chips) use the role of the same hue with its low tint: violet is secondary, mint success, blue info and warm tertiary on tertiary-low. They also differ by icon and label, never by color alone.
Status
Section titled “Status”The state of a thing (a request, a key, a run, the gateway) is written as a word or a code in one of four status colors, with a small mark beside it. The shape of the mark differs for each, so the color never carries the meaning alone, and there are no chips: no pill, no tinted background.
| Token | Mark | Means | Examples |
|---|---|---|---|
--color-status-ok |
Round dot | It worked, it is on | 2xx, Ready, Active, Completed |
--color-status-warning |
Triangle | The gateway is refusing or limiting, or something is off | 429, 403, Off, Disabled, Checking, Draining, Stale |
--color-status-error |
Square | A real failure | 5xx, a failed run, Unavailable, Stopped |
--color-status-info |
Ring | Neutral | Running, Queued, Draft |
--color-status-warning is warm, not red, on purpose: a 429 or a 403 is the gateway doing its job. Red is kept for what is actually broken, so a list of refusals does not read as a list of outages.
Inside the navigation rail, which stays dark in the light theme, the same states use --color-console-status-ok, --color-console-status-warning and --color-console-status-error. The text colors success-text, danger-text and info-text, and the tertiary accent, resolve to the status colors, so text written with them matches.
| Token | Dark | Light | Use |
|---|---|---|---|
--color-brand-light |
#8aeef8 |
#8aeef8 |
First stop (0) of the m7 gradient, live and static. |
--color-brand-strong |
#29bfd4 |
#29bfd4 |
Middle stop (0.42) of the m7 gradient; the cyan glow of the m7 ai send button. |
--color-brand-blue |
#3f6fe8 |
#3f6fe8 |
Last stop (1) of the m7 gradient; the blue glow ring of the m7 ai launcher. |
--color-brand-mint |
#35d6a6 |
#35d6a6 |
Third hue of the background field (ribbons and rays); never text or a control. |
--color-brand-eyes |
#07222a |
#07222a |
m7’s eyes. |
--color-brand-sheen |
#ffffff |
#ffffff |
The sheen over the live m7 (its stops fade it from 0.34 to 0). |
--color-on-brand-accent |
#101529 |
#101529 |
Text on an operator’s branding accent. It is the server’s contrast rule (brandingInk in internal/config/branding.go), so the check pins the three copies together. |
The brand roles are separate from primary on purpose: the bot keeps its cyan on the light site, where the primary turns to a darker teal. See Iconography and brand.
--color-on-brand-accent is the ink drawn on an operator’s branding accent (the logo tile when a custom accent is set). It is also the server’s contrast rule: the gateway accepts an accent only at 4.5:1 against this ink (brandingInk in internal/config/branding.go, mirrored in web/src/branding.ts), and the check fails when the three copies differ.
Translucent variants
Section titled “Translucent variants”Glows and tints are a role’s color at a fixed alpha, rendered as --color-<role>-a<aa>. They are derived from the role, so a new primary brings its glows with it.
| Token | Value |
|---|---|
--color-primary-a08 |
primary at alpha 0x08 (3%) |
--color-primary-a0d |
primary at alpha 0x0d (5%) |
--color-primary-a12 |
primary at alpha 0x12 (7%) |
--color-primary-a14 |
primary at alpha 0x14 (8%) |
--color-primary-a1f |
primary at alpha 0x1f (12%) |
--color-primary-a24 |
primary at alpha 0x24 (14%) |
--color-primary-a26 |
primary at alpha 0x26 (15%) |
--color-primary-a2e |
primary at alpha 0x2e (18%) |
--color-primary-a33 |
primary at alpha 0x33 (20%) |
--color-primary-a40 |
primary at alpha 0x40 (25%) |
--color-primary-a47 |
primary at alpha 0x47 (28%) |
--color-primary-a4d |
primary at alpha 0x4d (30%) |
--color-primary-a66 |
primary at alpha 0x66 (40%) |
--color-primary-a99 |
primary at alpha 0x99 (60%) |
--color-primary-aa6 |
primary at alpha 0xa6 (65%) |
--color-primary-strong-a14 |
primary-strong at alpha 0x14 (8%) |
--color-primary-strong-a1a |
primary-strong at alpha 0x1a (10%) |
--color-primary-strong-a1f |
primary-strong at alpha 0x1f (12%) |
--color-primary-strong-a26 |
primary-strong at alpha 0x26 (15%) |
--color-primary-strong-a33 |
primary-strong at alpha 0x33 (20%) |
--color-primary-strong-a40 |
primary-strong at alpha 0x40 (25%) |
--color-brand-strong-ab3 |
brand-strong at alpha 0xb3 (70%) |
--color-secondary-a14 |
secondary at alpha 0x14 (8%) |
--color-secondary-a1f |
secondary at alpha 0x1f (12%) |
--color-secondary-a33 |
secondary at alpha 0x33 (20%) |
--color-secondary-a4d |
secondary at alpha 0x4d (30%) |
--color-tertiary-a4d |
tertiary at alpha 0x4d (30%) |
--color-tertiary-a66 |
tertiary at alpha 0x66 (40%) |
--color-glass-ad9 |
glass at alpha 0xd9 (85%) |
--color-glass-edge-a66 |
glass-edge at alpha 0x66 (40%) |
--color-glass-highlight-a14 |
glass-highlight at alpha 0x14 (8%) |
--color-glass-highlight-a80 |
glass-highlight at alpha 0x80 (50%) |
--color-shadow-a26 |
shadow at alpha 0x26 (15%) |
--color-shadow-a33 |
shadow at alpha 0x33 (20%) |
--color-shadow-a4d |
shadow at alpha 0x4d (30%) |
--color-shadow-a66 |
shadow at alpha 0x66 (40%) |
--color-shadow-a80 |
shadow at alpha 0x80 (50%) |
--color-line-a0d |
line at alpha 0x0d (5%) |
--color-line-a14 |
line at alpha 0x14 (8%) |
--color-bg-deep-a99 |
bg-deep at alpha 0x99 (60%) |
--color-bg-deep-ab3 |
bg-deep at alpha 0xb3 (70%) |
--color-bg-deep-ae6 |
bg-deep at alpha 0xe6 (90%) |
--color-surface-a4d |
surface at alpha 0x4d (30%) |
--color-surface-a66 |
surface at alpha 0x66 (40%) |
--color-surface-acc |
surface at alpha 0xcc (80%) |
--color-surface-ae6 |
surface at alpha 0xe6 (90%) |
--color-surface-af2 |
surface at alpha 0xf2 (95%) |
--color-surface-raised-a1f |
surface-raised at alpha 0x1f (12%) |
--color-surface-raised-a33 |
surface-raised at alpha 0x33 (20%) |
--color-surface-raised-a40 |
surface-raised at alpha 0x40 (25%) |
--color-surface-raised-a4d |
surface-raised at alpha 0x4d (30%) |
--color-surface-raised-a66 |
surface-raised at alpha 0x66 (40%) |
--color-surface-raised-a80 |
surface-raised at alpha 0x80 (50%) |
--color-surface-raised-ab3 |
surface-raised at alpha 0xb3 (70%) |
--color-surface-raised-acc |
surface-raised at alpha 0xcc (80%) |
--color-surface-raised-ae6 |
surface-raised at alpha 0xe6 (90%) |
--color-surface-raised-af2 |
surface-raised at alpha 0xf2 (95%) |
--color-surface-strong-ab3 |
surface-strong at alpha 0xb3 (70%) |
--color-success-a0d |
success at alpha 0x0d (5%) |
--color-success-a18 |
success at alpha 0x18 (9%) |
--color-success-a1f |
success at alpha 0x1f (12%) |
--color-success-a26 |
success at alpha 0x26 (15%) |
--color-success-a33 |
success at alpha 0x33 (20%) |
--color-success-a4d |
success at alpha 0x4d (30%) |
--color-success-a66 |
success at alpha 0x66 (40%) |
--color-warning-a08 |
warning at alpha 0x08 (3%) |
--color-warning-a18 |
warning at alpha 0x18 (9%) |
--color-warning-a1f |
warning at alpha 0x1f (12%) |
--color-warning-a40 |
warning at alpha 0x40 (25%) |
--color-warning-a4d |
warning at alpha 0x4d (30%) |
--color-warning-a66 |
warning at alpha 0x66 (40%) |
--color-danger-a18 |
danger at alpha 0x18 (9%) |
--color-danger-a33 |
danger at alpha 0x33 (20%) |
--color-danger-a66 |
danger at alpha 0x66 (40%) |
Need an alpha that is not listed? Add it under color.alphas in the JSON and run python3 scripts/design-tokens.py write.
Reduced transparency
Section titled “Reduced transparency”Under prefers-reduced-transparency: reduce the tokens below change in both themes, so every glass surface becomes opaque without a rule per component: panels and clear glass fill with --color-bg-deep, the navigation rail with the opaque --color-slab-deep, and blur stops. The console and the site also drop their backdrop-filter and the gradient edge of clear glass; the console drops the rim light too, and gives its top bar, tab rows and glass buttons a plain 1px --color-line-strong edge.
| Token | Under reduced transparency |
|---|---|
--color-glass |
var(--color-bg-deep) |
--color-glass-tint |
var(--color-bg-deep) |
--color-glass-tint-clear |
var(--color-bg-deep) |
--color-panel-tint |
var(--color-bg-deep) |
--color-console-bg |
var(--color-slab-deep) |
--color-header-frost |
var(--color-bg) |
--blur-glass |
0px |
--blur-glass-clear |
0px |
--blur-panel |
0px |
--blur-nav |
0px |
Contrast
Section titled “Contrast”Every pair below is checked in each theme by python3 scripts/design-tokens.py check, which runs in the fast quality gate. Text needs 4.5:1 (WCAG 2.2 AA, success criterion 1.4.3); UI components such as field borders, focus rings and state indicators need 3:1 (1.4.11). A translucent background is composited over the backdrop named in the pair (the page background when none is named) before the ratio is computed, and a translucent foreground over that result, so the number is the contrast as it renders.
| Pair | Theme | Ratio | Minimum | Result | Use |
|---|---|---|---|---|---|
text on bg |
dark | 18.58:1 | 4.5:1 | pass | Body text on the page |
text on bg |
light | 15.23:1 | 4.5:1 | pass | Body text on the page |
text on surface |
dark | 16.80:1 | 4.5:1 | pass | Field text |
text on surface |
light | 18.24:1 | 4.5:1 | pass | Field text |
text on surface-raised |
dark | 15.18:1 | 4.5:1 | pass | Menu and table header text |
text on surface-raised |
light | 14.07:1 | 4.5:1 | pass | Menu and table header text |
text on glass (over bg) |
dark | 18.17:1 | 4.5:1 | pass | Text on a glass panel |
text on glass (over bg) |
light | 17.28:1 | 4.5:1 | pass | Text on a glass panel |
text-high on bg |
dark | 16.54:1 | 4.5:1 | pass | Site menu and search text |
text-high on bg |
light | 13.08:1 | 4.5:1 | pass | Site menu and search text |
text-body on bg |
dark | 12.85:1 | 4.5:1 | pass | Site body text |
text-body on bg |
light | 9.51:1 | 4.5:1 | pass | Site body text |
text-body on surface-strong |
dark | 7.19:1 | 4.5:1 | pass | Inline code |
text-body on surface-strong |
light | 8.09:1 | 4.5:1 | pass | Inline code |
text-body on bg-deep |
dark | 13.02:1 | 4.5:1 | pass | Code blocks |
text-body on bg-deep |
light | 8.97:1 | 4.5:1 | pass | Code blocks |
text-soft on bg |
dark | 9.54:1 | 4.5:1 | pass | Secondary text on the page |
text-soft on bg |
light | 6.89:1 | 4.5:1 | pass | Secondary text on the page |
text-soft on surface |
dark | 8.63:1 | 4.5:1 | pass | Secondary text in fields |
text-soft on surface |
light | 8.25:1 | 4.5:1 | pass | Secondary text in fields |
text-soft on surface-raised |
dark | 7.80:1 | 4.5:1 | pass | Table headers |
text-soft on surface-raised |
light | 6.37:1 | 4.5:1 | pass | Table headers |
text-soft on glass (over bg) |
dark | 9.34:1 | 4.5:1 | pass | Secondary text on glass |
text-soft on glass (over bg) |
light | 7.82:1 | 4.5:1 | pass | Secondary text on glass |
text-faint on bg |
dark | 6.49:1 | 4.5:1 | pass | Captions on the page |
text-faint on bg |
light | 4.97:1 | 4.5:1 | pass | Captions on the page |
text-faint on surface |
dark | 5.87:1 | 4.5:1 | pass | Placeholders in fields |
text-faint on surface |
light | 5.95:1 | 4.5:1 | pass | Placeholders in fields |
text-faint on glass (over bg) |
dark | 6.34:1 | 4.5:1 | pass | Eyebrows on glass |
text-faint on glass (over bg) |
light | 5.64:1 | 4.5:1 | pass | Eyebrows on glass |
primary on bg |
dark | 13.04:1 | 4.5:1 | pass | Links and active text |
primary on bg |
light | 5.45:1 | 4.5:1 | pass | Links and active text |
primary on surface |
dark | 11.79:1 | 4.5:1 | pass | Links in panels |
primary on surface |
light | 6.52:1 | 4.5:1 | pass | Links in panels |
primary on surface-raised |
dark | 10.65:1 | 4.5:1 | pass | Links in menus |
primary on surface-raised |
light | 5.03:1 | 4.5:1 | pass | Links in menus |
primary on glass (over bg) |
dark | 12.75:1 | 4.5:1 | pass | Accent text on glass |
primary on glass (over bg) |
light | 6.18:1 | 4.5:1 | pass | Accent text on glass |
on-primary on primary-fill-from |
dark | 13.36:1 | 4.5:1 | pass | Primary button label, top of the gradient |
on-primary on primary-fill-from |
light | 13.36:1 | 4.5:1 | pass | Primary button label, top of the gradient |
on-primary on primary-fill-to |
dark | 9.73:1 | 4.5:1 | pass | Primary button label, foot of the gradient |
on-primary on primary-fill-to |
light | 9.73:1 | 4.5:1 | pass | Primary button label, foot of the gradient |
eyebrow on bg |
dark | 13.04:1 | 4.5:1 | pass | Eyebrow on the page |
eyebrow on bg |
light | 8.27:1 | 4.5:1 | pass | Eyebrow on the page |
eyebrow on glass (over bg) |
dark | 12.75:1 | 4.5:1 | pass | Eyebrow on a panel |
eyebrow on glass (over bg) |
light | 9.39:1 | 4.5:1 | pass | Eyebrow on a panel |
status-ok on bg |
dark | 12.40:1 | 4.5:1 | pass | Status text on the page |
status-ok on bg |
light | 6.71:1 | 4.5:1 | pass | Status text on the page |
status-warning on bg |
dark | 11.40:1 | 4.5:1 | pass | Status text on the page |
status-warning on bg |
light | 5.30:1 | 4.5:1 | pass | Status text on the page |
status-error on bg |
dark | 10.45:1 | 4.5:1 | pass | Status text on the page |
status-error on bg |
light | 7.60:1 | 4.5:1 | pass | Status text on the page |
status-info on bg |
dark | 9.89:1 | 4.5:1 | pass | Status text on the page |
status-info on bg |
light | 6.41:1 | 4.5:1 | pass | Status text on the page |
status-ok on glass (over bg) |
dark | 12.13:1 | 4.5:1 | pass | Status text on a panel |
status-ok on glass (over bg) |
light | 7.61:1 | 4.5:1 | pass | Status text on a panel |
status-warning on glass (over bg) |
dark | 11.15:1 | 4.5:1 | pass | Status text on a panel |
status-warning on glass (over bg) |
light | 6.02:1 | 4.5:1 | pass | Status text on a panel |
status-error on glass (over bg) |
dark | 10.22:1 | 4.5:1 | pass | Status text on a panel |
status-error on glass (over bg) |
light | 8.63:1 | 4.5:1 | pass | Status text on a panel |
status-info on glass (over bg) |
dark | 9.67:1 | 4.5:1 | pass | Status text on a panel |
status-info on glass (over bg) |
light | 7.27:1 | 4.5:1 | pass | Status text on a panel |
status-ok on bg-deep |
dark | 12.57:1 | 4.5:1 | pass | Status text on the deepest ground |
status-ok on bg-deep |
light | 6.33:1 | 4.5:1 | pass | Status text on the deepest ground |
status-warning on bg-deep |
dark | 11.55:1 | 4.5:1 | pass | Status text on the deepest ground |
status-warning on bg-deep |
light | 5.00:1 | 4.5:1 | pass | Status text on the deepest ground |
status-error on bg-deep |
dark | 10.59:1 | 4.5:1 | pass | Status text on the deepest ground |
status-error on bg-deep |
light | 7.17:1 | 4.5:1 | pass | Status text on the deepest ground |
status-info on bg-deep |
dark | 10.02:1 | 4.5:1 | pass | Status text on the deepest ground |
status-info on bg-deep |
light | 6.04:1 | 4.5:1 | pass | Status text on the deepest ground |
text on glass-tint-clear (over bg) |
dark | 17.31:1 | 4.5:1 | pass | Text on clear liquid glass (top bar, tabs, secondary buttons) |
text on glass-tint-clear (over bg) |
light | 15.69:1 | 4.5:1 | pass | Text on clear liquid glass (top bar, tabs, secondary buttons) |
text-soft on glass-tint-clear (over bg) |
dark | 8.89:1 | 4.5:1 | pass | Secondary text on clear liquid glass |
text-soft on glass-tint-clear (over bg) |
light | 7.10:1 | 4.5:1 | pass | Secondary text on clear liquid glass |
text-faint on glass-tint-clear (over bg) |
dark | 6.04:1 | 4.5:1 | pass | Faint text on clear liquid glass |
text-faint on glass-tint-clear (over bg) |
light | 5.12:1 | 4.5:1 | pass | Faint text on clear liquid glass |
text on fill-on (over bg) |
dark | 15.81:1 | 4.5:1 | pass | Selected segment and active item |
text on fill-on (over bg) |
light | 13.18:1 | 4.5:1 | pass | Selected segment and active item |
text-soft on fill-on (over bg) |
dark | 8.12:1 | 4.5:1 | pass | Secondary text on a hovered row or a selected item |
text-soft on fill-on (over bg) |
light | 5.97:1 | 4.5:1 | pass | Secondary text on a hovered row or a selected item |
text-faint on fill-hover (over bg) |
dark | 5.81:1 | 4.5:1 | pass | Faint text on a hovered row |
text-faint on fill-hover (over bg) |
light | 4.62:1 | 4.5:1 | pass | Faint text on a hovered row |
primary on surface |
dark | 11.79:1 | 3:1 | pass | Focus ring on a menu surface (UI component) |
primary on surface |
light | 6.52:1 | 3:1 | pass | Focus ring on a menu surface (UI component) |
console-text on console-bg (over bg) |
dark | 18.71:1 | 4.5:1 | pass | Rail text (dark rail in both themes) |
console-text on console-bg (over bg) |
light | 13.99:1 | 4.5:1 | pass | Rail text (dark rail in both themes) |
console-text-soft on console-bg (over bg) |
dark | 9.61:1 | 4.5:1 | pass | Rail item |
console-text-soft on console-bg (over bg) |
light | 7.19:1 | 4.5:1 | pass | Rail item |
console-text-faint on console-bg (over bg) |
dark | 6.53:1 | 4.5:1 | pass | Rail group label |
console-text-faint on console-bg (over bg) |
light | 4.88:1 | 4.5:1 | pass | Rail group label |
console-status-ok on console-bg (over bg) |
dark | 12.49:1 | 4.5:1 | pass | Gateway state in the rail |
console-status-ok on console-bg (over bg) |
light | 9.34:1 | 4.5:1 | pass | Gateway state in the rail |
console-status-warning on console-bg (over bg) |
dark | 11.48:1 | 4.5:1 | pass | Gateway state in the rail |
console-status-warning on console-bg (over bg) |
light | 8.58:1 | 4.5:1 | pass | Gateway state in the rail |
console-status-error on console-bg (over bg) |
dark | 10.53:1 | 4.5:1 | pass | Gateway state in the rail |
console-status-error on console-bg (over bg) |
light | 7.87:1 | 4.5:1 | pass | Gateway state in the rail |
line-field on bg |
dark | 3.59:1 | 3:1 | pass | Field border against the page (UI component) |
line-field on bg |
light | 3.33:1 | 3:1 | pass | Field border against the page (UI component) |
line-field on glass (over bg) |
dark | 3.64:1 | 3:1 | pass | Field border against a panel (UI component) |
line-field on glass (over bg) |
light | 3.78:1 | 3:1 | pass | Field border against a panel (UI component) |
line-field on field (over bg) |
dark | 3.65:1 | 3:1 | pass | Field border against the field fill (UI component) |
line-field on field (over bg) |
light | 3.63:1 | 3:1 | pass | Field border against the field fill (UI component) |
accent-high on bg |
dark | 15.59:1 | 4.5:1 | pass | Site links and site title |
accent-high on bg |
light | 7.25:1 | 4.5:1 | pass | Site links and site title |
accent-high on accent-low |
dark | 10.21:1 | 4.5:1 | pass | Accent text on a tinted background |
accent-high on accent-low |
light | 7.07:1 | 4.5:1 | pass | Accent text on a tinted background |
accent-low on accent-high |
dark | 10.21:1 | 4.5:1 | pass | Site current page (dark): text-invert on text-accent |
bg on accent |
light | 5.45:1 | 4.5:1 | pass | Site current page and filled link button (light): text on text-accent |
bg on accent-high |
dark | 15.59:1 | 4.5:1 | pass | Site filled link button (dark): page color on text-accent |
secondary on bg |
dark | 7.29:1 | 4.5:1 | pass | Violet text |
secondary on bg |
light | 5.67:1 | 4.5:1 | pass | Violet text |
secondary on secondary-low |
dark | 5.72:1 | 4.5:1 | pass | Violet text on its tint |
secondary on secondary-low |
light | 5.66:1 | 4.5:1 | pass | Violet text on its tint |
tertiary on bg |
dark | 11.40:1 | 4.5:1 | pass | Warm accent text |
tertiary on bg |
light | 5.30:1 | 4.5:1 | pass | Warm accent text |
success-text on bg |
dark | 12.40:1 | 4.5:1 | pass | Success text |
success-text on bg |
light | 6.71:1 | 4.5:1 | pass | Success text |
success-text on success-low |
dark | 7.89:1 | 4.5:1 | pass | Success text on its tint |
success-text on success-low |
light | 6.84:1 | 4.5:1 | pass | Success text on its tint |
warning-text on bg |
dark | 12.11:1 | 4.5:1 | pass | Warning text |
warning-text on bg |
light | 7.08:1 | 4.5:1 | pass | Warning text |
warning-text on warning-low |
dark | 8.01:1 | 4.5:1 | pass | Warning text on its tint |
warning-text on warning-low |
light | 7.24:1 | 4.5:1 | pass | Warning text on its tint |
danger on bg |
dark | 10.45:1 | 4.5:1 | pass | Semantic red text (!panic, destructive links) |
danger on bg |
light | 5.76:1 | 4.5:1 | pass | Semantic red text (!panic, destructive links) |
danger-text on bg |
dark | 10.45:1 | 4.5:1 | pass | Failure text |
danger-text on bg |
light | 7.60:1 | 4.5:1 | pass | Failure text |
danger-text on danger-low |
dark | 8.10:1 | 4.5:1 | pass | Failure text on its tint |
danger-text on danger-low |
light | 7.31:1 | 4.5:1 | pass | Failure text on its tint |
info-text on bg |
dark | 9.89:1 | 4.5:1 | pass | Information text |
info-text on bg |
light | 6.41:1 | 4.5:1 | pass | Information text |
info-text on info-low |
dark | 7.26:1 | 4.5:1 | pass | Information text on its tint |
info-text on info-low |
light | 6.29:1 | 4.5:1 | pass | Information text on its tint |
line-field on surface (over bg) |
dark | 3.62:1 | 3:1 | pass | Field border against the field (UI component) |
line-field on surface (over bg) |
light | 3.99:1 | 3:1 | pass | Field border against the field (UI component) |
line-contrast on bg |
dark | 5.32:1 | 3:1 | pass | Strong border against the page (UI component) |
line-contrast on bg |
light | 5.46:1 | 3:1 | pass | Strong border against the page (UI component) |
primary on bg |
dark | 13.04:1 | 3:1 | pass | Focus ring against the page (UI component) |
primary on bg |
light | 5.45:1 | 3:1 | pass | Focus ring against the page (UI component) |
accent on bg |
dark | 8.97:1 | 3:1 | pass | Site accent fill against the page (UI component) |
accent on bg |
light | 5.45:1 | 3:1 | pass | Site accent fill against the page (UI component) |
success on bg |
dark | 11.71:1 | 3:1 | pass | Success indicator (UI component) |
success on bg |
light | 4.46:1 | 3:1 | pass | Success indicator (UI component) |
warning on bg |
dark | 12.11:1 | 3:1 | pass | Warning indicator (UI component) |
warning on bg |
light | 3.68:1 | 3:1 | pass | Warning indicator (UI component) |
danger on bg |
dark | 10.45:1 | 3:1 | pass | Danger indicator (UI component) |
danger on bg |
light | 5.76:1 | 3:1 | pass | Danger indicator (UI component) |
info on bg |
dark | 9.59:1 | 3:1 | pass | Information indicator (UI component) |
info on bg |
light | 4.85:1 | 3:1 | pass | Information indicator (UI component) |
danger-strong on on-danger-strong |
dark | 9.61:1 | 4.5:1 | pass | Console: .panic-release |
danger-strong on on-danger-strong |
light | 9.61:1 | 4.5:1 | pass | Console: .panic-release |
info on info-low |
dark | 7.04:1 | 4.5:1 | pass | Console: .metric-icon.blue |
info on info-low |
light | 4.76:1 | 4.5:1 | pass | Console: .metric-icon.blue |
on-danger-strong on danger-strong |
dark | 9.61:1 | 4.5:1 | pass | Console: .panic-banner |
on-danger-strong on danger-strong |
light | 9.61:1 | 4.5:1 | pass | Console: .panic-banner |
on-primary on primary-strong |
dark | 8.54:1 | 4.5:1 | pass | Console: .brand-icon |
on-primary on primary-strong |
light | 8.54:1 | 4.5:1 | pass | Console: .brand-icon |
primary on primary-a08 |
dark | 12.49:1 | 4.5:1 | pass | Console: .registry-brand-icon |
primary on primary-a08 |
light | 5.22:1 | 4.5:1 | pass | Console: .registry-brand-icon |
primary on primary-a0d |
dark | 12.13:1 | 4.5:1 | pass | Console: .registry-model-icon |
primary on primary-a0d |
light | 5.07:1 | 4.5:1 | pass | Console: .registry-model-icon |
primary on primary-a1f |
dark | 10.49:1 | 4.5:1 | pass | Console: .public-hub-model-icon |
primary on primary-a1f |
light | 4.59:1 | 4.5:1 | pass | Console: .public-hub-model-icon |
primary on primary-strong-a26 |
dark | 10.47:1 | 4.5:1 | pass | Console: .workspace-avatar, .catalog-glyph, .avatar |
primary on primary-strong-a26 |
light | 4.93:1 | 4.5:1 | pass | Console: .workspace-avatar, .catalog-glyph, .avatar |
primary on primary-strong-a33 |
dark | 9.42:1 | 4.5:1 | pass | Console: .filter-count |
primary on primary-strong-a33 |
light | 4.78:1 | 4.5:1 | pass | Console: .filter-count |
primary on surface-strong |
dark | 7.29:1 | 4.5:1 | pass | Console: .panel-icon, .count-pill, .model-glyph |
primary on surface-strong |
light | 4.64:1 | 4.5:1 | pass | Console: .panel-icon, .count-pill, .model-glyph |
success on success-low |
dark | 7.45:1 | 4.5:1 | pass | Console: .metric-icon.mint |
success on success-low |
light | 4.55:1 | 4.5:1 | pass | Console: .metric-icon.mint |
success-text on success-a0d |
dark | 11.58:1 | 4.5:1 | pass | Console: .registry-state |
success-text on success-a0d |
light | 6.29:1 | 4.5:1 | pass | Console: .registry-state |
success-text on success-a1f |
dark | 10.11:1 | 4.5:1 | pass | Console: .durability-state-completed |
success-text on success-a1f |
light | 5.74:1 | 4.5:1 | pass | Console: .durability-state-completed |
success-text on success-a26 |
dark | 9.55:1 | 4.5:1 | pass | Console: .public-hub-published |
success-text on success-a26 |
light | 5.55:1 | 4.5:1 | pass | Console: .public-hub-published |
tertiary on tertiary-low |
dark | 6.31:1 | 4.5:1 | pass | Console: .metric-icon.amber, .status-off |
tertiary on tertiary-low |
light | 5.25:1 | 4.5:1 | pass | Console: .metric-icon.amber, .status-off |
text on danger-low |
dark | 14.40:1 | 4.5:1 | pass | Console: .evals-diff del |
text on danger-low |
light | 14.63:1 | 4.5:1 | pass | Console: .evals-diff del |
text on line-a14 |
dark | 16.24:1 | 4.5:1 | pass | Console: .agreement-heatmap td |
text on line-a14 |
light | 13.18:1 | 4.5:1 | pass | Console: .agreement-heatmap td |
text on primary-a08 |
dark | 17.81:1 | 4.5:1 | pass | Console: .nav-item.active |
text on primary-a08 |
light | 14.60:1 | 4.5:1 | pass | Console: .nav-item.active |
text on primary-a12 |
dark | 16.70:1 | 4.5:1 | pass | Console: .nav-item:hover |
text on primary-a12 |
light | 13.83:1 | 4.5:1 | pass | Console: .nav-item:hover |
text on primary-a1f |
dark | 14.94:1 | 4.5:1 | pass | Console: .analysis-tabs button.selected |
text on primary-a1f |
light | 12.84:1 | 4.5:1 | pass | Console: .analysis-tabs button.selected |
text on success-low |
dark | 11.82:1 | 4.5:1 | pass | Console: .evals-diff ins |
text on success-low |
light | 15.53:1 | 4.5:1 | pass | Console: .evals-diff ins |
text on surface-raised-a4d |
dark | 17.76:1 | 4.5:1 | pass | Console: .comparison-selection-actions button |
text on surface-raised-a4d |
light | 14.92:1 | 4.5:1 | pass | Console: .comparison-selection-actions button |
text on surface-raised-a80 |
dark | 17.09:1 | 4.5:1 | pass | Console: .registry-button.subtle |
text on surface-raised-a80 |
light | 14.62:1 | 4.5:1 | pass | Console: .registry-button.subtle |
text on surface-strong |
dark | 10.40:1 | 4.5:1 | pass | Console: .endpoint-tabs button.active |
text on surface-strong |
light | 12.96:1 | 4.5:1 | pass | Console: .endpoint-tabs button.active |
text-body on accent-low |
dark | 8.42:1 | 4.5:1 | pass | Console: .journey-node > span |
text-body on accent-low |
light | 9.28:1 | 4.5:1 | pass | Console: .journey-node > span |
text-body on primary-a1f |
dark | 10.33:1 | 4.5:1 | pass | Console: .catalog-import-note |
text-body on primary-a1f |
light | 8.02:1 | 4.5:1 | pass | Console: .catalog-import-note |
text-body on primary-a26 |
dark | 9.65:1 | 4.5:1 | pass | Console: .durability-state, .public-hub-capabilities span |
text-body on primary-a26 |
light | 7.69:1 | 4.5:1 | pass | Console: .durability-state, .public-hub-capabilities span |
text-body on primary-a2e |
dark | 8.83:1 | 4.5:1 | pass | Console: .catalog-glyph |
text-body on primary-a2e |
light | 7.35:1 | 4.5:1 | pass | Console: .catalog-glyph |
text-body on surface |
dark | 11.62:1 | 4.5:1 | pass | Console: .about-panel |
text-body on surface |
light | 11.39:1 | 4.5:1 | pass | Console: .about-panel |
text-body on surface-raised |
dark | 10.50:1 | 4.5:1 | pass | Console: .filter-bar select, .external-catalog .filter-bar input |
text-body on surface-raised |
light | 8.79:1 | 4.5:1 | pass | Console: .filter-bar select, .external-catalog .filter-bar input |
text-body on tertiary-a4d |
dark | 6.60:1 | 4.5:1 | pass | Console: .registry-benchmarks-page .benchmark-notice, .registry-quality-page .quality-notice |
text-body on tertiary-a4d |
light | 6.20:1 | 4.5:1 | pass | Console: .registry-benchmarks-page .benchmark-notice, .registry-quality-page .quality-notice |
text-body on warning-a4d |
dark | 6.40:1 | 4.5:1 | pass | Console: .registry-updates-page .updates-warning |
text-body on warning-a4d |
light | 6.65:1 | 4.5:1 | pass | Console: .registry-updates-page .updates-warning |
text-faint on surface-raised |
dark | 5.30:1 | 4.5:1 | pass | Console: th, .searchbox, .input-wrap and more |
text-faint on surface-raised |
light | 4.59:1 | 4.5:1 | pass | Console: th, .searchbox, .input-wrap and more |
text-high on danger-low |
dark | 12.82:1 | 4.5:1 | pass | Console: .identity-message |
text-high on danger-low |
light | 12.57:1 | 4.5:1 | pass | Console: .identity-message |
text-high on surface |
dark | 14.96:1 | 4.5:1 | pass | Console: .mcp-execution input:not([type=“checkbox”]), .mcp-team-credentials-form select, .identity-grid input and more |
text-high on surface |
light | 15.67:1 | 4.5:1 | pass | Console: .mcp-execution input:not([type=“checkbox”]), .mcp-team-credentials-form select, .identity-grid input and more |
text-high on surface-acc |
dark | 15.33:1 | 4.5:1 | pass | Console: .log-filter-grid input |
text-high on surface-acc |
light | 15.10:1 | 4.5:1 | pass | Console: .log-filter-grid input |
text-high on surface-raised |
dark | 13.52:1 | 4.5:1 | pass | Console: .quota-video input, .jwt-binding-form label input:not([type=“checkbox”]), .playground-controls input and more |
text-high on surface-raised |
light | 12.09:1 | 4.5:1 | pass | Console: .quota-video input, .jwt-binding-form label input:not([type=“checkbox”]), .playground-controls input and more |
text-high on surface-strong |
dark | 9.26:1 | 4.5:1 | pass | Console: .analysis-tabs button.selected, .avatar, .filter-count |
text-high on surface-strong |
light | 11.13:1 | 4.5:1 | pass | Console: .analysis-tabs button.selected, .avatar, .filter-count |
text-soft on line-a14 |
dark | 8.35:1 | 4.5:1 | pass | Console: .registry-provider-tags span |
text-soft on line-a14 |
light | 5.97:1 | 4.5:1 | pass | Console: .registry-provider-tags span |
text-soft on primary-strong-a1f |
dark | 8.07:1 | 4.5:1 | pass | Console: .count-pill |
text-soft on primary-strong-a1f |
light | 6.37:1 | 4.5:1 | pass | Console: .count-pill |
text-soft on surface-raised-a33 |
dark | 9.27:1 | 4.5:1 | pass | Console: .comparison-table tbody th |
text-soft on surface-raised-a33 |
light | 6.77:1 | 4.5:1 | pass | Console: .comparison-table tbody th |
text-soft on surface-raised-a4d |
dark | 9.12:1 | 4.5:1 | pass | Console: .registry-provider-table th |
text-soft on surface-raised-a4d |
light | 6.75:1 | 4.5:1 | pass | Console: .registry-provider-table th |
text-soft on surface-strong |
dark | 5.34:1 | 4.5:1 | pass | Console: .model-capabilities span, .provider-icon, .close-button and more |
text-soft on surface-strong |
light | 5.86:1 | 4.5:1 | pass | Console: .model-capabilities span, .provider-icon, .close-button and more |
warning-text on warning-a08 |
dark | 11.65:1 | 4.5:1 | pass | Console: .registry-state.stale |
warning-text on warning-a08 |
light | 6.83:1 | 4.5:1 | pass | Console: .registry-state.stale |
warning-text on warning-a1f |
dark | 9.84:1 | 4.5:1 | pass | Console: .durability-state-indeterminate |
warning-text on warning-a1f |
light | 6.15:1 | 4.5:1 | pass | Console: .durability-state-indeterminate |
chart-usage-1 on glass (over bg) |
dark | 5.82:1 | 3:1 | pass | Chart series usage 1 on the console panel (graphic) |
chart-usage-1 on glass (over bg) |
light | 6.03:1 | 3:1 | pass | Chart series usage 1 on the console panel (graphic) |
chart-usage-2 on glass (over bg) |
dark | 6.63:1 | 3:1 | pass | Chart series usage 2 on the console panel (graphic) |
chart-usage-2 on glass (over bg) |
light | 3.86:1 | 3:1 | pass | Chart series usage 2 on the console panel (graphic) |
chart-eval-runs-1 on glass (over bg) |
dark | 5.33:1 | 3:1 | pass | Chart series eval-runs 1 on the console panel (graphic) |
chart-eval-runs-1 on glass (over bg) |
light | 4.18:1 | 3:1 | pass | Chart series eval-runs 1 on the console panel (graphic) |
chart-eval-runs-2 on glass (over bg) |
dark | 5.00:1 | 3:1 | pass | Chart series eval-runs 2 on the console panel (graphic) |
chart-eval-runs-2 on glass (over bg) |
light | 3.80:1 | 3:1 | pass | Chart series eval-runs 2 on the console panel (graphic) |
chart-eval-runs-3 on glass (over bg) |
dark | 5.70:1 | 3:1 | pass | Chart series eval-runs 3 on the console panel (graphic) |
chart-eval-runs-3 on glass (over bg) |
light | 3.68:1 | 3:1 | pass | Chart series eval-runs 3 on the console panel (graphic) |
chart-eval-runs-4 on glass (over bg) |
dark | 6.32:1 | 3:1 | pass | Chart series eval-runs 4 on the console panel (graphic) |
chart-eval-runs-4 on glass (over bg) |
light | 4.06:1 | 3:1 | pass | Chart series eval-runs 4 on the console panel (graphic) |
chart-eval-runs-5 on glass (over bg) |
dark | 4.92:1 | 3:1 | pass | Chart series eval-runs 5 on the console panel (graphic) |
chart-eval-runs-5 on glass (over bg) |
light | 3.81:1 | 3:1 | pass | Chart series eval-runs 5 on the console panel (graphic) |
chart-eval-scores-bar on glass (over bg) |
dark | 5.82:1 | 3:1 | pass | Chart series eval-scores bar on the console panel (graphic) |
chart-eval-scores-bar on glass (over bg) |
light | 6.03:1 | 3:1 | pass | Chart series eval-scores bar on the console panel (graphic) |
chart-eval-trend-bar on glass (over bg) |
dark | 6.63:1 | 3:1 | pass | Chart series eval-trend bar on the console panel (graphic) |
chart-eval-trend-bar on glass (over bg) |
light | 3.86:1 | 3:1 | pass | Chart series eval-trend bar on the console panel (graphic) |
chart-agreement-base on glass (over bg) |
dark | 5.33:1 | 3:1 | pass | Chart series agreement base on the console panel (graphic) |
chart-agreement-base on glass (over bg) |
light | 4.18:1 | 3:1 | pass | Chart series agreement base on the console panel (graphic) |
chart-valuation-known on glass (over bg) |
dark | 6.58:1 | 3:1 | pass | Chart series valuation known on the console panel (graphic) |
chart-valuation-known on glass (over bg) |
light | 4.11:1 | 3:1 | pass | Chart series valuation known on the console panel (graphic) |
chart-valuation-partial on glass (over bg) |
dark | 4.32:1 | 3:1 | pass | Chart series valuation partial on the console panel (graphic) |
chart-valuation-partial on glass (over bg) |
light | 5.47:1 | 3:1 | pass | Chart series valuation partial on the console panel (graphic) |
chart-valuation-unknown on glass (over bg) |
dark | 6.15:1 | 3:1 | pass | Chart series valuation unknown on the console panel (graphic) |
chart-valuation-unknown on glass (over bg) |
light | 4.19:1 | 3:1 | pass | Chart series valuation unknown on the console panel (graphic) |
chart-valuation-unvalued on glass (over bg) |
dark | 4.11:1 | 3:1 | pass | Chart series valuation unvalued on the console panel (graphic) |
chart-valuation-unvalued on glass (over bg) |
light | 4.47:1 | 3:1 | pass | Chart series valuation unvalued on the console panel (graphic) |
chart-valuation-trend-bar on glass (over bg) |
dark | 3.06:1 | 3:1 | pass | Chart series valuation-trend bar on the console panel (graphic) |
chart-valuation-trend-bar on glass (over bg) |
light | 3.46:1 | 3:1 | pass | Chart series valuation-trend bar on the console panel (graphic) |
chart-valuation-trend-selected on glass (over bg) |
dark | 6.33:1 | 3:1 | pass | Chart series valuation-trend selected on the console panel (graphic) |
chart-valuation-trend-selected on glass (over bg) |
light | 7.57:1 | 3:1 | pass | Chart series valuation-trend selected on the console panel (graphic) |
shadow on chart-eval-runs-1 |
dark | 5.77:1 | 4.5:1 | pass | Console: .waterfall-bar-label on a span bar |
shadow on chart-eval-runs-1 |
light | 4.76:1 | 4.5:1 | pass | Console: .waterfall-bar-label on a span bar |
on-danger-strong on danger-strong |
dark | 9.61:1 | 4.5:1 | pass | Console: the destructive button of an m7 ai proposal |
on-danger-strong on danger-strong |
light | 9.61:1 | 4.5:1 | pass | Console: the destructive button of an m7 ai proposal |
console-text on slab-button-mid |
dark | 17.94:1 | 4.5:1 | pass | Console: .ask-ai-send icon on the slab (dark in both themes) |
console-text on slab-button-mid |
light | 17.94:1 | 4.5:1 | pass | Console: .ask-ai-send icon on the slab (dark in both themes) |
brand-eyes on brand-light |
dark | 12.32:1 | 3:1 | pass | m7’s eyes on the top of its gradient (graphic) |
brand-eyes on brand-light |
light | 12.32:1 | 3:1 | pass | m7’s eyes on the top of its gradient (graphic) |
brand-eyes on brand-strong |
dark | 7.47:1 | 3:1 | pass | m7’s eyes on the middle of its gradient, where they sit (graphic) |
brand-eyes on brand-strong |
light | 7.47:1 | 3:1 | pass | m7’s eyes on the middle of its gradient, where they sit (graphic) |
brand-strong on bg |
dark | 8.97:1 | 3:1 | pass | m7 against the page (graphic) |
brand-strong on bg |
light | 1.85:1 | 3:1 | exception: logos are exempt from WCAG 1.4.11; the light site keeps the brand gradient, and the site title text beside the mark carries the name | m7 against the page (graphic) |
The only exception is m7 on the light site: the middle of its gradient on the light page is below 3:1 (last row of the table). Logos are exempt from WCAG 1.4.11, and the site title beside the mark carries the name in text that passes.
To see the same table in a terminal:
python3 scripts/design-tokens.py contrastHow the site maps the roles
Section titled “How the site maps the roles”The site’s rgfem.css maps Starlight’s variables to roles once, on :root; the light values follow automatically because the tokens change under :root[data-theme="light"]. Starlight’s fonts are mapped the same way: --sl-font is --font-body and --sl-font-mono is --font-mono.
| Starlight variable | Role |
|---|---|
--sl-color-white |
text |
--sl-color-gray-1 |
text-high |
--sl-color-gray-2 (body text) |
text-body |
--sl-color-gray-3 |
text-soft |
--sl-color-gray-4 |
line-contrast |
--sl-color-gray-5 |
surface-strong |
--sl-color-gray-6 |
surface-raised |
--sl-color-gray-7 (light only) |
bg-deep |
--sl-color-black (page) |
bg |
--sl-color-bg-nav (the phone’s “On this page” bar) |
bg |
--sl-color-bg-sidebar |
none: the sidebar is transparent, on the open page |
--sl-color-hairline / --sl-color-hairline-light |
line / line-strong |
--sl-color-accent-low / --sl-color-accent / --sl-color-accent-high |
accent-low / accent / accent-high |
--sl-color-green-*, --sl-color-orange-*, --sl-color-red-*, --sl-color-blue-* |
success*, warning*, danger*, info* (low tint, indicator, text) |
--sl-color-purple-low / --sl-color-purple / --sl-color-purple-high |
secondary-low / secondary / secondary |
- No color literal in any console stylesheet (
web/src/*.css) or component (web/src/*.tsx,*.ts), nor in the site’srgfem.css: the check rejects a hex, a color function (rgb(),hsl(),oklch()and the rest), a named color in a CSS value, a named color given to a style key or SVG paint attribute, and a literal used as avar()fallback.transparentandcurrentColorare keywords, not colors. - The check also reads colors inside inline SVG data URIs (
%23rrggbbincluded), and in components a named color handed to a style key (border: "1px solid red", a ternary of colors), toel.style,setAttribute, or CSS written in a string. A named color counts only where CSS accepts a color, sofont-family: Goldor#add-rowas a selector is not one. - The few literals that are data rather than paint are listed with their reason and exact count in
LITERAL_ALLOWLISTofscripts/design-tokens.py(the default branding accent of the editor and of an API example, the branding ink); an extra use of the same value, or an entry that no longer occurs, fails the check. The m7 engine (web/src/m7/) is a console source too: it reads the brand tokens, and the console favicon takes their computed values at run time. - The console page’s
<meta name="theme-color">(web/index.html) cannot read CSS:writesets it to the dark--color-bgfor the first paint, and the console updates it when it applies a theme. - Outside the console bundle and not covered: the Swagger host page’s small stylesheet
web/public/api-docs.css(a light page with its own header colors). - Pick the role by meaning, not by the nearest shade: a warning stays amber, an error red, a link or the selected state primary. When no role means what a color means, add a role, with a value for each theme.
- A new text/background pair goes into
contrastand must pass. - Chart series colors are validated palettes under
color.chart, not roles; see Charts.