@nadicodeai/design-system 12.1.284 → 12.1.285

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/DESIGN.md CHANGED
@@ -74,87 +74,6 @@ colors:
74
74
  chart-9: "#7aa0ff"
75
75
  chart-10: "#ffabc9"
76
76
 
77
- cobalto-100: "#f3f7ff"
78
- cobalto-200: "#e9f0ff"
79
- cobalto-300: "#dde8ff"
80
- cobalto-400: "#cddcff"
81
- cobalto-500: "#aec7ff"
82
- cobalto-600: "#7aa0ff"
83
- cobalto-700: "#1e3cff"
84
- cobalto-800: "#1829f0"
85
- cobalto-900: "#1425d3"
86
- cobalto-1000: "#07117a"
87
- rosso-100: "#fff4f2"
88
- rosso-200: "#ffebe8"
89
- rosso-300: "#ffdfdb"
90
- rosso-400: "#ffcfc9"
91
- rosso-500: "#ffb0a7"
92
- rosso-600: "#ff7267"
93
- rosso-700: "#d3302f"
94
- rosso-800: "#c51e22"
95
- rosso-900: "#af1e20"
96
- rosso-1000: "#540004"
97
- arancio-100: "#fff4f1"
98
- arancio-200: "#ffebe5"
99
- arancio-300: "#ffe0d7"
100
- arancio-400: "#ffd0c2"
101
- arancio-500: "#ffb19a"
102
- arancio-600: "#ff835d"
103
- arancio-700: "#ff5a1f"
104
- arancio-800: "#f04c03"
105
- arancio-900: "#ac3300"
106
- arancio-1000: "#4c1200"
107
- giallo-100: "#fffaef"
108
- giallo-200: "#fef4e1"
109
- giallo-300: "#fdefd1"
110
- giallo-400: "#fde5b5"
111
- giallo-500: "#ffd989"
112
- giallo-600: "#ffcc5c"
113
- giallo-700: "#ffc220"
114
- giallo-800: "#e2aa00"
115
- giallo-900: "#8a6500"
116
- giallo-1000: "#422f00"
117
- verde-100: "#effaf2"
118
- verde-200: "#e4f6e8"
119
- verde-300: "#d4f0db"
120
- verde-400: "#bceac8"
121
- verde-500: "#78e29c"
122
- verde-600: "#37c171"
123
- verde-700: "#00a85a"
124
- verde-800: "#009a52"
125
- verde-900: "#00773e"
126
- verde-1000: "#003317"
127
- acqua-100: "#eff9fb"
128
- acqua-200: "#e4f4f6"
129
- acqua-300: "#d5edf1"
130
- acqua-400: "#bde5eb"
131
- acqua-500: "#7cd8e7"
132
- acqua-600: "#3fb7c8"
133
- acqua-700: "#0096a7"
134
- acqua-800: "#008998"
135
- acqua-900: "#00707d"
136
- acqua-1000: "#002f36"
137
- viola-100: "#f7f5ff"
138
- viola-200: "#f1edff"
139
- viola-300: "#e9e3ff"
140
- viola-400: "#ded6ff"
141
- viola-500: "#cbbbff"
142
- viola-600: "#ad8dff"
143
- viola-700: "#6f42c1"
144
- viola-800: "#6435b4"
145
- viola-900: "#582f9e"
146
- viola-1000: "#2f1659"
147
- rosa-100: "#fff3f7"
148
- rosa-200: "#ffeaf0"
149
- rosa-300: "#ffdee8"
150
- rosa-400: "#ffccdd"
151
- rosa-500: "#ffabc9"
152
- rosa-600: "#ff65a7"
153
- rosa-700: "#e5468f"
154
- rosa-800: "#d73783"
155
- rosa-900: "#ad1f66"
156
- rosa-1000: "#50002a"
157
-
158
77
  dark-canvas: "#000000"
159
78
  dark-canvas-soft: "#111111"
160
79
  dark-canvas-soft-2: "#1a1a1a"
@@ -214,87 +133,6 @@ colors:
214
133
  dark-chart-9: "#a0bcff"
215
134
  dark-chart-10: "#ff9ac0"
216
135
 
217
- dark-cobalto-100: "#030b3f"
218
- dark-cobalto-200: "#040e50"
219
- dark-cobalto-300: "#061566"
220
- dark-cobalto-400: "#0a1b7d"
221
- dark-cobalto-500: "#1129a5"
222
- dark-cobalto-600: "#4372ff"
223
- dark-cobalto-700: "#1e3cff"
224
- dark-cobalto-800: "#1829f0"
225
- dark-cobalto-900: "#a0bcff"
226
- dark-cobalto-1000: "#ecf2ff"
227
- dark-rosso-100: "#2c0303"
228
- dark-rosso-200: "#390304"
229
- dark-rosso-300: "#490406"
230
- dark-rosso-400: "#5b0608"
231
- dark-rosso-500: "#790e11"
232
- dark-rosso-600: "#dd4640"
233
- dark-rosso-700: "#d3302f"
234
- dark-rosso-800: "#c51e22"
235
- dark-rosso-900: "#ffa096"
236
- dark-rosso-1000: "#ffedeb"
237
- dark-arancio-100: "#2a0600"
238
- dark-arancio-200: "#350900"
239
- dark-arancio-300: "#440f00"
240
- dark-arancio-400: "#541400"
241
- dark-arancio-500: "#721f00"
242
- dark-arancio-600: "#f35822"
243
- dark-arancio-700: "#ff5a1f"
244
- dark-arancio-800: "#f04c03"
245
- dark-arancio-900: "#ffa286"
246
- dark-arancio-1000: "#ffede8"
247
- dark-giallo-100: "#1c1200"
248
- dark-giallo-200: "#241800"
249
- dark-giallo-300: "#302100"
250
- dark-giallo-400: "#3c2b00"
251
- dark-giallo-500: "#523c00"
252
- dark-giallo-600: "#b88a00"
253
- dark-giallo-700: "#ffc220"
254
- dark-giallo-800: "#f1b500"
255
- dark-giallo-900: "#edb41a"
256
- dark-giallo-1000: "#faf1df"
257
- dark-verde-100: "#001a09"
258
- dark-verde-200: "#00220d"
259
- dark-verde-300: "#002d14"
260
- dark-verde-400: "#00381a"
261
- dark-verde-500: "#004d26"
262
- dark-verde-600: "#28ad62"
263
- dark-verde-700: "#00a85a"
264
- dark-verde-800: "#009a52"
265
- dark-verde-900: "#60da8d"
266
- dark-verde-1000: "#e6f7ea"
267
- dark-acqua-100: "#00181c"
268
- dark-acqua-200: "#001f24"
269
- dark-acqua-300: "#002a30"
270
- dark-acqua-400: "#00353c"
271
- dark-acqua-500: "#004952"
272
- dark-acqua-600: "#2fa2b2"
273
- dark-acqua-700: "#0096a7"
274
- dark-acqua-800: "#008998"
275
- dark-acqua-900: "#65d0e0"
276
- dark-acqua-1000: "#e6f5f7"
277
- dark-viola-100: "#170b2d"
278
- dark-viola-200: "#1e0f3b"
279
- dark-viola-300: "#29164c"
280
- dark-viola-400: "#331d5d"
281
- dark-viola-500: "#472b7c"
282
- dark-viola-600: "#8a64de"
283
- dark-viola-700: "#6f42c1"
284
- dark-viola-800: "#6435b4"
285
- dark-viola-900: "#c3afff"
286
- dark-viola-1000: "#f2efff"
287
- dark-rosa-100: "#2a0215"
288
- dark-rosa-200: "#36021b"
289
- dark-rosa-300: "#460225"
290
- dark-rosa-400: "#57032f"
291
- dark-rosa-500: "#740a41"
292
- dark-rosa-600: "#e95395"
293
- dark-rosa-700: "#e5468f"
294
- dark-rosa-800: "#d73783"
295
- dark-rosa-900: "#ff9ac0"
296
- dark-rosa-1000: "#ffecf2"
297
-
298
136
  category-teal-soft: "#e0f7f4"
299
137
  category-teal-deep: "#08665e"
300
138
  dark-category-teal-soft: "#062b28"
@@ -523,389 +361,199 @@ spacing:
523
361
  button-padding-inline-lg: 14px
524
362
  card-padding: 20px
525
363
  touch-target: 44px
526
-
527
364
  ---
528
365
 
529
366
  ## Overview
530
367
 
531
- This file is nadicode's visual identity: the tokens above are the values, and the sections below say how they look applied ([what it holds](AGENTS.md#what-goes-in-designmd)). Every component in `@nadicodeai/ui`, every website section, and every screen in the Portal, Nadia and Alveare builds on it. How a component, a composition or a page is built is never written here: what a component does, takes and holds is its usage page, in its source in `@nadicodeai/ui`, and [the product-design skill](../../skills/design/product-design/SKILL.md#where-each-decision-lives) says where every other design decision lives.
532
-
533
- nadicode puts AI Agents to work inside small and mid-sized companies. Its sites and products read as a technology company with a real product: the interface is neutral and exact, the product is shown working, and colour and depth give the page its energy. Three ideas carry every screen:
368
+ nadicode puts AI Agents to work inside small and mid-sized companies. This file owns nadicode's visual identity: tokens above, visual rules below ([what goes in it](AGENTS.md#what-goes-in-designmd); component APIs live in `@nadicodeai/ui`; [product-design](../../skills/design/product-design/SKILL.md#where-each-decision-lives) owns interaction and IA).
534
369
 
535
- - **Neutral structure.** Chrome, controls and text sit on an achromatic spine, so a desaturated screen loses nothing structural. The strongest contrast on a screen belongs to the action.
536
- - **Colour as stage.** The five identity hues appear at full strength only in the places "Colour as stage" lists, the colour of Agents among them, and never as a section's ground. They carry the brand; they never decorate a control. Semantic colour identifies statuses, categories and named actions through the component palette below.
537
- - **Real depth.** Surfaces sit at four heights. Content lies on the page with a 1 px edge and no grey fill; what floats takes its depth from light: deeper shadows in light, and in dark a line of light along its top, a brighter edge and a deep black shadow. Glass goes only where something moves under it.
370
+ Three principles govern every screen:
538
371
 
