@filipgutica/design-system 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,18 +3,18 @@
3
3
  Filip's design language for any framework: the spec, the tokens, the component catalogue, and the editor themes. It ships as the npm package `@filipgutica/design-system`.
4
4
 
5
5
  - **Agents** get `language/` at `~/design-language` through filip-stack host config, or by copying it from the package; the site's [Agents](https://filipgutica.github.io/design-system/#agents) section has both.
6
- - **Vue apps** use [`@filipgutica/ui`](https://github.com/filipgutica/ui), which implements this design language.
6
+ - **Vue apps** can use [`@filipgutica/ui`](https://github.com/filipgutica/ui), a Vue component library built on this design system.
7
7
  - **Site:** <https://filipgutica.github.io/design-system/> has the Overview, Foundations, and Components pages, with `index.json` and `llms.txt` for agents.
8
8
 
9
9
  ## Contents
10
10
 
11
11
  | Path | What it holds |
12
12
  | --- | --- |
13
- | `language/` | The payload: `DESIGN.md`, `components.md`, `decisions.md`, `visualizations.md`, `tokens.css`, the catalogue (`components.html`), `implementations.json` (each component's Vue and React version), example pages, visualization helpers, and the Graphite Indigo editor theme |
13
+ | `language/` | The payload: `DESIGN.md`, `components.md`, `decisions.md`, `visualizations.md`, `tokens.css`, the catalogue (`components.html`), example pages, visualization helpers, and the Graphite Indigo editor theme |
14
14
  | `tokens/core.json`, `tokens/themes/*.json` | The token values, the only place a value lives, and each token's role. Core holds every token; each theme file holds only its name, a note, its hue pair, and optional fonts |
15
15
  | `scripts/build-tokens.mjs` | The token generator: writes `language/tokens.css` and `dist/` |
16
16
  | `scripts/build-site.mjs` | The site build: writes `site/` for GitHub Pages from `components.html`, the tokens, and `package.json` |
17
- | `dist/` | Generated token files for the class flavour, theme overrides, JSON, and JavaScript |
17
+ | `dist/` | Generated theme files, JSON, and JavaScript |
18
18
  | `fonts/` | IBM Plex latin `woff2` files, `fonts.css`, and their OFL licences |
19
19
  | `tests/` | Guard tests for the payload, the tokens, and the site build, the React smoke test, and behaviour tests for the catalogue and the built site |
20
20
 
@@ -30,8 +30,7 @@ npm install @filipgutica/design-system
30
30
 
31
31
  | Import | What it is |
32
32
  | --- | --- |
33
- | `@filipgutica/design-system/tokens.css` | The tokens with their standalone names. Dark mode follows `prefers-color-scheme`; set `data-theme="light"` or `"dark"` on `<html>` to override it. |
34
- | `@filipgutica/design-system/class/base.css`, `class/themes/*.css` | The same values with `@filipgutica/ui`'s names, for apps that toggle a `.dark` class on `<html>`. Use one flavour per app. Import `class/base.css`, then one theme's roles: `class/themes/graphite-indigo.css` (the default), `mauve.css`, or `pine.css`. |
33
+ | `@filipgutica/design-system/tokens.css` | The tokens. Dark mode follows `prefers-color-scheme`; set `data-theme="light"` or `"dark"` on `<html>` to override it. |
35
34
  | `@filipgutica/design-system/themes/*.css` | A theme's identity inputs (hue pair and fonts): `graphite-indigo` (the default, already in `tokens.css`), `mauve`, or `pine`. Load one after `tokens.css`, on `:root`. |
36
35
  | `@filipgutica/design-system/fonts.css` | IBM Plex Sans and Mono. |
37
36
  | `@filipgutica/design-system` | `tokens` (resolved values per theme and mode) and `cssVar(name)`, with types. |
@@ -39,7 +39,7 @@ Center the **container**, not every sentence. Align header, content, images, and
39
39
 
40
40
  ## Files and examples
41
41
 
42
- - `tokens.css`: the values of the default theme, Graphite Indigo, generated from the token source (`tokens/core.json` and `tokens/themes/graphite-indigo.json`) in `@filipgutica/design-system`. Other themes ship as `themes/<id>.css`, which set only the identity inputs; load one after `tokens.css`, on `:root`. To change a value, edit the JSON there and run `pnpm tokens:build`; do not edit `tokens.css` by hand. The identity inputs sit in one block at the top. Each line's `ui:` comment lists the library variables that carry that value, the line's own name first.
42
+ - `tokens.css`: the values of the default theme, Graphite Indigo, generated from the token source (`tokens/core.json` and `tokens/themes/graphite-indigo.json`) in `@filipgutica/design-system`. Other themes ship as `themes/<id>.css`, which set only the identity inputs; load one after `tokens.css`, on `:root`. To change a value, edit the JSON there and run `pnpm tokens:build`; do not edit `tokens.css` by hand. The identity inputs sit in one block at the top.
43
43
  - `components.md`: one spec for each component, with anatomy, states, Do and Don't lines, keyboard and screen-reader behavior, motion, and forced colors. Read it for any component work.
44
44
  - `components.html`: every component in each of its states, in plain HTML and CSS on `tokens.css`. Copy component markup and styles from there.
45
45
  - `decisions.md`: the choices behind the components, and the options they replaced.
@@ -48,14 +48,12 @@ Center the **container**, not every sentence. Align header, content, images, and
48
48
  - `product.html`: a restrained product-page hierarchy with illustrative product evidence.
49
49
  - `DESIGN.md`: selection rules and acceptance criteria. It names tokens rather than repeating their values.
50
50
 
51
- Personal sites import `@filipgutica/ui/themes/graphite-indigo.css` and the shared site helpers. The UI package owns the values and generation procedure.
52
-
53
- Token names depend on where the page runs. This file uses the `tokens.css` names, which `@filipgutica/ui` shares.
51
+ Token names depend on where the page runs. This file uses the `tokens.css` names.
54
52
 
55
53
  | Context | Variable names to write |
56
54
  | --- | --- |
57
55
  | Standalone HTML | The `tokens.css` names. Import or inline `tokens.css`, and copy component styles from `components.html`. |
58
- | Site on `@filipgutica/ui` | The `tokens.css` names, which the library declares. The exceptions are `--color-nav-current-text` and `--color-segmented-current-text`: the library does not declare them, so write them with the fallback their `ui:` comment shows. Without it, `var()` falls back without an error. The library draws the base focus ring only inside `.fg-site-docs`; elsewhere, write it yourself, exactly `outline: var(--focus-width) solid var(--color-focus); outline-offset: var(--focus-offset)`. |
56
+ | Site on a component library built on this design language | The `tokens.css` names that the library declares. The library's own documentation lists any it lacks and any helper behaviour. |
59
57
  | Other repository | That repository's own tokens and components, matched to these roles by meaning. |
60
58
  | Inline visual | The host's supplied CSS variables and font, with no separate page shell. |
61
59
 
@@ -104,9 +102,9 @@ Controls use quiet depth and familiar shapes: borderless surfaces with one tight
104
102
  | Tablet | `@media (max-width: 800px)` | Multi-column layouts become one content column. Touch controls use `--control-lg`. |
105
103
  | Phone | `@media (max-width: 640px)` | Side gutters drop from `--space-6` to `--space-4`, and section gaps take their phone step. |
106
104
 
107
- Use `@media (min-width: 801px)` only for a rule that applies to desktop alone. One documented exception: the tool-home hero (`.fg-site-hero` in `@filipgutica/ui`) splits at `@media (min-width: 1024px)`, with the title across the top, the lede on the left, and the install block and facts on the right. Below 1024px it stacks in source order. `@filipgutica/ui` also ships 680px rules for its own site header, prose title and definitions (`max-width: 680px`, with `min-width: 681px` for frame padding); they belong to the library, so pages add no viewport breakpoint beyond the table and the hero split. A pane that must collapse at its own width uses a container query, as the detail column in `reference.html` does.
105
+ Use `@media (min-width: 801px)` only for a rule that applies to desktop alone. One documented exception: the tool-home hero splits at `@media (min-width: 1024px)`, with the title across the top, the lede on the left, and the install block and facts on the right. Below 1024px it stacks in source order. Pages add no viewport breakpoint beyond the table and the hero split. A pane that must collapse at its own width uses a container query, as the detail column in `reference.html` does.
108
106
  - Density: an application screen has one size for each place, not a range. Toolbar controls (buttons, segmented filters, and search fields) are `sm`, `--control-sm` tall. Rows in a table or list, such as the console's monitor list, and rail and navigation rows, are `--row` tall. Other controls keep the default `md` (`--control-md`). At tablet width every touch target grows to `--control-lg`. The console in `reference.html` uses these sizes.
109
- - [Navigation](#navigation) is a strip of 6 links or fewer, or a section rail that moves into a drawer at tablet width. A sticky side rail taller than the window scrolls its link list, not the element that draws its divider, so an overlay scrollbar sits clear of the line; `UiSiteNav` does this. Keep wide code, tables, and charts scrolling inside their containers.
107
+ - [Navigation](#navigation) is a strip of 6 links or fewer, or a section rail that moves into a drawer at tablet width. A sticky side rail taller than the window scrolls its link list, not the element that draws its divider, so an overlay scrollbar sits clear of the line. Keep wide code, tables, and charts scrolling inside their containers.
110
108
  - Keep main headings, actions, and product evidence visible on load. Scrolling should reveal more content without being required to make existing content appear.
111
109
 
112
110
  ### Surfaces
@@ -234,7 +232,7 @@ Each depth tier has one token. [`tokens.css`](tokens.css) holds every shadow val
234
232
 
235
233
  The personal sites are terminal tools that read Markdown and paths, so their identity comes from that world. A new project replaces this section with its own identity and keeps the core.
236
234
 
237
- - **Mono identity.** `--font-mono` (IBM Plex Mono) sets identity, the page titles and section headings of documentation, CLI tool, article, and product pages, navigation rails, metadata, captions, and the footer. `@filipgutica/ui` self-hosts IBM Plex; elsewhere the tokens fall back to the system stack.
235
+ - **Mono identity.** `--font-mono` (IBM Plex Mono) sets identity, the page titles and section headings of documentation, CLI tool, article, and product pages, navigation rails, metadata, captions, and the footer. `fonts.css` self-hosts IBM Plex; without it, the tokens fall back to the system stack.
238
236
  - **Headings.** Documentation, CLI tool, article, and product page titles are mono; application titles are `--font-ui`. Page-level section headings (h2) on documentation, CLI tool, article, and product pages are mono, start with a `##` mark in `--color-accent` (decorative, so screen readers skip it), and have a `--color-border-subtle` rule above the section. Application and inline-visualization section headings, and every h3 or lower, are plain `--font-ui` with no mark. Product pages and tool homes may use a mono `--text-display` title, stepping down to `--text-display-sm` on phones; keep a short heading measure, place supporting copy and the primary action nearby, and let the first product image enter the initial desktop viewport.
239
237
  - **Hue marks.** The hue also draws the `~/` header mark, the `##` mark on documentation, CLI tool, article, and product section headings, step numbers, and the `$` prompt.
240
238
  - **Header.** Personal product sites share a compact static header: a mono `~/name` identity with the `~/` in `--color-accent`, a project switcher, useful page links, appearance controls, and a solid `--color-text` rule below. Use the shared project registry for names, order, and destinations; the design-system site's header starts with the same switcher. The identity is the same on every page, and the links sit at the same x on every page; the page's path goes in [breadcrumbs](components.md#breadcrumbs) above its title. Keep a gallery's existing application navigation structure.
@@ -1,6 +1,6 @@
1
1
  # Component specs
2
2
 
3
- One section for each component in the design language. Write any framework's version of a component from its section. [`components.html`](components.html) shows each state as static markup, and [`tokens.css`](tokens.css) holds the values. The [decisions](decisions.md) record why each choice was made. `@filipgutica/ui` is the Vue implementation; the `ui:` line in each section names its component, for comparison only.
3
+ One section for each component in the design language. Write any framework's version of a component from its section. [`components.html`](components.html) shows each state as static markup, and [`tokens.css`](tokens.css) holds the values. The [decisions](decisions.md) record why each choice was made.
4
4
 
5
5
  Each section has these parts: anatomy, states, then Do and Don't, keyboard and screen reader, motion, and forced colors. A part that does not apply says "None", with the reason. Do names the choice to make, and Don't names the mistake to avoid; neither repeats the spec. A section may add tokens and parts of its own. Sizes are in CSS pixels at the default 16px root font size. Type, spacing, and control sizes are set in rem (pixels ÷ 16), so they follow the reader's font-size setting; borders, focus rings, and shadows stay in pixels. A percentage mix means `color-mix(in srgb, A n%, B)`.
6
6
 
@@ -45,9 +45,9 @@ A control's **States** line names each interactive state it has. In `components.
45
45
 
46
46
  ## Button
47
47
 
48
- Layer: Core. ui: `UiButton`.
48
+ Layer: Core.
49
49
 
50
- - **Anatomy.** A native `<button>` with a label and an optional 16px leading icon. A link that should look like a button is an `<a>` with the same classes and no underline; in `@filipgutica/ui`, `class="fg-button"` with `data-variant` and `data-size`. Medium weight, `-0.01em` tracking, line height 1.25, `--radius-control` (pill). Horizontal padding is 10px at `sm`, `--space-3` at `md`, and `--space-4` at `lg`.
50
+ - **Anatomy.** A native `<button>` with a label and an optional 16px leading icon. A link that should look like a button is an `<a>` with the same classes and no underline. Medium weight, `-0.01em` tracking, line height 1.25, `--radius-control` (pill). Horizontal padding is 10px at `sm`, `--space-3` at `md`, and `--space-4` at `lg`.
51
51
  - **Variants.**
52
52
 
53
53
  | Variant | Rest | Hover | Pressed |
@@ -68,7 +68,7 @@ Layer: Core. ui: `UiButton`.
68
68
 
69
69
  ## Quiet action
70
70
 
71
- Layer: Core. ui: the `fg-quiet-action` class.
71
+ Layer: Core.
72
72
 
73
73
  - **Anatomy.** A native `<button>`, or the `<summary>` of a menu. Transparent fill, a transparent 1px border, `--radius-control`, and `--color-muted`. The project trigger overrides the corner with `--radius-field`, because it opens a menu and does not act (see [Site header](#site-header)). The content is centred in the box. An icon-only action holds an SVG icon, never a text glyph such as ×, because a font draws a glyph's ink off the centre of its box. Give the shared recipe zero specificity (`:where()`), so each component sets the action's size, place, and resting colour.
74
74
  - **States.** Hover turns the text `--color-text` and fills `currentColor` at 6% over transparent, only where the pointer can hover (`@media (hover: hover)`). Pressed fills `currentColor` at 12%, with no sink. Focus-visible is the focus ring, inset where the parent clips. An open menu keeps its trigger at the 6% hover tint, below the press. The code block's Copy is `--color-muted` at rest and takes the block's text colour (`--color-code-text`) on hover and while its tick shows. A disabled quiet action follows the shared [disabled](#rules-for-every-control) rule.
@@ -80,7 +80,7 @@ Layer: Core. ui: the `fg-quiet-action` class.
80
80
 
81
81
  ## Checkbox and radio
82
82
 
83
- Layer: Core. ui: `UiCheckbox`. ui has no standalone radio; radio cards cover radio choices there.
83
+ Layer: Core.
84
84
 
85
85
  - **Anatomy.** A `<label>` around the box and its text, with a gap of about 9px. The box is 16px at `sm`, 18px at `md`, and 20px at `lg`. Checkbox corners are `--radius-inline`; a radio is round. The row is at least the control height of its size, and the label takes that size's text: `--text-sm` at `sm`, `--text-md` at `md`, and `--text-lg` at `lg`.
86
86
  - **Tokens.** Unchecked: `--color-surface-raised` fill and a 1px `--color-border` edge. Checked: `--color-accent` fill and edge, with a check mark in `--color-accent-text`. A checked radio shows a 5px `--color-accent` ring around a `--color-surface-raised` centre.
@@ -93,7 +93,7 @@ Layer: Core. ui: `UiCheckbox`. ui has no standalone radio; radio cards cover rad
93
93
 
94
94
  ## Radio card group
95
95
 
96
- Layer: Core. ui: `UiRadioCardGroup`, `UiRadioCard`.
96
+ Layer: Core.
97
97
 
98
98
  - **Anatomy.** A grid of cards (`repeat(auto-fit, minmax(160px, 1fr))`, `--space-3` gap). Each card is a `<label>` with a title, an optional muted description, and a 16px round indicator in the top right corner. The native radio stays inside the card.
99
99
  - **Tokens.** Unselected: `--color-surface-raised`, `--shadow-raise`, transparent border, `--radius-panel`, `--space-3` padding. Hover: `--color-surface-muted` 45% into `--color-surface-raised`. Selected: `--color-well` fill and `--shadow-sink`, with the indicator filled `--color-accent` and an `--color-accent-text` check. The selected card has no accent ring.
@@ -106,7 +106,7 @@ Layer: Core. ui: `UiRadioCardGroup`, `UiRadioCard`.
106
106
 
107
107
  ## Switch
108
108
 
109
- Layer: Core. ui: `UiSwitch`.
109
+ Layer: Core.
110
110
 
111
111
  - **Anatomy.** A `<button role="switch" aria-checked>` that contains the track, and a separate `<label for>` with an optional description. The button's hit area is at least 32px wide and the control height tall. The track is 44×22 with a pill radius; the knob is 18px, inset 2px. `sm` scales both by 0.8 and `lg` by 1.2.
112
112
  - **Tokens.** Off track: `--color-border` 90% into `--color-well`, `--shadow-sink`, transparent 1px border. Knob: `--color-surface-raised` with `--shadow-raise`. On: `--color-accent` track, `--color-accent-text` knob moved 22px to the right.
@@ -119,7 +119,7 @@ Layer: Core. ui: `UiSwitch`.
119
119
 
120
120
  ## Toggle button
121
121
 
122
- Layer: Core. ui: `UiToggleButton`.
122
+ Layer: Core.
123
123
 
124
124
  - **Anatomy.** A `<button aria-pressed>` with a switch track at the start, then a label and an optional `--text-xs` muted description. `--radius-field` corners (a labelled card, so wrapped labels sit square), `--space-2` `--space-3` padding, `--color-surface-raised` fill, a 1px `--color-border-subtle` edge, and no shadow. The visible edge and the missing raise are a named exception; see [decisions](decisions.md).
125
125
  - **States.** Rest, hover (`--color-border` edge), pressed (the track turns on as in the switch and carries the state; the card takes `--color-accent` at 8% over `--color-surface-raised` and a hairline of `--color-accent` at 35%), focus-visible, and disabled.
@@ -131,7 +131,7 @@ Layer: Core. ui: `UiToggleButton`.
131
131
 
132
132
  ## Segmented control
133
133
 
134
- Layer: Core. ui: `UiSegmentedControl`.
134
+ Layer: Core.
135
135
 
136
136
  - **Anatomy.** A `role="group"` with an accessible name, containing one `<button aria-pressed>` for each option. The track is undivided: `--color-well` fill, `--shadow-sink`, a transparent 1px border, and `--radius-control`. Each button is the full control height (`--item`) with `--space-3` padding, and square when icon-only. At tablet width an unsized control sets `--item` to `--control-lg`, so its buttons grow to the touch size and icon-only options stay square. Its thumb is a `::before` layer inset 2px inside the button, behind the label.
137
137
  - **Tokens.** Labels are `--color-muted`. The pressed option's thumb is `--color-control-thumb` with `--shadow-raise` and no ring. Its label is `--color-segmented-current-text`: `--color-accent` where it reaches 4.5:1 on the thumb, on the page and on a surface, and otherwise the first of `--color-text`, black, and white that does. An icon-only option needs 3:1. Hover on an unpressed option shows the thumb at 45% and turns the label `--color-text`.
@@ -144,7 +144,7 @@ Layer: Core. ui: `UiSegmentedControl`.
144
144
 
145
145
  ## Text input and textarea
146
146
 
147
- Layer: Core. ui: `UiInput`. ui has no textarea; a textarea uses the same field recipe.
147
+ Layer: Core. A textarea uses the same field recipe.
148
148
 
149
149
  - **Anatomy.** A native `<input>` or `<textarea>`. Full width, line height 1.35. Input heights follow the control size, and horizontal padding is about 9px, 10px, or 11px.
150
150
  - **Tokens.** Fill `--color-field-bg` (`--color-surface-raised` in light, the sunk `--color-well` well in dark), text `--color-text`, placeholder `--color-muted` at full opacity, corners `--radius-field`, border 1px `--color-field-edge` (`--color-border-subtle`), shadow `--shadow-field` (none in light, `--shadow-sink` in dark).
@@ -158,7 +158,7 @@ Layer: Core. ui: `UiInput`. ui has no textarea; a textarea uses the same field r
158
158
 
159
159
  ## Select
160
160
 
161
- Layer: Core. ui: `UiSelect`.
161
+ Layer: Core.
162
162
 
163
163
  - **Anatomy.** A native `<select>` with the input's field recipe and a chevron on the right. Draw the chevron in `currentColor`, or with an 8px border corner in `--color-muted` turned 45°. Right padding leaves room for it at every size.
164
164
  - **Picker.** Where `appearance: base-select` is supported, the open list is a floating layer: `--color-surface-raised`, a transparent 1px border, `--radius-panel`, `--shadow-dialog`, 4px padding, at least the select's width, and at most `min(20rem, 50dvh)` tall. Options are at least 32px tall (44px on coarse pointers), with `--space-2` `--space-3` padding and corners of `--radius-panel` minus 4px. Hover fills `--color-row-hover`. An `--color-accent` check at the end marks the checked option. The check carries the state: the option's `--color-row-selected` fill equals `--color-surface-raised`. Keyboard focus is the focus ring, inset because the list scrolls. Other browsers keep the native picker.
@@ -171,7 +171,7 @@ Layer: Core. ui: `UiSelect`.
171
171
 
172
172
  ## Field wrapper
173
173
 
174
- Layer: Core. ui: `UiField`.
174
+ Layer: Core.
175
175
 
176
176
  - **Anatomy.** A grid with a 6px gap: label, control, then a description or an error. The error replaces the description.
177
177
  - **Tokens.** Label `--text-sm` semibold `--color-text`. Description `--text-sm` `--color-muted`. Error `--text-sm` `--color-error`.
@@ -184,7 +184,7 @@ Layer: Core. ui: `UiField`.
184
184
 
185
185
  ## Slider
186
186
 
187
- Layer: Core. ui: `UiSlider`.
187
+ Layer: Core.
188
188
 
189
189
  - **Anatomy.** A 6px track with `--radius-pill` and `--color-surface-muted`, an `--color-accent` range, and a round thumb (16px, 18px, or 20px) with a 2px `--color-accent` edge and a `--color-surface-raised` fill. The current value follows the track as `--text-sm` text in tabular numbers, in an `<output>` whose `for` names the slider.
190
190
  - **States.** Rest, dragging (`cursor: grabbing`), focus-visible on the thumb, and disabled.
@@ -196,7 +196,7 @@ Layer: Core. ui: `UiSlider`.
196
196
 
197
197
  ## Progress
198
198
 
199
- Layer: Core. ui: `UiProgress`.
199
+ Layer: Core.
200
200
 
201
201
  - **Anatomy.** A track about 9px tall with a 1px `--color-border-subtle` edge, `--radius-pill`, and `--color-surface-muted`, holding an `--color-accent` indicator moved with `translateX`.
202
202
  - **States.** None: a progress bar takes no input, so it has no interaction states. Its value follows `aria-valuenow`.
@@ -208,7 +208,7 @@ Layer: Core. ui: `UiProgress`.
208
208
 
209
209
  ## Score
210
210
 
211
- Layer: Core. ui: `UiScore`.
211
+ Layer: Core.
212
212
 
213
213
  - **Anatomy.** A row of 8px round pips (`--radius-pill`) with 3px gaps, then the value in medium weight and `/max` in muted regular weight, in tabular numbers. Empty pips have a 1px `--color-border` edge; filled pips are `--color-accent`.
214
214
  - **States.** None: a score is static, so it has no interaction states.
@@ -220,7 +220,7 @@ Layer: Core. ui: `UiScore`.
220
220
 
221
221
  ## Badge
222
222
 
223
- Layer: Core. ui: `UiBadge`.
223
+ Layer: Core.
224
224
 
225
225
  - **Anatomy.** An inline pill: `--radius-pill`, about 3px by 9px padding, `--text-xs`, medium weight, and a transparent 1px border.
226
226
  - **Tokens.** Neutral: `--color-surface-muted` fill, `--color-muted`, no dot. Status tones (success, warning, danger, info): the tone at 22% over `--color-surface-raised`, text of the tone mixed 75% with `--color-text` in light and 85% in dark, and a leading 6px dot in `currentColor`.
@@ -233,7 +233,7 @@ Layer: Core. ui: `UiBadge`.
233
233
 
234
234
  ## Alert
235
235
 
236
- Layer: Core. ui: `UiAlert`.
236
+ Layer: Core.
237
237
 
238
238
  - **Anatomy.** An optional 16px icon and short text. `--space-3` `--space-4` padding, `--radius-panel`, and a transparent 1px border.
239
239
  - **Tokens.** Neutral: `--color-surface`. Status tones use their `--color-*-surface` tint with `--color-text`; the icon takes the status colour.
@@ -246,7 +246,7 @@ Layer: Core. ui: `UiAlert`.
246
246
 
247
247
  ## Surface and card
248
248
 
249
- Layer: Core. ui: `UiSurface`, `UiCard`.
249
+ Layer: Core.
250
250
 
251
251
  - **Anatomy.** A panel: `--color-surface-raised`, transparent 1px border, `--radius-panel`, and `--shadow-surface`. A card adds a header (title in `--text-md` medium weight, with actions at the end), a body, and an optional footer above a `--color-border-subtle` rule in `--text-sm` muted text. Header and body padding is `--space-4`; padding is compact (`--space-3`) or default (`--space-4`).
252
252
  - **States.** None: a panel is static. Controls inside it keep their own states.
@@ -258,7 +258,7 @@ Layer: Core. ui: `UiSurface`, `UiCard`.
258
258
 
259
259
  ## Figure
260
260
 
261
- Layer: Core. ui: `UiFigure`.
261
+ Layer: Core.
262
262
 
263
263
  - **Anatomy.** A well (`--color-surface`, 1px `--color-border-subtle`, `--radius-panel`, `--space-5` padding, or `--space-4` on phones) with a caption below it in `--text-sm` muted text. Wide content scrolls inside the well. A figure number is `--color-text` in medium weight.
264
264
  - **States.** None: a figure is static.
@@ -271,7 +271,7 @@ Layer: Core. ui: `UiFigure`.
271
271
 
272
272
  ## Dialog
273
273
 
274
- Layer: Core. ui: `UiDialog`.
274
+ Layer: Core.
275
275
 
276
276
  - **Anatomy.** A floating layer centred on an `--color-overlay` backdrop, at most 512px wide and 672px tall. It has a header (title in 18px semibold with an optional muted description, and a 44px close button), a body that scrolls, and an optional footer on `--color-surface` with its actions at the end. Rules between the parts are `--color-border-subtle`. On phones it becomes a bottom sheet with rounded top corners.
277
277
  - **Tokens.** `--color-surface-raised`, a transparent 1px border, `--radius-panel`, `--shadow-dialog`. The close button is a [quiet action](#quiet-action).
@@ -285,7 +285,7 @@ Layer: Core. ui: `UiDialog`.
285
285
 
286
286
  ## Drawer
287
287
 
288
- Layer: Core. ui: `UiDrawer`.
288
+ Layer: Core.
289
289
 
290
290
  - **Anatomy.** A dialog fixed to the edge its trigger sits on, full height, `min(--sidebar + 48px, 100vw - 48px)` wide, with a header (title and close button) and a body that scrolls on its own. It is a floating layer with square corners: `--color-surface-raised`, a transparent 1px border, and `--shadow-dialog`. The close button is a [quiet action](#quiet-action). The family's navigation triggers sit at the start, so navigation drawers open from the left.
291
291
  - **Navigation drawer.** A drawer that holds navigation opens on the current row, scrolled to the centre of the body. A keyboard open moves focus to that row; a tap moves focus to the body, so no ring shows and no on-screen keyboard opens. An open with the `/` shortcut moves focus to the [find field](#find-field), which stays pinned at the top of the body while the list scrolls under it.
@@ -300,7 +300,7 @@ Layer: Core. ui: `UiDrawer`.
300
300
 
301
301
  ## Navigation list
302
302
 
303
- Layer: Core. The mono font on rail rows is identity. ui: the rows in `UiSiteNav` and the project menu.
303
+ Layer: Core. The mono font on rail rows is identity.
304
304
 
305
305
  - **Anatomy.** A `<nav>` with a name, holding links in rows: at least `--row` tall (`--control-lg` at tablet width), `0 --space-3` padding, `--radius-inline` corners (`calc(var(--radius-panel) - var(--space-1))`, 12px, inside a floating menu such as the project menu, so they are concentric with it), `--text-sm`, and `--color-muted`. A row may hold a leading 16px icon and a trailing muted count. A text-only row centres its label on the cap height: where `text-box` is supported, it is a block with `align-content: center`, `--space-2` block padding, and `text-box: trim-both cap alphabetic`, and the location pip centres itself. The padding keeps a wrapped label's first and last lines clear of the fill's edges and the focus ring. Rows with an icon or a count, and browsers without `text-box`, centre the line box, which leaves a label without descenders about 1px above centre. Groups have a `--text-xs` semibold muted label and 2px gaps between rows.
306
306
  - **Groups.** Name groups by purpose, with 2 to 8 rows each. Collapse groups only in a list of more than about 40 rows. A collapsible group's label is a `<button aria-expanded>` in the label type, with `--radius-inline` corners and a chevron that turns −90° when the group is closed. Never collapse the group that holds the current row.
@@ -316,7 +316,7 @@ Layer: Core. The mono font on rail rows is identity. ui: the rows in `UiSiteNav`
316
316
 
317
317
  ## Section rail
318
318
 
319
- Layer: Core. ui: `UiSiteNav`.
319
+ Layer: Core.
320
320
 
321
321
  - **Anatomy.** A named `<aside>`, so the find field and the footer sit in a landmark, with `position: sticky; top: 0`, `height: 100dvh`, and a column flex layout with `--space-3` gaps. An optional [find field](#find-field) sits at the top. Below it, a named `<nav>` holds grouped [navigation list](#navigation-list) rows and scrolls on its own (`overflow-y: auto`, `overscroll-behavior: contain`). An optional footer for rail settings, such as the single-key shortcut switch, sits last, above a `--color-border-subtle` rule. The element that draws a divider never scrolls. The rail's rows follow the page order.
322
322
  - **States.** Rows take the navigation list states. The current section keeps `aria-current="location"` but takes the current-page look: `--color-nav-current` fill, `--shadow-nav-current`, and `--color-nav-current-text` in medium weight, with no pip. When the location changes, the rail scrolls its own list, never the page, to centre the current row if it is out of view. It leaves the list alone while the pointer is over the rail or focus is inside it.
@@ -329,7 +329,7 @@ Layer: Core. ui: `UiSiteNav`.
329
329
 
330
330
  ## Find field
331
331
 
332
- Layer: Core. ui: none yet.
332
+ Layer: Core.
333
333
 
334
334
  - **Anatomy.** An `<input type="search">` in the [field](#text-input-and-textarea) recipe, with a leading 16px search icon in `--color-muted` (32px start padding) and a trailing [keyboard key](#keyboard-key) hint showing `/` (36px end padding). A visually hidden `role="status"` element, named in the field's `aria-describedby`, holds the match count.
335
335
  - **States.** Rest, focus-visible (field focus), and a query. The key hint hides while the field has focus or a value, when shortcuts are off, and under `(hover: none)`. With no matches, the list shows "No component matches <q>…</q>." in `--text-sm` `--color-muted`, and a text-button Clear.
@@ -343,7 +343,7 @@ Layer: Core. ui: none yet.
343
343
 
344
344
  ## Breadcrumbs
345
345
 
346
- Layer: Core. ui: none yet.
346
+ Layer: Core.
347
347
 
348
348
  - **Anatomy.** `<nav aria-label="Breadcrumb">` holding an `<ol>` in `--text-sm`, right above the page's h1. Separators are `--color-muted` chevrons, a 6px box (`0.375rem`) with 1.5px top and right borders turned 45°, so they hold no text to read. The labels centre on the cap height like navigation rows, and the chevrons centre on the row. Ancestors are `--color-muted` links with no underline, at least `--control-sm` tall (`--control-lg` at tablet width), with `--radius-inline` corners. The current page is plain text with `aria-current="page"`, in `--color-text` and medium weight. On folio sites the trail is mono (identity).
349
349
  - **States.** Hover: `--color-text` and an underline. Focus-visible: the focus ring.
@@ -357,7 +357,7 @@ Layer: Core. ui: none yet.
357
357
 
358
358
  ## Pager
359
359
 
360
- Layer: Core. ui: none yet.
360
+ Layer: Core.
361
361
 
362
362
  - **Anatomy.** `<nav aria-label="…">` at the end of `main`, with two equal columns and a `--space-4` gap, below a `--color-border-subtle` rule with `--space-6` padding. Each link is a block row with `--space-3` `--space-4` padding, `--radius-field` corners, and a transparent 1px border: a `--text-xs` `--color-muted` direction with an arrow ("Previous", "Next"), then a medium `--color-text` title. Links take `rel="prev"` and `rel="next"`. Next sits in the end column, end-aligned, even when it is alone.
363
363
  - **States.** Hover: `--color-row-hover` fill. Focus-visible: the focus ring. There is no current state.
@@ -370,7 +370,7 @@ Layer: Core. ui: none yet.
370
370
 
371
371
  ## Tabs
372
372
 
373
- Layer: Core. ui: `UiTabs`.
373
+ Layer: Core.
374
374
 
375
375
  - **Anatomy.** A `role="tablist"` with no rule below it and a 12px gap below it. It scrolls sideways when needed, and a 24px mask fades each clipped edge. Scrolling clips on every side, so the list has 4px (`--space-1`) padding all round: it keeps the selected tab's shadow whole and its fill off the frame edge. Each tab is a borderless button at least `--control-md` tall (`--control-lg` on phones), with `--space-2` `--space-3` padding, `--radius-inline` corners, medium weight, and `--color-muted`. The selected tab's fill is a `::before` layer behind the label, inset 0, with the tab's corners; the list sets `isolation: isolate`, so the layer stays inside it.
376
376
  - **States.** Hover fills `--color-row-hover` and turns the text `--color-text`. The selected tab takes the [navigation row](#navigation-list)'s current-page recipe: `--color-nav-current` fill and `--shadow-nav-current`, with no underline. Its text is `--color-nav-current-text`: the first of `--color-accent`, `--color-text`, black, and white that reaches 4.5:1 over the tinted fill, both on the page and on a surface (composite a translucent fill over each first). Focus-visible is the focus ring, inset because the list scrolls.
@@ -382,7 +382,7 @@ Layer: Core. ui: `UiTabs`.
382
382
 
383
383
  ## Skip link
384
384
 
385
- Layer: Core. ui: the `fg-site-skip` class.
385
+ Layer: Core.
386
386
 
387
387
  - **Anatomy.** The first focusable element on the page, linking to `main` (`id="main"`) and named "Skip to content". It sits above the page until it takes focus, then shows at the top left as a floating layer: `--color-surface-raised`, a transparent 1px border, `--radius-field`, `--shadow-dialog`, `--space-2` `--space-3` padding, and the focus ring. It takes the field corner, not the 16px corner of other floating layers, because it is a one-line control that is not an action.
388
388
  - **States.** Hidden above the page at rest, and shown at the top left while it has focus.
@@ -395,7 +395,7 @@ Layer: Core. ui: the `fg-site-skip` class.
395
395
 
396
396
  ## Keyboard key
397
397
 
398
- Layer: Core. ui: none yet.
398
+ Layer: Core.
399
399
 
400
400
  - **Anatomy.** A `<kbd>`: `--font-mono` `--text-xs` medium in `--color-muted`, on a `--color-surface` fill with a 1px `--color-border` edge and `--radius-inline` corners, 20px tall, at least 20px wide, with 5px inline padding and no shadow.
401
401
  - **States.** None: a key is static text.
@@ -407,7 +407,7 @@ Layer: Core. ui: none yet.
407
407
 
408
408
  ## Code block
409
409
 
410
- Layer: Core. ui: `UiCodeBlock`.
410
+ Layer: Core.
411
411
 
412
412
  - **Anatomy.** A frame that holds an optional header and the source panel.
413
413
  - **Frame.** `--color-surface-raised`, a 1px `--color-border-subtle` border, `--radius-panel`, and `--shadow-surface`. Its padding is `0 var(--space-1) var(--space-1)` under a header, and `var(--space-1)` on every side without one.
@@ -426,8 +426,6 @@ Layer: Core. ui: `UiCodeBlock`.
426
426
 
427
427
  ### With a live example
428
428
 
429
- ui: `UiExample`.
430
-
431
429
  - **Anatomy.** One frame: a `<figure>` with a 1px `--color-border-subtle` edge, `--radius-panel`, no shadow, and its content clipped to the corners. The stage comes first and holds the live preview, centred, at least 8rem tall, with `--space-8` padding. The code block follows directly below the stage, after one `--color-border-subtle` hairline. There is no header row and no language label. An optional caption follows the frame, as a [figure](#figure) caption does.
432
430
  - **Tokens.** Frame edge `--color-border-subtle` and corners `--radius-panel`. Stage `--color-bg`. Hairline `--color-border-subtle`.
433
431
  - **Stage.** The stage sits on the page background, not in a well or a panel. This is a named exception to the container [depth](DESIGN.md#depth) tier: a preview shows each component on the surface it sits on in a page; see [decisions](decisions.md).
@@ -441,7 +439,7 @@ ui: `UiExample`.
441
439
 
442
440
  ## Command plate
443
441
 
444
- Layer: Identity. ui: `UiCodeBlock` with a shell language or the compact variant.
442
+ Layer: Identity.
445
443
 
446
444
  - **Anatomy.** A code block for a shell command, drawn as a dark plate in both themes: the frame is `--color-command-bg` with a `--color-command-border` edge (transparent in light). The source panel is the plate darkened, `color-mix(in srgb, var(--color-command-bg) 55%, var(--color-terminal))`, set as the plate's `--color-code`, so it reads as a panel on the plate. Text, syntax, and the caption all use `--color-terminal-text` or `--color-terminal-caption-text`. Each line starts with a `$ ` prompt in `--color-project-dark`, drawn with `content: "$ " / ""` and `user-select: none`, so copied and spoken text omit it. The plate sets `--color-muted: var(--color-terminal-caption-text)`, so Copy at rest takes the caption colour, and `--color-focus: var(--color-project-dark)`, the dark-theme accent, so every ring on it, Copy's included, reads at 3:1 or more on the dark plate in both page themes.
447
445
  - **States.** As for the code block.
@@ -454,7 +452,7 @@ Layer: Identity. ui: `UiCodeBlock` with a shell language or the compact variant.
454
452
 
455
453
  ## Terminal capture
456
454
 
457
- Layer: Identity. ui: `UiCapture`.
455
+ Layer: Identity.
458
456
 
459
457
  - **Anatomy.** A panel whose header holds mono tabs (one for each capture) and a Full size [quiet action](#quiet-action) at the end. The screen is the neutral `--color-terminal` plate, and a mono status-line caption sits below it on `--color-terminal-caption` with `--color-terminal-caption-text`. Full size opens the capture in a dialog.
460
458
  - **States.** Tabs take the tab states in the capture's palette, and Full size takes the quiet action states.
@@ -467,7 +465,7 @@ Layer: Identity. ui: `UiCapture`.
467
465
 
468
466
  ## Site header
469
467
 
470
- Layer: Identity. ui: `UiSiteHeader`, `UiSiteAppearancePicker`.
468
+ Layer: Identity.
471
469
 
472
470
  - **Anatomy.** A static header at least 64px tall on `--color-bg` with a solid 1px `--color-text` rule below it. At the start is the project switcher: a `<details>` whose summary, a [quiet action](#quiet-action), shows the mono, semibold project name after a `~/` mark in `--color-project` (drawn by CSS, so it is not read), then a chevron. It keeps the quiet-action tint, but it opens a menu and does not act, so it takes the 10px field corner (`--radius-field`), as a select does. Its menu is a floating layer, with the dialog's tokens, listing the shared project registry in the order it defines, as navigation rows with concentric 12px corners (`calc(var(--radius-panel) - var(--space-1))`), with the current project marked `aria-current="page"`. At the end are the site links and the appearance picker: an icon-only segmented control at `lg`. The site links are a [navigation strip](#navigation-list) of rows 44px tall (`--control-lg`). A link to a page inside the site takes `aria-current="page"` on that page, with the current-page recipe.
473
471
  - **Position.** Every family site, this design system's site included, starts its header with the project switcher. It is the same on every page: never a breadcrumb or a page title, which go above the page's h1 as [breadcrumbs](#breadcrumbs), and the first breadcrumb is the way back to the site's home page. The links sit at the same x on every page, and the current link is as wide as it is on other pages (see the [horizontal strip](#navigation-list)). A header that puts its links right after the switcher, as this design system's site does, is a grid at `min-width: 801px` (`auto minmax(0, 1fr) auto`), so where the links start never depends on the page.
@@ -481,7 +479,7 @@ Layer: Identity. ui: `UiSiteHeader`, `UiSiteAppearancePicker`.
481
479
 
482
480
  ## Page type and helpers
483
481
 
484
- Layer: Identity. ui: `site.css` helpers.
482
+ Layer: Identity.
485
483
 
486
484
  - **Anatomy.** Type and layout helpers for identity pages: headings, steps, definitions, facts, a command list, and the footer, each below.
487
485
  - **Headings.** Documentation, CLI tool, article, and product page titles (`--text-3xl`) use `--font-mono`; application titles use `--font-ui` at `--text-2xl` or smaller. On documentation, CLI tool, article, and product pages, a page-level section heading (h2) uses `--font-mono` at `--text-xl` (a product page may set it larger, up to `--text-3xl`), starts with a `## ` mark in `--color-accent`, drawn with `content: "## " / ""`, and has a `--color-border-subtle` rule above the section. Application and inline-visualization section headings use `--font-ui`, semibold, at `--text-xl` or smaller, with no mark and no rule; h3 and lower never take the mark. A product page or tool home may use a mono `--text-display` title (`--text-display-sm` on phones).
@@ -55,7 +55,7 @@ Each entry records a choice this language made, the options it rejected, and why
55
55
  | Live example code view | Core | The preview and its code show together. | Preview and Code tabs, as in Chakra UI: the reader never sees the element and its code together, the frame changes height with the tab, and reading the code takes an extra click. Storybook hides code by default, for the same cost. | No test yet |
56
56
  | Live example stage | Core | The stage sits on the page background (`--color-bg`), not in a well or a panel. It is the named exception to the container depth tier. | A raised or inset stage changes the surface under the preview, so raised controls do not look as they do on a page. | No test yet |
57
57
  | Live example source | Core | Inside the frame, the code block drops its own radius, border, and shadow, and spans the frame's width. The frame draws the one edge. | A rounded well with its own edge and shadow inside the frame is a frame inside a frame. | No test yet |
58
- | Token names | Core | One set of names, shared with `@filipgutica/ui`: `--color-*` for colours, `--shadow-*` for shadows, and ui's type, radius, and font names. See [Token names](#token-names). | Two sets, the [1.x short names](#token-names) here and `--color-*` names in ui: every site and agent translated between them through `ui:` comments, and the 1.x control radius used Tailwind's `-md` name for a 999px pill where Tailwind's is 0.375rem. Short names everywhere: about 920 references in 27 files across six repositories, a ui major release, and 18 new names. | no 1.x names: `tests/token-names.test.mjs` "no payload file uses a 1.x token name" |
58
+ | Token names | Core | One set of names, the design system's own: `--color-*` for colours, `--shadow-*` for shadows, and `--text-*`, `--radius-*`, and `--font-*` for type sizes, radii, and fonts. See [Token names](#token-names). | Two sets, the [1.x short names](#token-names) here and `--color-*` names in ui: every site and agent translated between them through `ui:` comments, and the 1.x control radius used Tailwind's `-md` name for a 999px pill where Tailwind's is 0.375rem. Short names everywhere: about 920 references in 27 files across six repositories, a ui major release, and 18 new names. | no 1.x names: `tests/token-names.test.mjs` "no payload file uses a 1.x token name" |
59
59
  | Versioning | Core | Releases are 1.0.x patches while the system has no outside users, tagged `ds-v*` from the `ds-v1.0.0` seed. Every release, a breaking one included, is a patch; the release notes name a breaking change written as `!` or a `BREAKING CHANGE:` footer in the commit message. npm already holds 1.1.0 through 2.4.0 from the earlier `v*` series, so leaving 1.0.x means 2.5.0 or 3.0.0. | Semver majors and minors (2.x): the numbers signalled a maturity the system does not have yet. 0.0.x: npm already holds 1.0.0, and a `^0.0.1` range matches only 0.0.1. | patch cap: `tests/release.test.mjs` "the release analyzer caps feat, fix, and breaking changes, from a commit or a PR body, at a patch", "the release analyzer releases nothing for chore-only commits"; tag series: `tests/release.test.mjs` "the site version comes from the latest ds-v tag and ignores the earlier v tags" |
60
60
 
61
61
  ## Token names
@@ -66,10 +66,10 @@ To update a page or stylesheet that still uses the old names, run `node scripts/
66
66
 
67
67
  Name a new token by these rules:
68
68
 
69
- - Give it one name. `tokens.css`, the class flavour, and `@filipgutica/ui` all declare it under that name, with no alias.
69
+ - Give it one name, with no alias.
70
70
  - Use Tailwind 4's theme namespaces where one fits: `--color-<role>` for a colour, `--shadow-<role>` for a shadow, `--radius-<role>` for a radius, `--font-<role>` for a font family, and `--text-<step>` for a type size. Other families keep their prefix, such as `--space-*`, `--control-*`, `--weight-*`, and `--duration-*`.
71
71
  - Name the role, not the value: `--color-error`, not `--color-red`.
72
- - A component role that always has the same value as a general token is a ui role in the token JSON's `library.roles`, listed after the general name in its `ui:` comment. It is not a new `tokens.css` line.
72
+ - A component role that always has the same value as a general token is not a new token. The component uses the general token.
73
73
  - Do not reuse an old name from this table.
74
74
 
75
75
  <!-- rename-table:start -->
@@ -34,7 +34,7 @@ h1 { font-size: var(--text-3xl); max-width: 24ch; }
34
34
  h2 { font-size: var(--text-xl); }
35
35
  /* The ## mark goes on page-level section headings only. It is decorative; the empty alternative text keeps it out of the accessible name. */
36
36
  main > section > h2::before { content: "## " / ""; color: var(--color-accent); }
37
- /* The main gap alone separates sections. The rule above each heading belongs to the heading, as in @filipgutica/ui. */
37
+ /* The main gap alone separates sections. The rule above each heading belongs to the heading. */
38
38
  main > section > h2 { padding-top: var(--space-4); border-top: 1px solid var(--color-border-subtle); }
39
39
  p { max-width: var(--measure); color: var(--color-muted); font-size: var(--text-reading); }
40
40
  /* Command plate: dark in both themes and tinted with the hue. Text takes the terminal colour and the focus ring the dark-theme accent, so both read on the dark plate. */
@@ -531,7 +531,7 @@
531
531
 
532
532
  <section class="foundation" id="typography" aria-labelledby="typography-title">
533
533
  <h3 id="typography-title">Typography</h3>
534
- <p class="note">Mono carries identity and structure; sans carries prose and controls. <code>@filipgutica/ui</code> self-hosts IBM Plex. A standalone page without the font installed, such as this one, shows the system fallback.</p>
534
+ <p class="note">Mono carries identity and structure; sans carries prose and controls. <code>fonts.css</code> self-hosts IBM Plex. A standalone page without the font installed, such as this one, shows the system fallback.</p>
535
535
 
536
536
  <h4>Families</h4>
537
537
  <ul class="specs">
@@ -616,7 +616,7 @@
616
616
  <li class="swatch" data-token="--color-accent" data-on="--color-bg --color-surface-raised" data-min="3"><i class="chip" aria-hidden="true"></i><code>--color-accent</code><span class="value"></span><span class="ratio"></span><span class="use">Primary action fill, marks, current items, checked controls; 4.5:1 where it colors text</span></li>
617
617
  <li class="swatch" data-token="--color-accent-text" data-on="--color-accent --color-button-hover" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-accent-text</code><span class="value"></span><span class="ratio"></span><span class="use">Primary button label</span></li>
618
618
  <li class="swatch" data-token="--color-button-hover" data-fg="var(--color-accent-text)" data-on="--color-button-hover" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-button-hover</code><span class="value"></span><span class="ratio"></span><span class="use">Primary button hover</span></li>
619
- <li class="swatch" data-token="--color-accent-hover"><i class="chip" aria-hidden="true"></i><code>--color-accent-hover</code><span class="value"></span><span class="use">No core component reads it; it mirrors <code>--color-accent-hover</code> in <code>@filipgutica/ui</code></span></li>
619
+ <li class="swatch" data-token="--color-accent-hover"><i class="chip" aria-hidden="true"></i><code>--color-accent-hover</code><span class="value"></span><span class="use">Accent hover; no core component reads it</span></li>
620
620
  <li class="swatch" data-token="--color-link" data-on="--color-bg --color-surface-raised" data-min="4.5"><i class="chip" aria-hidden="true"></i><code>--color-link</code><span class="value"></span><span class="ratio"></span><span class="use">Links</span></li>
621
621
  <li class="swatch" data-token="--color-focus" data-on="--color-bg --color-surface --color-surface-raised" data-min="3"><i class="chip" aria-hidden="true"></i><code>--color-focus</code><span class="value"></span><span class="ratio"></span><span class="use">The one focus ring on every role but fields: the accent</span></li>
622
622
  </ul>