539
- The products are still: only Agents move on their own, apart from the company's card, which turns in the light as it appears and as it is issued. The website moves with purpose: the product at work, Agents and its few shader objects ("Motion").
372
+ - **Neutral structure.** Chrome, controls and text sit on an achromatic spine; highest contrast belongs to the primary action.
373
+ - **Colour as stage.** The five identity hues appear flat at full strength only where [Colour as stage](#colour-as-stage) permits, never decorating controls or chrome.
374
+ - **Real depth.** Solid surfaces sit at four physical heights with no grey fill on resting cards; glass goes only where content moves underneath.
540
375
 
541
- One foundation serves five registers. The foundation is every value in this file. A register is one product's way of applying it: the website, the Portal, the Nadia desktop app, the Alveare desktop app and Alveare Server's window ("Registers"). A register adds rules and chooses which values it uses; it never redefines a value or mints one. A value one register needs is authored here under `register.<name>`, and a value two registers share moves to `core`.
376
+ Products stay still: only Agents move autonomously (plus `CompanyCard`'s one-time turn); the website moves only for Agents, live product scenes and shader objects ([Motion](#motion)). One foundation serves five registers ([Registers](./guides/registers.md)); a register never redefines foundation values, authors register-only tokens under `register.<name>`, and promotes shared tokens to `core`.
542
377
 
543
378
  ## Colors
544
379
 
545
380
  ### Neutral structure
546
381
 
547
- The neutral spine carries grounds, chrome, text and every control: `{colors.ink}`, `{colors.body}`, `{colors.muted}`, `{colors.canvas}`, `{colors.canvas-soft}`, `{colors.canvas-soft-2}`, `{colors.line}`, the material tones, and their dark pairs. Every neutral is an equal-channel grey (OKLCH chroma 0) in both themes, so no tint paints a surface. Colours are authored here as sRGB hex and emitted as `oklch()`.
382
+ Neutrals (`ink`, `body`, `muted`, `canvas`, `canvas-soft`, `canvas-soft-2`, `line`, materials and dark pairs) are equal-channel greys (OKLCH chroma 0), authored as sRGB hex and emitted as `oklch()`.
548
383
 
549
- - **Action** (`{colors.action}`, `{colors.action-foreground}`, `{colors.action-hover}`, `{colors.action-active}`): the primary control is cobalto with a white label in both themes, its hover and press the next two cobalto steps; the shadcn `primary` role maps here, and a page holds one, so the brand's colour marks the one thing to press.
550
- - **Text**: `{colors.ink}` for headings and primary text, `{colors.body}` for supporting text, which clears AA on every canvas. `{colors.muted}` is for placeholders and disabled or inactive text only, never for descriptions, labels or help. These roles distinguish purpose: supporting text is darker than placeholders, so it stays comfortable to read at small sizes, and both meet our AA text floor.
551
- - **Lines**: `{colors.line}` is the one decorative 1 px divider and is deliberately quiet. `{colors.input}` is the boundary of a field or any control whose edge identifies it (an input, a select, a checkbox, a radio), and clears the 3:1 non-text floor. A button is identified by its label, so an outline or secondary button's edge is the `{colors.line}` hairline, never `{colors.input}`. Never darken a decorative line locally to make it act as a control edge. Each border is drawn once: a divider sits inside the border of the surface that holds it and never doubles an edge where the two meet.
552
- - **Focus** (`{colors.focus-ring}`): a full-opacity outline of `{spacing.focus-outline-width}` at `{spacing.focus-outline-offset}`, the maximum-contrast neutral on each ground, never a box-shadow ring and never a hue.
553
- - **Blue on a choice** is info and appears only where Geist puts it: the on switch, the filled part of a slider, and a selected choice tile (border, tint, words, corner mark). Checkbox, radio, segmented control and toggle group stay neutral, and a disabled switch or slider fill turns grey, never a faded blue.
554
- - **Interaction states** are contrast steps on the spine. Hover takes the `accent` role (`{colors.canvas-soft-2}`) and a selected row the `muted` role (`{colors.canvas-soft}`); a control's own hover is a step inside its family, as `{colors.action-hover}` is. Persistent navigation marks the current destination with `{colors.navigation-selection-bg}` and `{colors.navigation-selection-fg}`, and local tabs mark the current view with the same pair through the `selection` role. A segmented choice, `SegmentedControl` and the theme switcher's tiles, marks its chosen option with that pair too (with the resting elevation), and the fill never comes without its foreground: on the `selection` ground, a radio's on-primary label reads white on near-white in light and black on black in dark.
555
- - **Scrim** (`{colors.scrim}`): the overlay behind dialogs, sheets and drawers, never blurred. In light it is a near-white wash at the `scrim-opacity` material value; in dark it is black at `dark-scrim-opacity`, never grey. The page behind steps back and the panel in front keeps its full contrast.
384
+ - **Action** (`{colors.action}`, `-foreground`, `-hover`, `-active`): cobalto with white label in both themes (maps to shadcn `primary`). One per page.
385
+ - **Text:** `{colors.ink}` for headings/primary; `{colors.body}` for supporting copy (AA on every canvas); `{colors.muted}` for placeholders and disabled/inactive text only, never descriptions, labels or help.
386
+ - **Lines:** `{colors.line}` is the 1 px seam and outline-button hairline; `{colors.input}` is the 3:1 edge for fields, selects, checkboxes and radios. Never darken `{colors.line}` into a control edge; draw each border once.
387
+ - **Focus** (`{colors.focus-ring}`): full-opacity `{spacing.focus-outline-width}` outline at `{spacing.focus-outline-offset}` in max-contrast neutral, never a box-shadow ring or hue.
388
+ - **Blue on choices:** Info blue appears only on an on switch, filled slider track, and selected choice tile. Checkboxes, radios, segmented controls and toggle groups stay neutral; disabled switches/sliders turn grey.
389
+ - **States:** Hover uses `accent` (`{colors.canvas-soft-2}`); selected rows use `muted` (`{colors.canvas-soft}`); nav, tabs, `SegmentedControl` and theme tiles pair `{colors.navigation-selection-bg}` with `{colors.navigation-selection-fg}` (`selection`, plus resting elevation on segmented choices).
390
+ - **Scrim** (`{colors.scrim}`): unblurred overlay; near-white wash (`scrim-opacity`) in light, true black (`dark-scrim-opacity`) in dark, never grey.
556
391
 
557
392
  ### Colour as stage
558
393
 
559
- The identity palette is the brand's colour: cobalto `{colors.identity-cobalto}`, verde `{colors.identity-verde}`, arancio `{colors.identity-arancio}`, giallo `{colors.identity-giallo}` and rosso `{colors.identity-rosso}`, with `{colors.identity-ink}` and `{colors.identity-white}` as the poles type sits on. Azzurro `{colors.identity-azzurro}` has three jobs: the first stripe of Nadia's ribbon, the last cell of Alveare's mark and the last band of Alveare Server's ("Brand media authority"), and a band of a company's card foil (`CompanyCard`).
394
+ Five flat, full-strength identity hues (`{colors.identity-cobalto}`, `{colors.identity-verde}`, `{colors.identity-arancio}`, `{colors.identity-giallo}`, `{colors.identity-rosso}`) with poles `{colors.identity-ink}` and `{colors.identity-white}`. `{colors.identity-azzurro}` serves Nadia's ribbon first stripe, Alveare's last cell, Alveare Server's last band, and a `CompanyCard` foil band.
560
395
 
561
- The hues appear at full strength and flat, with no tints, steps, gradients or hover variants, in these places. Two exceptions: a pressable `AgentCard`, whose corner glows on hover in a blur of the app mark in it or of her orb's colour (ruled by the user: "that effect is something that i want"); and the website's shader objects, each the material of one object and never a section's ground: the threads she holds, a fan of lines in her stripes from her orb to her colleagues, on black; Alveare's hive, cells that light in its hues as the work passes; and the company card's holographic foil (`CompanyCard`). Stripes and cells stay pure bands of their hues, never a colour between two of them. Ruled by the user: "shaders are not backgrounds all over the place".
396
+ Hues carry no tints, gradients or hover steps except pressable `AgentCard` corner hover glow and the website's three shader objects (threads, hive, `CompanyCard` foil; pure bands, never a section ground). Permitted uses:
562
397
 
563
- - **Section grounds on the website.** A section's ground is white, soft or black, or a band in cobalto or giallo at full strength where the page gives one section its moment, its type in the hue's pole (ruled by the user: "how stripe and others introduce the solid filled sections, like in brand colours. I want that visual style"). Two neighbouring sections never share a ground and two bands never touch; otherwise colour lives in the pictures, the objects, the Agents and the shader objects.
564
- - **Glass.** The colour a glass surface shows through ("Elevation & Depth").
565
- - **Accents on the website.** A 2 px rule that marks one item of a set, one hue per item.
566
- - **Agents.** The orbs ("Agent orbs").
567
- - **Alveare's channels.** Each channel's mark sits on a tile of one hue, in the Mac's sidebar and the iPhone's channel list; the channel's id picks the hue, so a channel is the same colour on every device, and a direct conversation shows its people instead. On the iPhone the person's own messages are cobalto bubbles with white text. Ruled by the user.
568
- - **Objects.** The saturated pieces of the art direction's objects, one per benefit ("Iconography").
569
- - **The logo.** The dot of the wordmark, the Portal's name after it in three letter groups of cobalto, verde and arancio, the icon tile and Alveare's and Alveare Server's marks ("Brand media authority"), and the compact company identity marks ("Identity marks").
570
- - **Imagery.** Art direction reads these tokens and keeps no private palette.
398
+ - **Website grounds & accents:** White, soft, black, or full-strength `cobalto`/`giallo` bands (no adjacent identical grounds or touching bands); 2 px accents (one hue per item); glass pass-through.
399
+ - **Agents, Alveare & brand assets:** [Agent orbs](#agent-orbs), Alveare channel tiles and iPhone cobalto bubbles ([Alveare](./guides/registers.md#alveare)), website benefit objects ([Iconography](./guides/iconography.md)), logos and Portal wordmark suffix ([Brand media authority](./guides/brand-media.md)), compact identity marks, and art direction (which reads these tokens and keeps no private palette).
571
400
 
572
- Text on a colour ground is the pole that clears AA on that hue: `{colors.identity-white}` on cobalto and rosso; `{colors.identity-ink}` on verde, arancio and giallo. A control on a colour ground uses the button's on-colour variants ([`Button`](../ui/src/components/button.tsx)). Product chrome in the Portal and Nadia stays neutral: grounds, text, lines and navigation, a selected row included, whatever it opens. Colour inside that structure is the identity palette at full strength in both themes: the primary control and the on switch in cobalto, feedback and state in cobalto, verde, giallo and rosso with their pole for text, and links in cobalto, the dark theme's links and coloured text one light step of the same hue. It also identifies Agents, providers and categories; an Agent's own colour is her orb, so her row in a list never takes a hue. Choose a typed component tone from the semantic palette; never paint a control with an arbitrary identity hex.
401
+ AA poles: `{colors.identity-white}` on cobalto/rosso; `{colors.identity-ink}` on verde/arancio/giallo; on-colour controls use [`Button`](../ui/src/components/button.tsx) on-colour variants. Product chrome stays neutral; an Agent's colour is her orb, never her row. Never paint controls with raw identity hexes.
573
402
 
574
403
  ### Meaning
575
404
 
576
- - **Feedback** pairs a hue with a soft ground and a deep text step: success (verde), warning (giallo `{colors.warning}`), error (rosso `{colors.error}`), info (cobalto `{colors.info}`). The `-soft` value is the tinted ground of a tag or banner and the `-deep` value is the AA text on it; a component reaches the pair through the `destructive-soft`, `warning-soft`, `success-soft` and `info-soft` roles and their foregrounds. On a solid fill, error takes white text and warning and success take ink in light; in dark all three take `{colors.dark-on-primary}`.
577
- - **Link** (`{colors.link}`, `{colors.link-deep}`, `{colors.link-bg-soft}`): blue inline links. Success uses its own green roles; link colour never doubles as a health signal.
578
- - **Workflow states** (`{colors.state-ready}`, `{colors.state-running}`, `{colors.state-review}`, `{colors.state-blocked}`, `{colors.state-complete}`) colour non-text marks only: meter fills and trend icons. Cobalto means in motion and verde means done. A state's word is `StatusBadge`'s, in the foreground colour; never put a raw meter-fill token on text.
579
- - **Status** is always a `StatusBadge` tone with its shape and a word ("Status").
405
+ - **Feedback:** `-soft` ground + `-deep` AA text (`success` verde, `warning` giallo, `error` rosso, `info` cobalto). Solid fills take white on error and ink on warning/success in light; `{colors.dark-on-primary}` on all three in dark.
406
+ - **Link** (`{colors.link}`, `-deep`, `-bg-soft`): inline links only; never a health signal.
407
+ - **Workflow states** (`{colors.state-ready}`, `-running`, `-review`, `-blocked`, `-complete`): non-text marks, meters and trend icons only; never raw on text.
408
+ - **Status:** Always `StatusBadge` ([Status](#status)).
580
409
 
581
410
  ### Category colour
582
411
 
583
- Labels and their icons carry the palette's eight hues to distinguish named categories: blue, teal, purple, pink, green, orange, yellow and red, each the hue's 200 step as the ground and its 1000 step as the ink in both themes (`category-<tone>` and `category-<tone>-foreground`). A category label (`CategoryTag`) is vivid instead: the hue itself, its 700 step (cobalto, acqua, viola, rosa, verde, arancio, giallo, rosso), as the ground in both themes, and its pole that clears AA as the ink, identity-white on cobalto, viola and rosso and identity-ink on the others (`label-<tone>` and `label-<tone>-foreground`). The blue category never uses the status roles `info` or `info-soft`. The same category keeps the same tone across a surface and after sorting. A word remains visible, and a colour never invents status: a status is `StatusBadge`'s shape and word, never a pill, so a green or red label reads as a category and never as done or failed. Icons inherit the tone of their label rather than adding a second colour. Brand marks keep their genuine colours. This uses Geist's light fill / strong text technique with nadicode's semantic roles; agents never choose raw palette values in pages.
584
-
585
- ### Scales
586
-
587
- Eight hue scales give product colour its steps, on the structure of [Geist's colours](https://vercel.com/geist/colors): cobalto, rosso, arancio, giallo, verde, acqua, viola and rosa, each from `{colors.cobalto-100}` to `{colors.cobalto-1000}` with a `dark-` value for every step. Step 700 is the hue itself: the identity hex for cobalto (`{colors.cobalto-700}`), rosso, arancio, giallo and verde, the categorical teal and violet for acqua and viola, and a pink beside the category pink for rosa. Neutrals stay on the spine above; there is no grey scale.
588
-
589
- | Steps | Job |
590
- | --- | --- |
591
- | 100, 200, 300 | A tinted ground: default, hover, active |
592
- | 400, 500, 600 | A border or a soft mark: default, hover, active |
593
- | 700, 800 | A solid fill and its hover |
594
- | 900, 1000 | Text and icons: secondary, primary |
595
-
596
- Step 900 clears AA text on its own 100, 200 and 300 and on the canvas in both themes, and the build refuses a scale that loses it. Lightness climbs with the step in light. In dark, as in Geist's dark scales, 600 is the brightened mark a chart draws on black and sits above 700 and 800, and giallo's 900 sits below its 700, so a dark ramp is chosen by step, not by assuming lightness order. A step reaches a page through a role or a component tone, never as a raw hex. The scales are product colour: a place in "Colour as stage" keeps its identity hue at full strength, and no scale step tints it.
412
+ Eight hues (`blue`, `teal`, `purple`, `pink`, `green`, `orange`, `yellow`, `red`): soft labels use step 200/1000 (`category-<tone>`); vivid `CategoryTag` pills use step 700/AA pole (`label-<tone>`). Blue categories never use `info`/`info-soft`. Categories keep one tone across sorting, show a word, never signal status, and icons inherit label tone. Scales and charts live in [Data visualization](./guides/data-visualization.md#hue-scales).
597
413
 
598
414
  ### Dark mode
599
415
 
600
- Every token `X` with a `dark-X` pair takes the dark value under a `.dark` ancestor; a component uses the same role in both modes and never ships a `dark:` utility or a mode branch of its own. The dark page is true black, `{colors.dark-canvas}`. Elevated surfaces lift from it by tone ("Elevation & Depth"); the soft steps `{colors.dark-canvas-soft}` and `{colors.dark-canvas-soft-2}` are interaction fills and never become a page, section or panel ground. On a lifted surface the hover and muted fills step up from that surface's own tone. Dark feedback and chart values are brightened so they read on black; `{colors.dark-input}` stays brighter than `{colors.dark-line}` so a field's edge clears 3:1. A surface that is dark by nature, such as Nadia's entry screen, a terminal console, a black website section or a black brand plane inside a product (`BrandField`), stays dark in every theme as one fixed treatment: it scopes `.dark`, so every role and control inside it takes its dark value.
416
+ `X`/`dark-X` pairs flip under `.dark`; components never ship `dark:` utilities or mode branches. Dark canvas is `{colors.dark-canvas}` (`#000000`); `dark-canvas-soft`/`-2` are interaction fills only, never page/section/panel grounds. Lifted surfaces step hover/selection up from their own tone; `{colors.dark-input}` stays brighter than `{colors.dark-line}` so field edges clear 3:1 against dark surfaces. Inherently dark surfaces (entry screens, terminals, black website sections, `BrandField`) scope `.dark`.
601
417
 
602
418
  ### Roles
603
419
 
604
- The shared colour roles are authored once, in the token extension's `semantic` group: each role (`background`, `card`, `popover`, `primary`, `muted`, `accent`, `border`, `input`, `ring`, `sidebar`, the feedback roles `destructive`, `warning`, `success` and `info` with their `-soft` pairs, the chart roles, and the rest) names one core token per mode. The Portal, the website and `@nadicodeai/ui` paint with these roles; Nadia's theme translates Hermes's role names onto the same ones and adds the shared roles Hermes has no name for. A product needing a role that does not exist adds it here; it never picks a colour locally.
605
-
606
- ## Data Visualization
607
-
608
- ### Chart source
609
-
610
- Every chart and KPI card is drawn as the stock shadcn registry draws it, with a short, tested list of deliberate deviations; the visual ones are these:
611
-
612
- - The tooltip prints the exact figure in the surface's units; the axis prints a scale (`1.6B`, `800M`).
613
- - The value axis is always drawn, with five ticks on a 1, 2, 2.5, 5 or 10 step.
614
- - Bars are capped in width, the grid is dashed in both directions, and plot heights are fixed.
615
- - A multi-series chart has a legend below the plot, left-aligned and wrapping: a round dot and the entity name, in series order. A usage summary instead identifies its series through the adjacent ranking's identity labels and coloured share bars, without dots.
616
- - A signed comparison keeps a visible zero line so losses and gains share one baseline, and colours each bar by its consequence: `success` where the value is favourable, `destructive` where it is not.
617
- - A daily axis labels every second day from the first, fewer in a half-width card. A category axis is as wide as its longest name up to 128 px, a longer name wrapping to a second line where its row holds two lines and cut with an ellipsis where it does not.
618
-
619
- No pie, donut, radar or dual-axis chart, and no mark or logo inside a legend. The one ring is `Gauge`, which is not a chart.
620
-
621
- ### Palette and assignment
622
-
623
- Ten categorical series colour data and nothing else, in this order: cobalto, rosa, viola, arancio, acqua, rosso, giallo, verde, then a light cobalto and a light rosa, `{colors.chart-1}` to `{colors.chart-10}`. Each slot is a step of a scale ("Scales"). In light it is the 700 step, with giallo at 800 so a yellow bar keeps an edge on white, and the tints at cobalto-600 and rosa-500. In dark it is the 600 step, with giallo at 700 and the tints at cobalto-900 and rosa-900, and every slot clears 3:1 on black. Cobalto leads, as in the logo.
624
-
625
- The order is the colour-blind safety for marks drawn in slot order, as a stack, a group and the legend draw them: the build holds every neighbouring pair apart in normal and deuteranopia-simulated vision in both themes (CIEDE2000 20 and 15) and refuses a slot that is not a scale step. Slots further apart carry no such floor: cobalto and viola (slots 1 and 3) stay close for a deuteranope, and a chart that draws a later slot beside an earlier one, such as a second ranking on a surface whose map follows the first, can put close slots side by side. Giallo and the two tints sit below 3:1 on white. A chart therefore relies on its always-on legend and its tooltip, never on hue alone.
626
-
627
- Rosso enters at slot 6 and verde at slot 8, so a surface whose map holds five entities or fewer never shows a red or a green that reads as error or success; past five, the legend's words carry the meaning and the hue only tells series apart.
628
-
629
- - **One series**: `{colors.chart-1}`, titled, with no legend.
630
- - **Two to ten**: the slots in order, identified by the legend or the usage summary's ranking.
631
- - **More than ten**: the eleventh entity and every later one fold into one neutral "Everything else" in `{colors.muted}`; the page lists its entities largest first, so the tail is the smallest.
632
-
633
- A hue follows its entity, never its rank or position: one assignment per surface, the same in a chart and its table, stable under filtering and sorting.
634
-
635
- ### Meters, deltas and labels
636
-
637
- - **Meter**: a share is a bar with its printed figure. The track is `{colors.line}`; the fill is the action colour, the review state from 80% and the blocked state from 100% of a cap, or the entity's chart colour for a share of a total. A percentage is never text alone.
638
- - **Delta**: an outline Badge with a trend icon (`TrendingUp`, `TrendingDown`, `Minus`) and the signed value, followed by a muted "vs {period}". Direction crossed with whether up is good sets the tone; a neutral direction stays neutral. Never bare signed text, colour alone, or a ▲▼ glyph. `KpiCard`'s usage page holds where the badge stands.
639
- - **Labels**: legend, axis and label text are ink roles and never wear the series colour. Tooltips enhance a chart and never hold the only copy of a value.
420
+ Shared colour roles live once in `semantic` (`src/tokens/extension.tokens.json`). Portal, website and `@nadicodeai/ui` paint with them; Nadia maps Hermes's role names onto them. Add missing roles there, never locally.
640
421
 
641
422
  ## Typography
642
423
 
643
- Geist and Geist Mono are the two families. The role scale follows the measured [Geist typography](https://vercel.com/geist/typography): headings, buttons, single-line labels and multiline copy each have their own line height and weight. The `label-mono` family and `code` use Geist Mono. Fonts ship with the package and their SIL Open Font License; no network font fetch is required. Text is antialiased in every product and on the website with grayscale smoothing (`-webkit-font-smoothing: antialiased`, `-moz-osx-font-smoothing: grayscale`), set once by the package's stylesheet. No display serif joins them: its hairlines are hard to read, worst on black, and the old lives in the pictures and the logo's arch, not in the type.
424
+ Geist and Geist Mono ship bundled (SIL OFL, grayscale antialiased, no network fetch, no display serif). Exact metrics for all 29 scales sit in `typography` above.
644
425
 
645
- | Token | Size / line height | Use |
426
+ | Family | Tokens | Use |
646
427
  | --- | --- | --- |
647
- | `{typography.display-xl}` | 72 / 72 px | Largest display heading. |
648
- | `{typography.display-wide}` | 64 / 64 px | Wide display heading. |
649
- | `{typography.display-lg}` | 56 / 56 px | Hero headline. |
650
- | `{typography.display-section}` | 48 / 56 px | Large section heading. |
651
- | `{typography.display-md}` | 40 / 48 px | Section headline. |
652
- | `{typography.heading-lg}` | 32 / 40 px | Large product section. |
653
- | `{typography.heading-md}` | 24 / 32 px | Page or object title. |
654
- | `{typography.heading-sm}` | 20 / 26 px | Card, settings section or dialog title. |
655
- | `{typography.heading-xs}` | 16 / 24 px | Compact card or group title. |
656
- | `{typography.heading-compact}` | 14 / 20 px | Dense subsection title. |
657
- | `{typography.button-lg}` | 16 / 24 px | Large button label. |
658
- | `{typography.button}` | 14 / 21 px | Default and small button label, only inside a component that renders a button. |
659
- | `{typography.button-xs}` | 12 / 16 px | Label of a tiny button inside a field, nowhere else. |
660
- | `{typography.label-display}` | 20 / 32 px | Large single-line label beside an icon. |
661
- | `{typography.label-lg}` | 18 / 20 px | Prominent single-line label beside an icon. |
662
- | `{typography.label-md}` | 16 / 20 px | Object or item label on one line. |
663
- | `{typography.label}` | 14 / 20 px | Menu, navigation and field label on one line beside an icon. |
664
- | `{typography.label-sm}` | 13 / 16 px | The secondary line under a label, with tabular digits. |
665
- | `{typography.caption}` | 12 / 16 px | Tertiary label or badge. |
666
- | `{typography.label-mono-lg}` | 14 / 20 px | Mono beside text larger than 14 px; a default `Kbd`. |
667
- | `{typography.label-mono-md}` | 13 / 20 px | Mono beside 14 px text. |
668
- | `{typography.label-mono}` | 12 / 16 px | Compact identifier; a `sm` `Kbd`. |
669
- | `{typography.body-display}` | 24 / 36 px | Large marketing lead. |
670
- | `{typography.body-lead}` | 20 / 36 px | Marketing lead. |
671
- | `{typography.body-lg}` | 18 / 28 px | Long lead or quotation. |
672
- | `{typography.body-md}` | 16 / 24 px | Copy for roomy views: entry instructions. |
673
- | `{typography.body-sm}` | 14 / 20 px | The default for multi-line copy and product descriptions, a dialog's among them. |
674
- | `{typography.body-compact}` | 13 / 18 px | Tight secondary copy. |
675
- | `{typography.code}` | 13 / 18 px | Inline code or code block. |
676
-
677
- A token has one size at every width; nothing is sized in `vw` or `vh`. A role includes family, size, line height, weight and tracking together. Use the shared `nc-type-*` classes or the generated `text-<token>` utilities, such as `text-display-md`, with `font-label-mono` for the `label-mono` family and `font-code` for `code`, rather than assembling role metrics at a call site. Existing `text-xs`, `text-sm` and `text-base` body sizes match `caption`, `body-sm` and `body-md`. Card, panel and section titles are sentence-case Geist. Headings use weight 600 and their optical negative tracking. A softer run inside a heading uses 500; a strong run inside a label uses 500; strong paragraph copy uses 550. A softer or stronger run is made by nesting a `<strong>` under the type role, whether the role is written as `nc-type-<role>` or as the `text-<role>` utility; a second weight class on the `<strong>` is never added. Labels align single lines and icons; paragraphs use the copy roles and can wrap. Headings and the heading and display roles wrap balanced, so no line of a title is left short; copy wraps pretty, so a paragraph never ends on a lone word; centred copy wraps balanced, whatever its role. The type layer applies this, Nadia's skin takes it with the roles and Alveare's type adapter with its type steps, so a screen sets text wrapping only to depart from it. Numeric comparisons use tabular digits, and identifiers use mono. Semantic heading levels express document structure independently of visual size. Never shrink type to fit: wrap, reflow or move supporting detail.
678
-
679
- ### The website's text
680
-
681
- The website keeps one token per role on every page: a hero's title `{typography.display-lg}` (`{typography.display-md}` under 640 px), a section's title `{typography.display-md}` (`{typography.heading-lg}` under 768 px), a lead `{typography.body-lg}` at a measure of 60 characters under a section's title, 52 in the closing band, whose row it shares with the band's object, and `40rem` in a hero, a card's or a tour stop's title `{typography.heading-md}`, an item's title `{typography.heading-sm}` and its words `{typography.body-md}`, and a product view's caption `{typography.label-mono}`. A label over a title, naming what the section or the card is, is `{typography.label-mono}` in capitals and the ground's text colour, never a hue. A section's words start at the column's edge; only a page's hero and its showcase centre them. A call to action is the large button; every other way onward is a link with an arrow.
428
+ | Display | `display-xl` (72), `-wide` (64), `-lg` (56), `-section` (48), `-md` (40) | Largest (`-xl`), wide (`-wide`), hero (`-lg`), large section (`-section`), section (`-md`) headlines |
429
+ | Heading | `heading-lg` (32), `-md` (24), `-sm` (20), `-xs` (16), `-compact` (14) | Large product section (`-lg`), page/object (`-md`), card/settings/dialog (`-sm`), compact group (`-xs`), dense subsection (`-compact`) |
430
+ | Button | `button-lg` (16), `button` (14), `button-xs` (12) | Buttons only (`button-xs` inside fields only) |
431
+ | Label | `label-display` (20), `-lg` (18), `-md` (16), `label` (14), `-sm` (13), `caption` (12) | Large/prominent icon-adjacent (`-display`, `-lg`), single-line object/item (`-md`), nav/menu/field (`label`), tabular secondary (`-sm`), tertiary/badge (`caption`) |
432
+ | Mono | `label-mono-lg` (14), `-md` (13), `label-mono` (12), `code` (13) | Mono beside >14 px text & default `Kbd` (`-lg`), mono beside 14 px text (`-md`), compact identifier & `sm` `Kbd` (`label-mono`), inline/block code (`code`) |
433
+ | Body | `body-display` (24), `-lead` (20), `-lg` (18), `-md` (16), `-sm` (14), `-compact` (13) | Marketing leads (`-display`, `-lead`), long lead/quotation (`-lg`), roomy/entry (`-md`), default multiline product/dialog (`-sm`), tight secondary (`-compact`) |
682
434
 
683
- ### Entry screens
435
+ Sizes stay fixed across widths (no `vw`/`vh`). Apply whole roles via `nc-type-*` or `text-<token>` (`font-label-mono`/`font-code`); existing `text-xs`, `text-sm` and `text-base` body sizes match `caption`, `body-sm` and `body-md`. Titles use sentence case, weight `600`, and negative tracking; nested `<strong>` sets 500 in headings/labels and 550 in paragraphs with no extra weight class. Headings and centred copy wrap balanced; multiline copy wraps pretty. Use tabular digits for numeric comparisons, mono for identifiers, semantic heading levels independent of size, and never shrink type to fit. Website text roles live in [Registers](./guides/registers.md#the-websites-text).
684
436
 
685
- Installation, startup, sign-in and recovery use `{typography.body-md}` for their
686
- instructions, greetings and status messages, at its regular weight. A genuine
687
- screen title may use `{typography.heading-sm}`; a changing status or an
688
- instruction never becomes a heading merely because the screen has little copy.
689
- Actions use `{typography.body-sm}`, and a progress line's measured amount uses
690
- `{typography.label-mono}`. These roles retain their token sizes at every width.
437
+ ### Entry screens
691
438
 
692
- An image edge must not masquerade as a finished object edge. Compact layouts preserve
693
- readable controls and scroll when content cannot fit.
439
+ Installation, startup, sign-in and recovery use `{typography.body-md}` regular for instructions/greetings/status, `{typography.heading-sm}` only for genuine titles (never status/instructions), `{typography.body-sm}` for actions, and `{typography.label-mono}` for progress amounts, fixed across widths. Image edges never masquerade as object edges; compact layouts scroll while keeping controls readable.
694
440
 
695
441
  ## Layout
696
442
 
697
- Every gap, pad and stack step a page, section or composition sets is a rung of the spacing ladder, `{spacing.xxs}` 4 px through `{spacing.6xl}` 128 px; a layout picks the rungs it needs and never interpolates between them. Inside a component, the stock shadcn registry's own spacing stands. Every visible line has one owner: a seam is `{spacing.guide}` in `{colors.line}`, a control edge is `{colors.line}`, a field's and a button's alike, and focus is the focus outline.
698
-
699
- Control geometry is the same in every product:
443
+ Gaps and paddings use spacing-ladder rungs (`{spacing.xxs}` 4 px to `{spacing.6xl}` 128 px) without interpolation; stock shadcn internal spacing stands. Visible lines have one owner: `{spacing.guide}` in `{colors.line}` for seams/outline buttons, `{colors.input}` for control edges, focus outline for focus.
700
444
 
701
445
  | Token | Owns |
702
446
  | --- | --- |
703
- | `{spacing.control-height}` | The default control, and every control in product chrome but a tab |
704
- | `{spacing.control-height-xs}`, `{spacing.control-height-sm}`, `{spacing.control-height-lg}` | The 24, 32 and 40 px sizes a control and a field share |
705
- | `{spacing.control-padding-inline}` | A field's inline padding (input, select, textarea, combobox, hover card) |
706
- | `{spacing.button-padding-inline-sm}`, `{spacing.button-padding-inline}`, `{spacing.button-padding-inline-lg}` | A button's inline padding at its small, default and large size |
707
- | `{spacing.touch-target}` | The minimum target on coarse or non-hover input, whatever the visual size |
708
- | `{spacing.icon-stroke}`, `{spacing.icon-stroke-sm}` | The icon line ("Iconography") |
709
- | `{spacing.focus-outline-width}`, `{spacing.focus-outline-offset}` | The focus outline |
710
-
711
- Product chrome uses the 36 px control: a page header and its three-dot trigger, a toolbar, a card's header and footer and a filter row take `{spacing.control-height}` with a `{typography.button}` label. Compact controls use 32 px and prominent controls 40 px; a button's `sm` and `xs` sizes are for a control nested inside dense content, such as a record's row or card buttons and three-dot trigger, a notice's or a banner's one action, a descriptive item's trailing controls, a composer or an input group. A control nested in a field, and `SegmentedControl`'s options, keep the same outer heights; their usage pages hold how.
712
-
713
- ### The website column
714
-
715
- A website page is a sequence of full-bleed sections, each centring its content in one column, `.nc-page`: `content-max` 1200 px wide with a side gutter of 20 px below 640 px, 40 px from 640 px and 64 px from 1024 px. From 1024 px the column's two edges are drawn as 1 px rails in `line` through every section, and each section closes with a 1 px line across the full width, so the page reads on one visible grid. Sections sit one step apart, 64 px below 1024 px and 96 px from it (`.nc-section-step`); a full-bleed picture that closes a section takes the step on its leading edge only (`.nc-section-step-lead`). Inside the column a section composes a heading, a split, a bento, a row of cards, a step rail or a logo row, and a composition may change its column count at 768 px. Nothing else sets a page width, and the page never scrolls sideways: horizontal overflow is clipped at the root, never on an inner surface.
447
+ | `{spacing.control-height}` / `-xs`, `-sm`, `-lg` | Default 36 px chrome (except tabs); 24, 32, 40 px controls/fields |
448
+ | `{spacing.control-padding-inline}`, `{spacing.button-padding-inline}` (`-sm`, `-lg`) | Field and button inline paddings |
449
+ | `{spacing.touch-target}`, `{spacing.icon-stroke}` (`-sm`), `{spacing.focus-outline-width}` / `-offset` | 44 px coarse target, icon strokes ([Iconography](./guides/iconography.md)), focus outline |
716
450
 
717
- These values are the `register.website.layout` tokens; the breakpoints live in `foundation.css`, which collapses them into `--nc-gutter` and `--nc-section-step`.
451
+ Product chrome takes 36 px controls (`{typography.button}`); compact uses 32 px, prominent 40 px; `sm`/`xs` buttons belong only inside dense content (record rows, notices, composers, input groups). Website column lives in [Registers](./guides/registers.md#the-website-column).
718
452
 
719
453
  ### Product shells
720
454
 
721
- The Portal, Nadia, Alveare and Alveare Server's running workspace are product shells: persistent navigation on the left, the selected destination on the right, on the workspace ground ("Elevation & Depth"). They use the spacing ladder and the control geometry, not the website's column.
455
+ Portal, Nadia, Alveare and Alveare Server use persistent left navigation and the selected destination on `{colors.material-workspace}` with the spacing ladder and control geometry (not the website column).
722
456
 
723
457
  ## Elevation & Depth
724
458
 
725
- Product UI sits on one continuous workspace ground, `{colors.material-workspace}` (true black in dark), and solid objects rise above it at four heights: `nc-elevation-resting` for resting content, then `nc-elevation-raised`, `nc-elevation-floating` and `nc-elevation-modal` when an object is physically raised, floating or modal. Physical role chooses the height, never the importance of the content. Each recipe carries its own edge, so an elevated surface never adds a border, a ring or a second shadow.
726
-
727
- The user approved the materials: content lying on the page with no grey fill, a little more depth on what floats, and glass only where it is useful. [The materials reference](../../docs/adr/2026-09-23-the-nadicode-design-system/depth-and-glass.html) shows each height and the glass in both modes. Four rules decide them.
728
-
729
- **Content lies on the page.** Cards, KPIs, tables, lists and settings take the resting height: white in light and `{colors.dark-material-resting}` in dark, on the black page. Their edge is a 1 px line, black at 8% in light; in dark white at 14.5%, with a 1 px black ring outside it, so the edge stays sharp where one surface overlaps another. They have no grey fill.
730
-
731
- **What floats takes its depth from light, not from grey.** Raised (selected or dragged work), floating (menus, popovers, toasts, tooltips) and modal (dialogs, sheets, drawers, the command palette) surfaces stay white in light, and each height takes its own shadow from `core.elevation`, deeper as the height rises. Shadows stay black: a tinted shadow belongs only to a product view on a colour ground of the website. In dark they lift one barely visible step, `{colors.dark-material-raised}` for all three, and show their height with a line of light along the top inside, a white edge of 16 to 18% outside with the black ring beyond it, and a deep black shadow, all stronger with each height. The design-system checks fail a dark height darker than the one below it or lighter than that step (1.10:1 against the page), so a grey surface cannot ship; `{colors.dark-ink}` and `{colors.dark-muted}` keep the WCAG AA text floor on it. A field inside a surface is a darker well of it (that surface mixed 45% toward black) inside its edge, so every field stays visible; a footer or striped row is a quarter darker. Hover and selected fills step up from the surface they sit on. A component names only its height and its role (`bg-card`, `bg-popover`); `@nadicodeai/ui/globals.css` sets those roles to the height's tone on the element.
459
+ Solid surfaces rise above `{colors.material-workspace}` (true black in dark) at four heights chosen by physical role, never importance. Each height owns its edge: never add a border, ring or second shadow ([depth-and-glass.html](../../docs/adr/2026-09-23-the-nadicode-design-system/depth-and-glass.html)).
732
460
 
733
461
  | Surface | Fill | Height | Use |
734
462
  | --- | --- | --- | --- |
735
- | Workspace | `{colors.material-workspace}` | None | The work area behind product objects. |
736
- | Resting | `{colors.material-resting}` | `nc-elevation-resting` | Cards, KPIs, chart cards, tables, lists, settings. The default. |
737
- | Raised | `{colors.material-raised}` | `nc-elevation-raised` | Selected or dragged work, an attached inspector. |
738
- | Floating | `{colors.material-floating}` | `nc-elevation-floating` | Menus, context menus, popovers, selects, comboboxes, toasts, tooltips and hover cards. |
739
- | Modal | `{colors.material-modal}` | `nc-elevation-modal` | Dialogs, sheets, drawers, the command palette. |
740
- | Outlined | `{colors.material-solid}` | None; one `line` border | A flat panel: fact cells inside a record, the website's explanatory cards. |
741
- | Plain | `{colors.material-solid}` | None | A structural card with no edge of its own. |
742
-
743
- **Glass only where something moves under it.** Glass is a material, not a height: the resting surface's colour at `glass-opacity` over a backdrop blur (`glass-blur`) at `glass-saturation`, so the colour passing under it comes through and its text stays readable, with a 5% monochrome grain that keeps the blurred colour from banding. Its edge is the glass recipe (`nc-glass`): a line of light along the top and a hairline edge. It goes only where content passes under it:
744
-
745
- - a collection's toolbar over the rows that scroll under it (on a page whose rows never pass under it, the toolbar is the plain row, with no fill or edge of its own);
746
- - a conversation's chat bar, Nadia's and Alveare's alike, over the messages that scroll under it, drawn by `nc-chat-bar` in `@nadicodeai/ui` and by nothing else, and Nadia's window's header band over her conversation;
747
- - the website header as the page scrolls under it;
748
- - a small card over Agent orbs or a shader object.
749
-
750
- **No glass over a plain page.** Menus, context menus, popovers, selects, comboboxes, the command palette, toasts, dialogs, sheets and drawers are solid: over a plain white or black page glass has nothing to show and reads as a grey box. Content stays solid too: cards, KPIs, tables, chat and forms. Reduced transparency and browsers without backdrop-filter replace glass with the solid resting surface. Transparency never reduces the opacity of labels or controls.
751
-
752
- **Only a tooltip has a stem.** A tooltip points at its trigger with a small triangle; no other floating surface (menu, popover, select, hover card, dialog) draws a pointer, so a surface that opens from a trigger is placed beside it with its offset alone.
753
-
754
- **Product views on the website** preserve the real interface. Nadia uses captures of the running application, with the unchanged full-size image linked and capture provenance recorded in the repository, following the founder's 12 October correction of invented UI. Portal and Alveare may use inert scenes built from real components with fictional example data recorded in the repository. Never invent interface controls or frame a view in a device mockup. A capture keeps what the product draws as it draws it, ruled by the user: a label the product has not translated yet, or the marks its Browser puts on the controls a colleague works, stays. A product window takes the raised height on its ground; a card that overlaps it floats. Live components use dark mode in a black section; captures preserve the application's captured theme.
755
-
756
- An absence on a page or in a region (`EmptyState`) is a resting card with its own edge, never a dashed boundary; an absence inside a card is unframed, because the card already owns the edge.
757
-
758
- Dialogs, sheets, drawers and the command palette sit over the scrim ("Colors"); popovers, selects and toasts float without one. Focus is not elevation: it is always the focus outline.
463
+ | Workspace | `{colors.material-workspace}` | None | Work area behind product objects |
464
+ | Resting | `{colors.material-resting}` | `nc-elevation-resting` | Cards, KPIs, charts, tables, lists, settings (default) |
465
+ | Raised | `{colors.material-raised}` | `nc-elevation-raised` | Selected/dragged work, attached inspector |
466
+ | Floating | `{colors.material-floating}` | `nc-elevation-floating` | Menus, popovers, selects, comboboxes, toasts, tooltips, hover cards |
467
+ | Modal | `{colors.material-modal}` | `nc-elevation-modal` | Dialogs, sheets, drawers, command palette |
468
+ | Outlined / Plain | `{colors.material-solid}` | None (`1 px` `line` / none) | Record fact cells, website cards / structural card |
469
+
470
+ - **Resting:** White + 1 px 8% black edge (light); `{colors.dark-material-resting}` + 14.5% white edge + 1 px outer black ring (dark); no grey fill.
471
+ - **Floating heights:** White + deeper black shadows in light (tinted only on coloured website bands); in dark, `{colors.dark-material-raised}` (<= 1.10:1 against black) + top inside line of light + 16 to 18% white edge + outer black ring + deep black shadow. Inner fields darken 45% toward black; footers/striped rows darken 25%; hover/selection steps up from the surface beneath.
472
+ - **Glass (`nc-glass`):** `glass-opacity` + `glass-blur` + `glass-saturation` + 5% monochrome grain + top line of light + hairline edge. Allowed **only** where content moves underneath: (1) scrolling collection toolbar (plain otherwise), (2) `nc-chat-bar` and Nadia's header over messages, (3) scrolling website header, (4) small card over Agent orbs/shaders. Content and overlays stay solid. Reduced transparency / no `backdrop-filter` falls back to solid resting; labels stay full opacity.
473
+ - **Stems, absences & scrim:** Only tooltips have stems. `EmptyState` is resting on a page (never dashed), unframed inside a card. Modals use scrim; popovers/selects/toasts do not. Website product views live in [Registers](./guides/registers.md#product-views-on-the-website).
759
474
 
760
475
  ## Shapes
761
476
 
762
- A corner follows what the thing is, on one scale: buttons, inputs, badges, tabs and menu rows take `{rounded.sm}` (6 px), a large (40 px) control takes `{rounded.md}` (8 px), and the 24 px icon button, a keyboard key and a breadcrumb link take `{rounded.xs-plus}` (4 px); a line tab takes `{rounded.none}`, standing on its underline. A surface takes its corner with its material: resting and plain cards and tables take `{rounded.sm}` (6 px); a raised card and any medium or large surface take `{rounded.lg}` (12 px), as do menus, popovers, dialogs, sheets and toasts, and a drawer on each edge not flush with the window; tooltips take `{rounded.sm}` (6 px); a surface that fills the window takes `{rounded.xl}` (16 px); a collection's glass toolbar takes `{rounded.lg}` (12 px); a conversation bubble takes `{rounded.2xl}` (20 px); a conversation's chat bar takes `{rounded.3xl}` (24 px). A checkbox mark is a square at `{rounded.xs-plus}` (4 px), still distinct from a circular radio. A segmented control's track takes `{rounded.sm}` (6 px), `{rounded.md}` (8 px) at 40 px, and its chosen option `{rounded.xs-plus}` (4 px), `{rounded.sm}` at 32 px. A slider thumb is a 6 by 14 px bar at `{rounded.xs}`. A corner is never chosen at the call site: it comes with the surface or the control. A corner nested inside another takes the outer radius minus the gap between them. Full-bleed sections take `{rounded.none}`. `{rounded.full}` is for avatars, switch and radio marks, filter chips, tags, the conversation's send button, and pill and circle buttons (show more, a banner's call to action, a scroller's buttons, the theme switcher). The other radii are for inner marks and geometry a component owns, such as a progress track.
763
-
764
- ## Motion
765
-
766
- Status labels use sentence case without trailing ellipses; complete instructional sentences keep their punctuation.
477
+ | Token | Value | Owns |
478
+ | --- | --- | --- |
479
+ | `{rounded.none}` / `{rounded.xs}` | 0 / 2 px | Full-bleed sections, line tabs / `6 x 14 px` slider thumb |
480
+ | `{rounded.xs-plus}` | 4 px | 24 px icon button, `Kbd`, breadcrumb, checkbox, default segmented option |
481
+ | `{rounded.sm}` | 6 px | Buttons, inputs, badges, tabs, menu rows, resting/plain cards, tables, tooltips, segmented track, 32 px segmented option |
482
+ | `{rounded.md}` | 8 px | 40 px controls and 40 px segmented track |
483
+ | `{rounded.lg}` | 12 px | Raised cards, medium/large surfaces, menus, popovers, dialogs, sheets, toasts, non-flush drawer edges, glass toolbar |
484
+ | `{rounded.xl}` | 16 px | Window-filling surfaces |
485
+ | `{rounded.2xl}` / `{rounded.3xl}` | 20 / 24 px | Conversation bubble / chat bar |
486
+ | `{rounded.full}` | 9999 px | Avatars, switches, radios, filter chips, tags, send button, pill/circle buttons, theme switcher |
767
487
 
768
- Only Agents move on their own, with one exception: the company's card (`CompanyCard`) turns in the light for 2.2 s when it is first seen and again when it is issued, then stays still, and under reduced motion it does not turn. The interface answers a person's action, briefly, and stops: motion follows the action, grows from the element that was pressed, and settles, within 300 ms; sheets and drawers that follow the pointer take their own durations, and a pressable `AgentCard`'s hover glow takes 500 ms. Keyboard actions and anything used a hundred times a day are instant. While a person waits for something they asked for, one waiting line moves and nothing else ([system waits](../../skills/design/product-design/references/living-elements.md#system-waits)). On the website three things move: Agents, the product at work, and the shader objects; a film of ours plays only when the visitor presses play. A product scene runs the real components through their states in beats while it is half in view, rests on the finished work, loops, stops off-screen, and holds the finished work under reduced motion; a part of a scene arrives with `.nc-arrive`: it holds its place from the start and comes into focus there on the message-arrival timing, so a playing scene never shifts the page. The threads, the hive and the card's foil move at their own slow pace; each stops off-screen and holds one frame under reduced motion. Words never move, and there is no parallax, scroll reveal of text, marquee or shimmer. Ruled by the user: a Stripe-grade product site, with shaders adjusted to the art direction and the products shown working.
488
+ Never pick corners ad hoc at call sites; nested corners equal outer radius minus gap.
769
489
 
770
- The homepage figures have one user-requested exception: a slight lean in response to a fine pointer, with no autonomous loop and no movement under reduced motion. Architecture and words stay still.
490
+ ## Motion
771
491
 
772
- Every picture in the products stays still ("Iconography" says where one stands), with one exception: a first use's picture arrives once, after it loads. It holds its place and comes into focus there, from transparent and an 8 px blur to sharp, over `arrive` on `emphasized`, and never moves again; it never loops, and under reduced motion it does not animate at all and simply appears. Ruled by the user.
492
+ Products stay still: only Agents move autonomously, plus `CompanyCard` (one 2.2 s turn on first sight and issue; still under reduced motion). On the website, only Agents, working product scenes (looping while half in view, arriving via `.nc-arrive` with zero shift, pausing off-screen and holding finished state under reduced motion), and the three shader objects move (each pauses off-screen and holds one frame under reduced motion; films play on press; homepage figures have a bounded fine-pointer lean, none under reduced motion). Words never move; no parallax, text scroll-reveal, marquee or shimmer.
773
493
 
774
- The default transition in every product is `confirm`, 180 ms, `out-strong`. Under reduced motion, movement stops and paint continues: transforms and keyframed movement go to their end state, and opacity and colour transitions stay, because a fade or a colour change is the state change itself. A component never answers reduced motion by turning every transition off.
494
+ Interactive motion settles within `300 ms` from the pressed element (`AgentCard` glow `500 ms`; sheets/drawers track pointer); keyboard and 100x/day actions are instant. Waits animate one waiting line ([system waits](../../skills/design/product-design/references/living-elements.md#system-waits)). First-use pictures arrive once after loading (`arrive`/`emphasized`, transparent + 8 px blur to sharp; instant under reduced motion). Default: `confirm` (`180 ms`, `out-strong`). Under reduced motion, transforms/keyframes jump to end state while opacity and colour transitions stay.
775
495
 
776
- | Token | Use |
777
- | --- | --- |
778
- | `control` 100 ms | Hover and press on a control in a dense surface |
779
- | `close` 140 ms, `open` 220 ms | Floating chrome and overlays leaving and arriving |
780
- | `confirm` 180 ms | Confirmation, instant state flips, the default transition |
781
- | `msg-in` 240 ms | A message arriving in a conversation |
782
- | `transition` 240 ms | Property transitions on a working surface, and the Portal's one page transition, which carries an Agent's orb from a list row into its page |
783
- | `arrive` 300 ms | A first use's picture coming into focus, once |
784
- | `drawer-swipe` 400 ms, `drawer` 450 ms | Sheets, and the phone drawer that follows the finger |
785
- | `wait` 1.6 s | Every waiting indicator: the waiting line, on every screen, a kept Hermes screen's included |
496
+ | Token | Duration | Use |
497
+ | --- | --- | --- |
498
+ | `control` / `close` / `open` | 100 / 140 / 220 ms | Dense hover-press / overlays leaving & arriving |
499
+ | `confirm` | 180 ms | Default transition, confirmations, state flips |
500
+ | `msg-in` / `transition` | 240 ms | Message arrival / working surfaces & Portal orb page transition |
501
+ | `arrive` | 300 ms | First-use picture arrival |
502
+ | `drawer-swipe` / `drawer` / `wait` | 400 / 450 ms / 1.6 s | Sheets & pointer drawers / waiting line |
786
503
 
787
- The easings are `emphasized`, `out-strong`, `in-out-strong` and `drawer`; the waiting line and the shimmer on an Agent's state word travel at constant speed (`linear`). A CSS transition or animation takes its duration and easing from these tokens; the design system's own stylesheets are held to it by a guard.
504
+ Easings: `emphasized`, `out-strong`, `in-out-strong`, `drawer`, and `linear` (waiting line and Agent state-word shimmer).
788
505
 
789
506
  ## Components
790
507
 
791
- Every component in `@nadicodeai/ui` takes its look only from the roles and tokens in this file: no raw colour, no `dark:` utility and no theme of its own. The sections below say how components look; what each component does, takes and holds is its usage page, in the component's source.
508
+ `@nadicodeai/ui` components style solely from these tokens and roles (no raw colours, `dark:` utilities, or private themes); APIs live on their `@nadicodeai/ui` usage pages.
792
509
 
793
510
  ### Personalization boundaries
794
511
 
795
- Geometry follows Geist: the spacing scale, paddings and gaps, control, row and icon sizes, the type scale and hierarchy, layout, density, alignment and corner radii. Colour, glass and material (surfaces, depth, shadows, blur), the Agent orbs, genuine provider marks and the categorical Library colours are nadicode's own. Each difference from Geist is a token or a typed component variant.
512
+ Geist owns geometry (spacing, paddings, control/row/icon sizes, type scale, density, radii); nadicode owns colour, depth/glass, Agent orbs, genuine provider marks and categorical hues.
796
513
 
797
514
  ### Controls
798
515
 
799
- Input, Textarea, Select, NativeSelect, Combobox, MultiSelect and InputGroup share one box in three heights, `Input`'s.
800
-
801
- - **Focus** is drawn once, by the base layer, on every `:focus-visible` element. A component never repaints it; it may move it to a proxy that stands for the focused element, as a field group does for its input.
802
- - Enabled buttons show a pointer; a disabled control advertises nothing. On coarse or non-hover input every target is at least `{spacing.touch-target}`, while a checkbox or radio mark stays compact and its label supplies the target. An unchecked checkbox or radio mark is its `{colors.input}` edge with no fill of its own, so it shows the surface it sits on, and greys on hover unless disabled.
516
+ `Input`, `Textarea`, `Select`, `NativeSelect`, `Combobox`, `MultiSelect` and `InputGroup` share one box in three heights. Base layer draws focus once (proxied on field groups). Enabled buttons show a pointer; disabled controls advertise nothing. Coarse targets >= `{spacing.touch-target}` (labels carry checkbox/radio targets). Unchecked checkboxes/radios show `{colors.input}` with transparent fill, greying on hover.
803
517
 
804
518
  ### Line breaks
805
519
 
806
- Text anywhere in the product breaks between words, and inside a word only when that word alone cannot fit a line; a machine string such as a hash or a key breaks at any character in wrapped text, or is cut in the middle with `MiddleTruncate` on one line.
520
+ Break between words, mid-word only if one word overflows; machine strings break anywhere when wrapped or use `MiddleTruncate` on one line.
807
521
 
808
522
  ### Status
809
523
 
810
- A status is a shape and a word, with no pill around them. Each of the five tones has its own shape, filled with dots on a honeycomb grid, the material of the Agent orbs: green a circle, blue a diamond, amber a triangle, red a square, and gray an empty ring. The shape says the tone, so a status reads without colour, and the word says the exact state. Ruled by the user: the stock tinted pill read as generic, and the status takes the Agents' own dots. `StatusBadge` draws every status, and its usage page holds the tones and when a status shows.
524
+ `StatusBadge` renders a honeycomb-dot shape plus word, never a tinted pill: green circle, blue diamond, amber triangle, red square, gray empty ring.
811
525
 
812
526
  ### Failure surfaces
813
527
 
814
- A page that cannot show what was asked for opens with a picture, the way a Portal email does: one whole cut-out in art direction's editorial register, centred above the words, with no gallery caption, title, materials or year. The words stand under it on the same centre line, led by a mono eyebrow. The cut-out's transparent ground takes the page's own, so one file serves light and dark, and it stays whole at every width: it scales down with the column and is never cropped by the viewport. An absence, an address or a record that is not there, has a picture that carries the joke of the missing address, and nothing on it takes a feedback role. A fault, a request the product stopped, has a calm picture that is never a joke about lost work, and the error pair marks its eyebrow. Identity hue reaches a product failure surface only through the picture, and no orb turns on a failure page. On the website a failure surface is an ordinary full-bleed section and takes a section ground like any other.
528
+ One whole transparent editorial cut-out centred above a mono eyebrow and copy (no gallery caption, title, materials or year), scaling whole without cropping. Missing addresses carry a lighthearted picture with no feedback roles; faults carry a calm picture (never joking about lost work) with an error eyebrow. Identity hue enters only via the picture; no orb turns; website failure pages are normal full-bleed sections.
815
529
 
816
530
  ### Agent orbs
817
531
 
818
- An Agent is her orb, in every product; there is no other Agent picture. `AgentOrb`'s usage page holds its forms, colours, sizes, states and reduced motion.
532
+ An Agent is her orb across every product (`AgentOrb` in `@nadicodeai/ui` owns forms, colours, sizes, states and reduced motion).
819
533
 
820
534
  ### Identity marks
821
535
 
822
- A recognised app, platform or model maker is drawn with its genuine mark in its own colours; an unknown one is a text monogram, never a guessed logo. Every company logo keeps its original colours and proportions, contained whole on the company's dark ringed tile, which also backs transparent artwork; it is never converted to a silhouette or clipped to a shape. Until a logo is found, or when it does not load, the same tile carries the company's initials in white. A mark's colour identifies its maker, never a connection's health. `IdentityMark` draws a record's mark, and its usage page holds the kinds, sizes and fallbacks.
536
+ `IdentityMark` renders genuine marks for recognised apps/platforms/model makers and text monograms for unknown ones. Company logos keep original colours/proportions on the dark ringed tile (white initials when missing). Maker colour never signals health.
823
537
 
824
538
  ### CSS components
825
539
 
826
- Three components ship as framework-neutral CSS. `dotted-field` is the ground of a canvas where a person or an Agent places and arranges objects, such as a diagram of an Agent's work or a board of its outputs. The dots say that things here can be moved, so the field never sits behind a dashboard, a list, settings or a website section, and it never stands in for elevation. `usage-meter` and `run-timeline` are the stylesheets of `UsageMeter` and `RunTimeline`, whose usage pages hold the rest.
540
+ `dotted-field` backs arrangeable canvases only (never dashboards, lists, settings, website sections or elevation); `usage-meter` and `run-timeline` back `UsageMeter` and `RunTimeline`.
827
541
 
828
- ## Iconography
829
-
830
- Every product draws Lucide's shapes, unedited, in the house render: a 1.5 px line (`{spacing.icon-stroke}`) measured on screen at every size and 1.25 px (`{spacing.icon-stroke-sm}`) at 12 px, round caps and joins (Lucide's shapes are drawn for round ends, so flat ones distort them), no fill, and the text colour by default. Semantic icons may use their status or category tone with an adjacent readable label; navigation icons stay neutral. Sizes are 12, 16, 20 and 24 px, 16 by default, and inside a stock component the registry's own icon size stands; persistent navigation uses 20 so its entries read before the content beside them, and a collapsed rail keeps 16. A surface draws a small, disciplined set, never the whole library.
542
+ ## Do's and Don'ts
831
543
 
832
- Three icons are the house's own, drawn on Lucide's grid in the same render: `arch` for the company and its doors, `approvals`, the arch with a check, for work waiting on a person, and `agent`, the orb seen face-on with the Agent as the dot on its path. They name those three things wherever an icon does, and no Lucide glyph stands in for them. An icon beside text is decorative; an icon-only control carries an accessible name.
544
+ - Do keep products still outside Agents, working website scenes, shaders, `CompanyCard`'s turn, first-use arrival, and the bounded homepage lean.
545
+ - Do use flat identity hues only where [Colour as stage](#colour-as-stage) permits, with their AA pole; never tint them or paint controls/chrome/statuses.
546
+ - Do choose elevation by physical role; never add borders, rings, extra shadows or grey fills to elevated surfaces.
547
+ - Do restrict glass to moving content underneath; never put glass on content, overlays or plain pages.
548
+ - Do show authentic captures or real-component scenes with provenance; never use device frames or invented UI.
549
+ - Do take corners from [Shapes](#shapes), draw focus only with the focus outline, render statuses with `StatusBadge`, keep faults calm, and restrict `dotted-field` to arrangeable canvases.
550
+ - Do keep component contracts, page assembly and build mechanics with their owners; don't restate this file in another document (link to it).
833
551
 
834
- An icon belongs to a control or a menu row, never to a title. A card's, a section's or a label's title and a KPI's label carry no icon: an icon there repeats the words beside it and competes with the marks that matter. A menu row takes one icon, leading its label; a button takes one, leading or trailing it (`prefix` or `suffix`), and a create action carries the leading +. A mark goes where it says which thing you are looking at. Where each goes:
552
+ ## Guides
835
553
 
836
- | Place | Identity mark | Icon |
837
- | --- | --- | --- |
838
- | A record's row | Yes, 32 px, first | Its kind's icon, as its mark, when it has no mark of its own |
839
- | An object's header | Yes, 64 px | No |
840
- | A card's or a section's title | Only when the card is one external system | No |
841
- | A KPI card | No | Only the trend in the change badge |
842
- | Nothing yet, no results | No | No |
843
- | Finished work, a denial | No | The success mark; the lock mark |
844
- | A failed read | No | The warning mark |
845
- | A menu row, a button | No | One, leading; a button's may trail |
846
- | Entry, a failure page, Downloads, a first run | The Agent's orb where she is the subject | No |
847
-
848
- A picture marks a moment, one whole cut-out of the art direction. Where a picture may stand:
849
-
850
- | Place | Picture |
554
+ | Guide | Covers |
851
555
  | --- | --- |
852
- | Entry: sign-in, sign-up and welcome, an invitation, handing a person to Nadia, Nadia's entry and update screens, the installer | Yes |
853
- | A moment: a failure page, each app's card on Downloads, a product's first run, a collection's first use, Nadia's pairing of a phone | Yes |
854
- | A funnel task: two-factor, an interrupted setup, a legal page, impersonation, a connection's done page | No: the task is enough |
855
- | Any other page inside a product's chrome, and every other absence | No, except an address that is not there, whose picture stands centred in the content ("Failure surfaces"), and Nadia's Settings, Memory, which keeps its section's picture beside the summary of what a memory knows, above its memories (ruled by the user) |
856
-
857
- A benefit of nadicode, and each piece of office work Nadia arrives ready for, is drawn on the website by its object: one transparent object of the art direction, something old from Italy with one piece of today in it, in two identity hues, in the family of the Portal's email pictures (the key ring with its security key). The objects are a library (`brand/visual-design/images/website-objects/`, briefed in `brand/refs/briefs/website-benefits.json`), and the same object stands for the same benefit wherever the brand names it: the website, the docs, a deck, a post. On a page they stand at one size, above their title, and never move. Lucide glyphs stay the products' own icons and never stand for a benefit on the website.
858
-
859
- ## Brand media authority
860
-
861
- The company is **nadicode**, lowercase. Its logo is the n, and the name drawn in the same line is the wordmark. Every form is cut from one drawing: a 100-unit x-height, strokes 18 units wide with flat ends, and every bowl and the n's arch a radius of 41. The mark is the n alone: a keystone, an aqueduct, a dotted arch or a dot on the n all lost, since a dot reads only over an i. The forms are:
862
-
863
- 1. **Mark.** The n, the logo itself, as tall as it is wide, with nothing added. It stands for the company wherever the company is recognised by its sign: app headers and compact navigation, the corner of a slide, a sticker, a stamp.
864
- 2. **Wordmark.** nadicode in one geometric line with one dot over the i. The dot is the only colour in the logo, where an Agent sits. Use it wherever the company is named: the website's header, documents, proposals, invoices, email signatures, a first slide.
865
- 3. **Icon.** The mark on a tile with rounded corners, in one of three fields. The brand tile, the white n on `{colors.identity-cobalto}`, is for favicons, avatars and the website's app icon, and is the one place the brand colour fills a logo's field. Where the platform crops the picture itself, a profile picture cut to a circle or a square and a phone's home screen, the tile has square corners and the platform draws its shape: the avatar is the brand tile, or the light or dark tile where a profile wants white or black, with the n across 46% of the side, so a circle cut keeps it whole with its clear space. The mark is never a profile picture: it has no field, and its n runs to the edges a crop cuts. The light tile, the `{colors.ink}` n on white, is a desktop app's icon, which keeps it in the system's dark appearance. The dark tile, the white n on `{colors.identity-ink}`, is the icon wherever else it sits on a dark ground: a dark slide, an app's own dark screen.
866
- 4. **Signature form.** The light tile with its construction guides in `{colors.logo-guide}`: a dotted circle around the arch whose radius is the golden section of the n's width, the two centre axes, and the n's width and height, each measured 1.000. It is drawn from 128 px up, on light grounds: Nadia's desktop icon, a cover or closing slide, a poster, print; on a dark ground the dark tile stands in for it. Below 128 px a guide is a fraction of a pixel, so the icon drops them; drawn on a screen as a logo, such as at the top of an entry scene, it drops them at any size.
867
-
868
- Alveare's mark is its own, chosen by the user: six flat honeycomb cells, pointed at the top, stacked one, two and three into a pyramid, in the identity colours row by row from the top: cobalto in its dark step (`{colors.dark-logo-dot}`), arancio, verde, rosso, giallo, azzurro. Six cells of one comb are the hive. It sits on the dark tile everywhere, the app icon included, since Alveare opens onto black, and on a black screen it stands alone without its tile. Alveare Server's mark is a server rack of six bands, each with its light, in the same colours in the same order from the top, drawn a tenth smaller than the cells so the solid rack weighs what the open cells do beside it. Both are drawn from one geometry source, `@nadicodeai/design-system/assets/alveare-geometry`: Alveare's app icons and marks and `PlatformMark` render it, and nothing copies its paths.
869
-
870
- The mark and the wordmark never stand side by side: the wordmark already begins with the n, so together they read "n nadicode". Each place takes one of them.
871
-
872
- On `{colors.canvas}` and the soft canvases the letters are ink and the dot is `{colors.logo-dot}`; on black and other dark grounds the letters are `{colors.identity-white}` and the dot `{colors.dark-logo-dot}`, a brighter cobalt. `logo-dot` is the only colour a consumer paints the dot with. A one-ink form exists only where a single ink prints: a stamp, an engraving, a one-colour print run. On a photograph, the logo sits in a quiet area or over a scrim that keeps it legible, or on an approved solid field.
873
-
874
- Every form is drawn from one geometry source, `@nadicodeai/design-system/assets/logo-geometry`, which holds every dimension, the guides included. Nothing re-authors, traces, typesets or rearranges it: the published files, Nadia's icons, the React adapters and the specimen page (`examples/logo.html`) all render it. The one thing set after the wordmark is the name of a product nadicode names after itself, the Portal: in the product's type on the wordmark's baseline and at its x-height, one word space after it, in semibold, its letters cut into three even groups in three of Sofia's arc colours: cobalto in the logo's dot colour, then verde and arancio in `{colors.product-name-verde}` and `{colors.product-name-arancio}`, their 900 steps on light grounds and their label tones on dark ones (`{colors.dark-product-name-verde}`, `{colors.dark-product-name-arancio}`), so each clears 4.5:1 at the name's size. Nadia and Alveare stand on their own names.
875
-
876
- The clear space is one stroke width of the rendered logo on every side. The minimum sizes are 72 px wide for the wordmark, 12 px for the mark and 16 px for the favicon on screen, and 25 mm and 5 mm in print; the signature form starts at 128 px. A meaningful standalone logo is named `nadicode`; inside a link or control that already has the name, the logo is hidden from assistive technology. Never redraw, retype, stretch, crop, rotate, recolour, outline, shadow, animate or add a gradient to a logo; never add a shape to the mark, move the dot, set the mark beside the wordmark, draw the guides below 128 px, or put ink letters on a dark ground. Other companies' marks, Agent orbs and generated imagery are not nadicode logos.
877
-
878
- ## Registers
879
-
880
- | Register | Its rulebook | Its own tokens | Dark mode |
881
- | --- | --- | --- | --- |
882
- | Website | `apps/website/docs/design-doctrine.md` | `register.website.layout` | A light page; a black section scopes `.dark` for the product views in it |
883
- | Portal | `apps/portal/docs/information-architecture.md` and `apps/portal/docs/design-doctrine.md` | None | System, light or dark, on the `.dark` class |
884
- | Nadia | `apps/nadia/docs/design-doctrine.md` | None | System by default, light or dark, on the `.dark` class |
885
- | Alveare | `apps/alveare/docs/design-doctrine.md` | None | System, light or dark, on Buzz's own theme pair |
886
- | Alveare Server | `apps/alveare/docs/design-doctrine.md` | None | System by default, light or dark, on the `.dark` class; its entry scene is dark in every theme |
887
-
888
- - **Website.** The page grammar is "The website column": full-bleed sections on white, soft and black grounds and the bands "Colour as stage" allows, alternating, with product views on them. Its cards are outlined; its product views take their real heights.
889
- - **Portal.** A product shell on the workspace ground, with `globals.css` giving every elevated surface its tone.
890
- - **Nadia.** Nadia draws her own window through Hermes's `window.shell` area, inside Hermes's app, which owns Tailwind and its own surface layering. Nadia's theme paints Hermes's roles with the shared `semantic` roles and core radii, and imports `@nadicodeai/ui/components.css` with the design system's host stylesheet, so the package components render with the same recipes and glass. The window follows the operating system's material where the system composites it. Hermes answers reduced motion by cutting every transition and animation; Nadia's stylesheet gives her own parts, the package overlays, the entry screen and the waiting line, the reduced-motion policy in "Motion" back.
891
- Her conversation is one centred column of `56rem` holding her replies, the person's messages and the chat bar: her reply is plain text across the column, only the person's message is a bubble, grey (`{colors.canvas-soft-2}`) at the `raised` height in both modes, at the column's trailing edge, and the chat bar floats over the messages in glass ("Elevation & Depth"). The selected Agent row carries the sidebar's selected fill, as the Agents list draws it.
892
- - **Alveare.** The desktop keeps Buzz's components and layout, styled through an adapter as Nadia styles Hermes: Buzz's colour roles read the shared `semantic` roles, tokens only and never a copied value, every text takes a type role, and Buzz's shared components take the package's geometry, states, focus and motion, over the design system's host stylesheet and `@nadicodeai/ui/components.css`. A job the products share takes the package's own component, or the look the package exports for it, in place of Buzz's ([Alveare's screens](../../apps/alveare/docs/design-doctrine.md#screens)). Buzz's colour roles are generated from the `semantic` map of each mode, so the sidebar and the page sit on the canvas in dark as Nadia's do. Agents appear as their orbs, and a person never reads "Buzz". Ruled by the user.
893
- - **Alveare Server.** A Tauri window in React that draws with `@nadicodeai/ui` over `@nadicodeai/ui/globals.css`, with no adapter: the hive scene before and after the workspace runs, and a product shell on the workspace ground while it runs.
894
-
895
- ## Do's and Don'ts
896
-
897
- - Do keep the brand still: only Agents, the product at work and the website's shader objects move. Don't animate sections, pictures or scrolling, apart from the bounded homepage figure response, a first use's one arrival and the company card's turn in Motion.
898
- - Do use the identity hues at full strength in the places "Colour as stage" lists, with the text pole that clears AA. Don't tint them, grade them, or paint a control, chrome or a status with them.
899
- - Do choose a surface's height by its physical role, and let its recipe show it. Don't add a border, ring, second shadow or grey fill to an elevated surface.
900
- - Do put glass only where content scrolls or moves under it. Don't make content, a menu, a popover, a toast or a dialog glass, or put glass over a plain page.
901
- - Do show authentic captures or real-component scenes as "Product views on the website" specifies, with provenance recorded in the repository. Don't use device frames or invented interfaces.
902
- - Do give each thing the corner its role takes on the scale ("Shapes"). Don't choose a corner at the call site: a raised card, like any medium or large surface, takes the larger corner with its material.
903
- - Do give every line one owner, and draw focus only with the focus outline.
904
- - Do say a status with a `StatusBadge` tone, its shape and a word. Don't use colour alone or a bare dot.
905
- - Do open a failure page with its picture, as [Failure surfaces](#failure-surfaces) says. Don't let its picture joke about lost work.
906
- - Do use the dotted field only on a canvas where things are arranged. Don't put it behind lists, dashboards, settings or website sections.
907
- - Do change this file when the look changes, and put how a component or a page is built with its owner. Don't restate this file in another document; link to it.
908
-
909
- ## Token extension
910
-
911
- The YAML front matter holds four of the five token groups the DESIGN.md format defines: colors, typography, rounded and spacing. The fifth, `components`, stays empty, because each component's look is drawn by its code in `@nadicodeai/ui` from these tokens. Every other value is authored in `src/tokens/extension.tokens.json`, in the W3C design-tokens format: `core.material` (the scrim and glass values, a `dark-` value beside one that differs in dark), `core.elevation` (the four heights and the glass edge, per mode), `core.motion` (durations and easings), `semantic` (the shared colour roles and radius) and `register.website` (the website column). An alias is written `{core.color.canvas}`. In CSS a token is `--nc-<name>`, an elevation is reached only through `nc-elevation-<height>`, and Tailwind names the values through the `nc-` and `nadicode-` namespaces. The build composes the two into the package's token files and CSS, as the package README describes.
556
+ | [Data visualization and hue scales](./guides/data-visualization.md) | 8-hue 100 to 1000 scales, chart rules, 10-slot colour-blind-safe palette, meters and deltas |
557
+ | [Iconography](./guides/iconography.md) | Lucide render, house icons, Icon vs Identity mark matrix, pictures, website benefit objects |
558
+ | [Brand media authority](./guides/brand-media.md) | Logo geometry, mark/wordmark/icon/signature forms, Portal/Alveare marks, clear space, prohibitions |
559
+ | [Registers](./guides/registers.md) | Five registers, website column/text/product views, Nadia conversation layout, Alveare channels and adapters |