@alis-build/design-system 0.4.0 → 0.5.1

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/alisx.css CHANGED
@@ -11,6 +11,7 @@
11
11
  --petrol-700: #39444d;
12
12
  --petrol-500: #5d666d;
13
13
  --slate-500: #55636e;
14
+ --blue-600: #2a5cbe;
14
15
  --mist-100: #dfe7ec;
15
16
  --paper-0: #ffffff;
16
17
  --paper-25: #fdfdfc;
@@ -55,27 +56,38 @@
55
56
  --on-error: var(--paper-0);
56
57
  --warning: var(--amber-700);
57
58
  --success: var(--green-700);
58
- --info: var(--slate-500);
59
- --build: var(--violet-700);
59
+ --info: var(--blue-600);
60
60
  --inverse-surface: var(--petrol-800);
61
61
  --on-inverse-surface: var(--paper-100);
62
62
  --scrim: #000000;
63
63
  --highlight: #fdecc8;
64
64
  --on-highlight: var(--petrol-800);
65
- --cat1: #006383;
66
- --cat2: #45664b;
67
- --cat3: #5a4e8c;
68
- --cat4: #7e5700;
69
- --cat5: #7a4e7f;
70
- --cat6: #3f51a8;
65
+ --cat1: #7860c4;
66
+ --cat2: #19a289;
67
+ --cat3: #c97409;
68
+ --cat4: #0398cd;
69
+ --cat5: #b3487e;
70
+ --cat6: #728d02;
71
71
  --on-cat: var(--paper-0);
72
- --cat1-container: #c1e8ff;
73
- --cat2-container: #c5e4ce;
74
- --cat3-container: #e4dcf6;
75
- --cat4-container: #ffddb3;
76
- --cat5-container: #f4f4fb;
77
- --cat6-container: #dbe1ff;
72
+ --cat1-container: #ede9ff;
73
+ --cat2-container: #d2f6ec;
74
+ --cat3-container: #ffe8d2;
75
+ --cat4-container: #d3f2ff;
76
+ --cat5-container: #ffe2f0;
77
+ --cat6-container: #e8f2d4;
78
+ --on-cat1-container: #443672;
79
+ --on-cat2-container: #004f41;
80
+ --on-cat3-container: #653400;
81
+ --on-cat4-container: #00496a;
82
+ --on-cat5-container: #682848;
83
+ --on-cat6-container: #3a4a00;
78
84
  --chart-neutral: #8c8e8e;
85
+ --ai-you: #0398cd;
86
+ --ai-you-container: #d3f2ff;
87
+ --ai-alis: #c97409;
88
+ --ai-alis-container: #ffe8d2;
89
+ --ai-tail: #19a289;
90
+ --ai-ground-end: #004f41;
79
91
  --narrative-canvas: var(--paper-25);
80
92
  --narrative-surface-sunken: var(--paper-75);
81
93
  --narrative-ink-body: var(--petrol-700);
@@ -269,11 +281,12 @@ button, input, textarea, select { font: inherit; }
269
281
  .app-chip--warning{color:var(--on-surface);background:var(--surface-container-highest)}
270
282
  .app-chip--warning .app-icon{color:var(--warning)}
271
283
  /* Category: tonal, the cat role at 12% behind the same role as ink */
272
- .app-chip--cat1{color:var(--cat1)}.app-chip--cat2{color:var(--cat2)}.app-chip--cat3{color:var(--cat3)}
273
- .app-chip--cat4{color:var(--cat4)}.app-chip--cat5{color:var(--cat5)}.app-chip--cat6{color:var(--cat6)}
284
+ .app-chip[class*="app-chip--cat"]::before{content:"";flex:none;width:8px;height:8px;margin-left:calc(var(--space-4) * -1);border-radius:var(--radius-pill);background:var(--cat)}
285
+ .app-chip--cat1{--cat:var(--cat1);color:var(--on-cat1-container);background:var(--cat1-container)}.app-chip--cat2{--cat:var(--cat2);color:var(--on-cat2-container);background:var(--cat2-container)}.app-chip--cat3{--cat:var(--cat3);color:var(--on-cat3-container);background:var(--cat3-container)}
286
+ .app-chip--cat4{--cat:var(--cat4);color:var(--on-cat4-container);background:var(--cat4-container)}.app-chip--cat5{--cat:var(--cat5);color:var(--on-cat5-container);background:var(--cat5-container)}.app-chip--cat6{--cat:var(--cat6);color:var(--on-cat6-container);background:var(--cat6-container)}
287
+ /* Icon only: the glyph in the container's ink stands in for the dot */
288
+ .app-chip--icon{min-height:0;padding:var(--space-4)}.app-chip--icon .app-icon{margin:0}.app-chip.app-chip--icon::before{content:none}
274
289
  /* Opaque: only where a chip overlaps or straddles other content */
275
- .app-chip--opaque.app-chip--cat1{background:var(--cat1-container)}.app-chip--opaque.app-chip--cat2{background:var(--cat2-container)}.app-chip--opaque.app-chip--cat3{background:var(--cat3-container)}
276
- .app-chip--opaque.app-chip--cat4{background:var(--cat4-container)}.app-chip--opaque.app-chip--cat5{background:var(--cat5-container)}.app-chip--opaque.app-chip--cat6{background:var(--cat6-container)}
277
290
  .app-chip--opaque[class*="app-chip--cat"]{color:var(--on-surface)}
278
291
  .app-chip--opaque:not([class*="app-chip--cat"]){background:var(--surface-container-highest);color:var(--on-surface)}
279
292
  .app-chip--outlined{background:transparent;border-color:var(--outline)}
@@ -314,6 +327,9 @@ button.app-card{border:0;font:inherit;width:100%}
314
327
  .app-card>.app-btn-row{margin-top:var(--space-8)}
315
328
  /* A statement over a gradient: the role at the statement opacity */
316
329
  .app-statement-over-gradient{background:color-mix(in srgb,var(--on-surface) calc(var(--state-statement) * 100%),transparent)}
330
+ /* The AI identity: a drawing, from its own tokens, never a category */
331
+ .app-ai-text{background:linear-gradient(135deg,var(--signal),var(--primary) 30%,var(--ai-tail));-webkit-background-clip:text;background-clip:text;color:transparent}
332
+ .app-ai-ground{background:linear-gradient(135deg,var(--primary),var(--ai-ground-end));color:var(--on-inverse-surface)}
317
333
 
318
334
  /* ── Selection tile · a card chosen among others ── */
319
335
  .app-tile{display:grid;grid-template-columns:1fr auto;align-items:start;gap:var(--space-4) var(--space-12);padding:var(--space-24);border:0;border-radius:var(--radius-lg);background:var(--surface-container-low);color:var(--on-surface);text-align:left;font:inherit}
@@ -372,8 +388,6 @@ a.app-row,a.app-card{text-decoration:none}
372
388
  /* ── Lattice · content you read: hairline, tick, eyebrow, no box ── */
373
389
  .app-lattice{position:relative;padding-top:var(--space-16);border-top:1px solid var(--outline-variant);color:var(--on-surface)}
374
390
  .app-lattice::before{content:"";position:absolute;left:0;top:-2px;width:44px;height:3px;background:var(--outline)}
375
- .app-lattice--ideate::before{background:var(--primary)}
376
- .app-lattice--build::before{background:var(--build)}
377
391
  .app-lattice__eyebrow{margin:0 0 var(--space-8);color:var(--on-surface-variant)}
378
392
 
379
393
  /* ── Title bar and filter row ── */
@@ -5,7 +5,7 @@ The brand mark: eleven circles on a 30 × 50 grid.
5
5
  ## Use / don't use
6
6
 
7
7
  - Both registers. Always red (`--alis-red`) on light grounds, white on petrol.
8
- - Never recoloured to a product tone, never rotated, never boxed.
8
+ - Never recoloured, never rotated, never boxed.
9
9
  - Pair it with the word "Alis" or "AlisX" set in Nunito Sans 800 at -0.03em when a lockup is needed. In the product, the AlisX wordmark asset heads the navigation pane ([AppShell](AppShell.md)'s `.app-brand`), and the mark alone in the collapsed rail.
10
10
  - The one product use in another colour is [AppLoader](AppLoader.md), where the mark is drawn in `--signal` and its dots animate.
11
11
 
@@ -8,7 +8,7 @@ See [chips-alerts.md](../rules/chips-alerts.md).
8
8
 
9
9
  - **Status**: a status tone plus its icon, always, so colour is never the only signal. Default icons: `error` → `error`, `warning` → `warning`, `success` → `check_circle`, `info` → `info`. Warning keeps its ink neutral and carries the colour in the icon.
10
10
  - **Label** (default): a neutral fact (a version, "3 days"). Content Alis wrote is labelled "AI-generated" with `auto_awesome`, once, at the top of what it wrote.
11
- - **Category**: `app-chip--cat1` … `--cat6`, tonal: the role at 12% behind the same role as ink. `app-chip--opaque` only where the chip overlaps or straddles other content: a category takes its `catN-container`, a label `surface-container-highest`.
11
+ - **Category**: `app-chip--cat1` … `--cat6`: the category's container (tone 95), its ink (tone 30) and a dot in its mark, drawn by the class. Light and dotted where a status is dark and iconed, so the two never look alike ([colour.md](../rules/colour.md) § Categories). It is already opaque. **Icon only** (`app-chip--icon`), as in an overlapping stack: the container and the glyph in its ink, no dot, since the glyph does the dot's job; it needs an `aria-label`. `app-chip--opaque` gives a label `surface-container-highest`, only where the chip overlaps or straddles other content.
12
12
  - **Filter**: outlined and pressable; selected takes the selection fill, a check and weight 700.
13
13
  - **Input**: an outlined chip you can remove.
14
14
  - Never `primary`. If pressing it acts or navigates, it is an [AppButton](AppButton.md). In a row or table, `app-chip--small`.
@@ -28,6 +28,8 @@ See [chips-alerts.md](../rules/chips-alerts.md).
28
28
  | Not started, invited | label, no icon |
29
29
  | Queued, scheduled | label, icon `schedule` |
30
30
 
31
+ **Severity** is a state, never a scale of its own: blocking or critical → status `error`; major → status `warning`; minor or lower → label.
32
+
31
33
  Never `signal` for "in progress". A failed deploy that left the previous version serving is still `error`: the chip reports what needs the user.
32
34
 
33
35
  ## Markup
@@ -43,9 +45,10 @@ Never `signal` for "in progress". A failed deploy that left the previous version
43
45
  <span class="app-chip app-chip--small"><span class="app-icon" aria-hidden="true">stop_circle</span>Stopped</span>
44
46
  <span class="app-chip"><span class="app-icon" aria-hidden="true">auto_awesome</span>AI-generated</span>
45
47
 
46
- <!-- Category, tonal and opaque -->
48
+ <!-- Category: container, ink and a dot (the class draws the dot) -->
47
49
  <span class="app-chip app-chip--cat3">Research</span>
48
- <span class="app-chip app-chip--opaque app-chip--cat3">Research</span>
50
+ <!-- Category, icon only: no dot; label it -->
51
+ <span class="app-chip app-chip--cat4 app-chip--icon" aria-label="Project 2"><span class="app-icon" aria-hidden="true">lightbulb</span></span>
49
52
 
50
53
  <!-- Filter: a button -->
51
54
  <button type="button" class="app-chip app-chip--outlined app-state" aria-pressed="false">Mine</button>
@@ -72,4 +75,4 @@ Never `signal` for "in progress". A failed deploy that left the previous version
72
75
 
73
76
  ## Classes
74
77
 
75
- `.app-chip`, `.app-chip--small`, `.app-chip--error`, `.app-chip--success`, `.app-chip--warning`, `.app-chip--info`, `.app-chip--cat1` … `.app-chip--cat6`, `.app-chip--opaque`, `.app-chip--outlined`, `.is-selected`, `.app-chip__close`, `.app-chip-group`, with `.app-state` on filter chips and the close button.
78
+ `.app-chip`, `.app-chip--small`, `.app-chip--error`, `.app-chip--success`, `.app-chip--warning`, `.app-chip--info`, `.app-chip--cat1` … `.app-chip--cat6`, `.app-chip--icon`, `.app-chip--opaque`, `.app-chip--outlined`, `.is-selected`, `.app-chip__close`, `.app-chip-group`, with `.app-state` on filter chips and the close button.
@@ -4,7 +4,7 @@ A dialog: white at `elevation-3`, an object-title, a body message, Cancel as tex
4
4
 
5
5
  ## Use / don't use
6
6
 
7
- - Actions are [AppButton](AppButton.md)s on the trailing edge, affirmative last. A dialog is a screen of its own, so the affirmative is filled when it commits (`app-btn--filled`, with `app-btn--error` when it destroys) and the rest, Cancel always among them, are text. The affirmative names the outcome ("Delete environment", not "OK"). A dialog is never heavier than what it interrupts, and never dark.
7
+ - Actions are [AppButton](AppButton.md)s on the trailing edge, affirmative last. A dialog is a screen of its own, so the affirmative is filled when it commits (`app-btn--filled`, with `app-btn--error` when it destroys) and the rest, Cancel always among them, are text. An affirmative that only opens, copies or reads stays text, so the whole dialog is text. The affirmative names the outcome ("Delete environment", not "OK"). A dialog is never heavier than what it interrupts, and never dark.
8
8
  - **Confirm** what is hard to undo or reaches past the user: deleting, sending to people, deploying to production. Restate it in the title as a question ("Delete staging?") and say what goes with it in the body.
9
9
  - **A form in a dialog** (Invite people) follows the form rules: fields 24 apart, validated on submit, and persistent (Escape and the scrim don't close it). The dialog is the confirmation, so its affirmative ("Send 3 invites") needs no second one; it is the dialog's filled button.
10
10
 
@@ -7,7 +7,7 @@ Content you read: a hairline, a 44px tick, an eyebrow, then the content. No fill
7
7
  See [surfaces.md](../rules/surfaces.md) and [type.md](../rules/type.md).
8
8
 
9
9
  - Use it for continuous content that is read rather than manipulated: overviews, synthesis sections, agent findings, long artifacts.
10
- - The tick may take a product tone (`app-lattice--ideate` or `app-lattice--build`) where the section belongs to one. The eyebrow is four words at most.
10
+ - The tick is neutral: the product has no tones ([colour.md](../rules/colour.md)). The eyebrow is four words at most.
11
11
  - **A document** (a synthesis, an overview) is a column of lattices at the prose measure, 24 apart, each with `.prose` inside.
12
12
  - **Rendered markdown** goes in `.prose`, which sets it on the type scale. `.prose-compact` beside it sets the same scale a step smaller (14px body, 16px first heading).
13
13
  - **A quote** is a `blockquote` in `.prose`; its attribution is a `cite` after the quote's paragraph.
@@ -17,7 +17,7 @@ See [surfaces.md](../rules/surfaces.md) and [type.md](../rules/type.md).
17
17
  ## Markup
18
18
 
19
19
  ```html
20
- <section class="app-lattice app-lattice--ideate">
20
+ <section class="app-lattice">
21
21
  <p class="app-lattice__eyebrow text-eyebrow">Summary</p>
22
22
  <div class="prose">
23
23
  <p>Teams lose a day a week to environment drift.</p>
@@ -50,4 +50,4 @@ A column of lattices: wrap them in your own layout element (flex column, `gap: v
50
50
 
51
51
  ## Classes
52
52
 
53
- `.app-lattice`, `.app-lattice--ideate`, `.app-lattice--build`, `.app-lattice__eyebrow`; `.app-qa`, `.app-qa__pair`, `.app-qa__q`, `.app-qa__a`; `.prose`, `.prose-compact`.
53
+ `.app-lattice`, `.app-lattice__eyebrow`; `.app-qa`, `.app-qa__pair`, `.app-qa__q`, `.app-qa__a`; `.prose`, `.prose-compact`.
@@ -9,7 +9,7 @@ See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
9
9
  - **One rail for every product.** There is no product switcher and no product name in the chrome: every screen shows the same navigation pane, so moving between Alis Ideate and Alis Build is one click on a row.
10
10
  - **Navigation pane** (`nav-width`, 256px), three regions:
11
11
  - **Top**, fixed: the brand (`.app-brand`), the AlisX wordmark linking Home. It is the way home from every rail.
12
- - **Middle**: app-wide destinations first (Home, Skill Store), then one group per product under an `.app-nav-heading` naming it ("Ideate", "Build"), its destinations as 36px nav [AppListRow](AppListRow.md)s sitting flush (no gap between rows). A heading names a product in `on-surface-variant`, never in its tone, and sets its own type: 12/16 at 500, sentence case, no tracking. Never an eyebrow. Whatever a screen adds after the groups (the agent chat list, under its own heading) follows them.
12
+ - **Middle**: app-wide destinations first (Home, Skill Store), then one group per product under an `.app-nav-heading` naming it ("Ideate", "Build"), its destinations as 36px nav [AppListRow](AppListRow.md)s sitting flush (no gap between rows). A heading names a product in `on-surface-variant`, and sets its own type: 12/16 at 500, sentence case, no tracking. Never an eyebrow. Whatever a screen adds after the groups (the agent chat list, under its own heading) follows them.
13
13
  - **Foot**, pinned: Support as one nav row, then the account card (`.app-account`): who is signed in and which account they are working in. The card opens the account menu; switching account happens there.
14
14
  - **A row's "new"** is a small [AppIconButton](AppIconButton.md) (`add`) in that row's trailing slot, with a tooltip naming it ("New project"), on rows whose destination can create.
15
15
  - **No action in the pane.** A screen's "new" is the outlined lead in its title bar ([AppTitleBar](AppTitleBar.md)); the navigation pane holds destinations, and a row's own "new" icon button.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alis-build/design-system",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "The AlisX design system for coding agents: tokens, product CSS, component markup, capability marks and rules.",
5
5
  "keywords": ["alisx", "design-system", "design-tokens", "css"],
6
6
  "homepage": "https://alisx.com",
package/rules/README.md CHANGED
@@ -15,7 +15,7 @@ Read only what the job needs.
15
15
  | Rule | Decides |
16
16
  | --- | --- |
17
17
  | [register.md](register.md) | Which register a surface is in, and the voice |
18
- | [colour.md](colour.md) | Roles, the one action colour, product tones, status |
18
+ | [colour.md](colour.md) | Roles, the one action colour, status, categories |
19
19
  | [type.md](type.md) | Type roles, weights, the shapes text takes |
20
20
  | [surfaces.md](surfaces.md) | Ground, statement, instrument, lattice; depth |
21
21
  | [spacing.md](spacing.md) | The scale, targets, density |
@@ -55,7 +55,7 @@ Which applies is decided by the surface, never by preference ([register.md](regi
55
55
 
56
56
  **The platform.** **Alis Ideate**: discovery, AI-led interviews, context and shareable artifacts. **Alis Build**: delivery, secure build environments in your own Google Cloud. **Skill store**: the app store for know-how, at four levels (me, my team, the community, the platform). **AlisX Specialists**: vetted human expertise, inside the session.
57
57
 
58
- The product has **two tones**, wayfinding only (a page-title eyebrow, a lattice tick; the navigation pane is one rail for every product and takes no tone): **Alis Ideate** is `primary`, **Alis Build** is `build`. **Admin**, the organisation's settings, and the **Skill store** and **AlisX Specialists** have no product tone.
58
+ The product has **no product tones**: the navigation pane and the page say which product you are in, in ink. Colour goes to actions, states and data ([colour.md](colour.md)).
59
59
 
60
60
  **Names.** Product names are title case and always full: *Alis Ideate*, *Alis Build*, *Skill store*, *AlisX Specialists*. The company is *Alis Exchange*; the product is *AlisX*.
61
61
 
package/rules/buttons.md CHANGED
@@ -93,7 +93,10 @@ similar controls people scan repeatedly, and the glyph is conventional.
93
93
  it as text until it can act (B5).
94
94
  - **Dialogs: trailing edge, affirmative last.** A dialog is its own screen, so
95
95
  its affirmative is filled when it commits, in `error` when it destroys, and
96
- the rest are text. "Cancel" is always text.
96
+ the rest are text. "Cancel" is always text. An affirmative that doesn't commit
97
+ (it opens, copies or reads: "Open app", "Copy message") is text too, so the
98
+ whole dialog is text. "Try again" is filled when it retries a write. A
99
+ "Continue" names no outcome: rename it to what happens.
97
100
  - **The hit area follows the pointer: 48px on touch, 32px with a mouse.**
98
101
  `touch-target` is 32px and becomes `touch-target-coarse` (48) under a coarse
99
102
  pointer, where `control-height` rises to 48 with it. The visible box is
@@ -7,7 +7,8 @@ ladder doesn't apply to it.
7
7
 
8
8
  ```
9
9
  What is this chip?
10
- ├─ A status or a category → tonal, the status or cat role
10
+ ├─ A status → tonal: the status role and its icon
11
+ ├─ A category → its container, its ink and a dot
11
12
  │ (colour + label = two properties)
12
13
  ├─ A label: a fact that is neither → tonal, on-surface-variant
13
14
  ├─ An input, an assist, a filter → outlined, on-surface-variant
@@ -54,7 +55,7 @@ tint allowed is a diff's, beside + and − (a drawing, [styling.md](styling.md))
54
55
  ## Avatars
55
56
 
56
57
  Icon tiles and initials take `surface-container-highest` with `on-surface` ink; a
57
- categorical avatar takes a `catN` pair. Never a status role, never `primary`.
58
+ categorical avatar takes a `catN-container` with its `on-catN-container` ink. Never a status role, never `primary`.
58
59
 
59
60
  **A logo takes no ground.** It arrives with its own, so no disc and no white plate
60
61
  behind it. The tile returns only when the logo is absent and a drawn mark stands
@@ -75,3 +76,8 @@ is `warning`; stopped, paused, cancelled, closed, declined, archived, queued,
75
76
  not started and draft are labels.
76
77
  In progress is never `signal`: signal is the mark and the caret, never a state.
77
78
  [AppChip](../components/AppChip.md) has the full table.
79
+
80
+ **Severity is a state too**, so it takes the statuses rather than a scale of its
81
+ own: blocking or critical is `error`, major is `warning`, and minor or lower is a
82
+ label. A kind of report (a bug, a feature request) is not a severity: it is a
83
+ category.
package/rules/colour.md CHANGED
@@ -18,9 +18,10 @@ What is this colour for?
18
18
  ├─ Any other action → ink, not colour
19
19
  ├─ A failure or a destructive action → error
20
20
  ├─ Alis is on it → signal: the mark, the caret, the loader
21
- ├─ Which product am I in → a product tone, identity only
21
+ ├─ Which product am I in → no colour: the rail and the page say it
22
22
  ├─ A selected thing → selection.md
23
23
  ├─ Success / warning / info → the status roles
24
+ ├─ Which category, which series → cat1 … cat6, in order
24
25
  └─ Anything else → it is ink, not colour
25
26
  ```
26
27
 
@@ -49,19 +50,14 @@ A notification badge is `error`, never `primary` (B8).
49
50
  Alis's history it held the logo red, and reaching for it paints an error signal on
50
51
  a neutral action (D4).
51
52
 
52
- ## Product tones · wayfinding, never action
53
+ ## No product tones
53
54
 
54
- **Ideate's tone is `primary`; Build's is `build`.** There are no others: add one
55
- only when a product has a surface to colour, and measure it first. Ideate's tone
56
- is the one place `primary` colours something you can't press; it is open until
57
- Ideate has a hue of its own ([known-gaps.md](known-gaps.md)).
58
-
59
- A tone may colour a page-title eyebrow and a lattice tick. The navigation pane is
60
- one rail for every product: its group headings name the products in
61
- `on-surface-variant`, never in a tone. A tone never colours a control, a link, a state, a chart
62
- series or a selected row: that gives the product four accents. On a chip naming a
63
- product the tone lives only in the glyph, and the chip is a label
64
- ([chips-alerts.md](chips-alerts.md)), never a status.
55
+ **The product has no product tones.** Which product you are in is said by the
56
+ navigation pane's group headings and the page, in ink. A page-title eyebrow and a
57
+ lattice tick are neutral. Colour is spent on actions (`primary`), states (the
58
+ status roles) and data (the categories), and on nothing that only says where you
59
+ are. alisx.com keeps its four product hues (`on-band-*`, `narrative-tone-forge`);
60
+ the categories below are drawn from them.
65
61
 
66
62
  ## Status
67
63
 
@@ -78,12 +74,54 @@ alone; a chip or an alert carries the status ([chips-alerts.md](chips-alerts.md)
78
74
 
79
75
  ## Categories
80
76
 
81
- `cat1` … `cat6` tell categories apart: chart series, diagram node kinds, grouping
82
- chips. Never emphasis, never state. Assign them in order, never by hash, so the
83
- first category always reads as the brand. Past six, stop using colour and group
84
- the tail into a neutral "Other". A solid takes `on-cat` (white); a `catN-container`
85
- takes `on-surface`, and never carries meaning without a label or icon beside it.
86
- A neutral chart mark is `chart-neutral`.
77
+ **Six hues from the brand, each a Material 3 tonal palette.** alisx.com colours
78
+ its products violet (Build), mint (Specialists), apricot (Skill store) and cyan
79
+ (Ideate). Spaced 60° apart from the brand cyan, those land on the spokes of a
80
+ six-hue wheel; rose and lime fill the other two. That wheel is the category set,
81
+ in this order:
82
+
83
+ | | Mark | Container | Ink on the container |
84
+ |---|---|---|---|
85
+ | 1 Violet | `cat1` | `cat1-container` | `on-cat1-container` |
86
+ | 2 Mint | `cat2` | `cat2-container` | `on-cat2-container` |
87
+ | 3 Apricot | `cat3` | `cat3-container` | `on-cat3-container` |
88
+ | 4 Sky | `cat4` | `cat4-container` | `on-cat4-container` |
89
+ | 5 Rose | `cat5` | `cat5-container` | `on-cat5-container` |
90
+ | 6 Lime | `cat6` | `cat6-container` | `on-cat6-container` |
91
+
92
+ - **Each category has three tones, each with one job.** The **mark** (tone 55 to
93
+ 70) is a chart series, a dot or a tick: never text. The **container** (tone 95)
94
+ is a chip's or a node's fill, and takes its **ink** (tone 30, about 8.5:1).
95
+ - **Tone tells a category from a status.** A status is dark (about L\* 40) and
96
+ always carries its icon; a category is a light container with a dot in its
97
+ mark. So mint can sit near `success` and apricot near `warning`: they never
98
+ look alike, because tone and form differ.
99
+ - **Assign in order, never by hash**, so the first category is always violet.
100
+ The order alternates light and dark neighbours, so adjacent series stay apart
101
+ for colour-blind readers. Past six, stop using colour and group the tail into
102
+ `chart-neutral` "Other".
103
+ - **Colour follows the entity, never its rank**: a filter that changes the series
104
+ count never repaints the survivors.
105
+ - **Never emphasis, never state, never a control.** A category never carries
106
+ meaning without a label beside it.
107
+ - Chrome stays ink and cyan; colour lives in the data. That is Material 3
108
+ Expressive's split, and why the marks can be vivid.
109
+
110
+ ## The AI identity
111
+
112
+ The AI gradients and the voice light are drawings with their own `ai-*` tokens,
113
+ **never a category**: a drawing that names `catN` changes whenever the categories
114
+ do, and spends a data colour on decoration.
115
+
116
+ - **The voice light** is cool while the person speaks (`ai-you` mixed into
117
+ `ai-you-container`) and warm while Alis speaks (`ai-alis` into
118
+ `ai-alis-container`). It says whose turn it is, so the two stay a cool and a
119
+ warm.
120
+ - **The AI gradient** runs `signal` to `primary` to `ai-tail`: `.app-ai-text` on
121
+ a headline, and the onboarding ring. It lands on a mark tone, so text stays 3:1
122
+ at its faintest.
123
+ - **The AI code ground**, `.app-ai-ground`, runs `primary` to `ai-ground-end`, dark
124
+ throughout, so its `on-inverse-surface` ink holds.
87
125
 
88
126
  ## Marked text, the dark ground, the scrim
89
127
 
package/rules/icons.md CHANGED
@@ -41,7 +41,7 @@ icons, not brand marks: each names its tool wherever a symbol would.
41
41
  - **The geometry is the system's**, keyed by these names. A revision replaces it
42
42
  at the source; a site never redraws a mark.
43
43
  - **Otherwise, a symbol's rules:** a label or an accessible name, `currentColor`,
44
- no fill set on it, and no product tone on a control ([colour.md](colour.md)).
44
+ no fill set on it, and no colour on a control ([colour.md](colour.md)).
45
45
  - **The stroke is graded by rendered size:** 1.9 under 20px, 1.6 from 20 to 55px,
46
46
  1.4 above. Exactly one solid dot per mark: the live element. If your icon layer
47
47
  cannot tell the mark its rendered size, it gets 1.6, which is right only for
@@ -57,8 +57,7 @@ pane), never by drawing new glyphs.
57
57
 
58
58
  ## Brand marks are not icons
59
59
 
60
- - **The Alis mark**: never recoloured to a product tone, never rotated, never
61
- boxed.
60
+ - **The Alis mark**: never recoloured, never rotated, never boxed.
62
61
  - **Harness marks** (Claude, Copilot, Codex, Cursor, Antigravity, OpenCode): one
63
62
  colour, at text size, for nominative "works with" use only. Never in a vendor's
64
63
  brand colour.
@@ -23,8 +23,6 @@ What the system doesn't decide yet, in one place. When you hit one, take the qui
23
23
 
24
24
  - `term-ok` (`#4CAF50`) and `term-reply` (`#FFC107`) are Material defaults on alisx.com's terminal: a stock palette (D5). They need measured brand replacements on `petrol-950`.
25
25
  - `surface-variant` and `surface-container-highest` hold one value (`#E6E8EB`) for two jobs.
26
- - `cat5-container` (`#F4F4FB`) sits very close to white; measure it against the ground.
27
- - **Ideate's tone** is still `primary`, the one place the action colour marks something you can't press (a lattice tick, a page-title eyebrow). Ideate needs a hue of its own, measured beside `build`.
28
26
  - Long-form document surfaces have no ruled measure beyond 710px prose.
29
27
  - No dark theme.
30
28
 
@@ -14,7 +14,7 @@ Or link the same two files from `node_modules`, or from a CDN at a pinned versio
14
14
  ## 2. The skeleton
15
15
 
16
16
  ```
17
- AppShell product="build"
17
+ AppShell
18
18
  ├─ nav AppListRow variant="nav" × destinations (navFoot: Settings, Help)
19
19
  ├─ content AppTitleBar name · search · verbs · route tabs
20
20
  │ [AppAlert, only for a page-level notice]
@@ -69,7 +69,7 @@ Your own CSS holds layout only: grid, flex, gap, widths. No colours, fonts, bord
69
69
  The screen most product work becomes: a list on the left, the selected item's settings on the right. Everything below is decided.
70
70
 
71
71
  ```
72
- AppShell product="build" detail={…}
72
+ AppShell detail={…}
73
73
  ├─ content
74
74
  │ AppTitleBar title="Environments" search="Search environments"
75
75
  │ actions=AppButton variant="outlined" "New environment"
@@ -38,7 +38,7 @@ so this is a lookup, not a judgment. A navigation list inside content is content
38
38
  Everything on a content plane takes the full fill, which has to clear the
39
39
  `surface-container-highest` icon tiles beside it.
40
40
 
41
- Petrol rather than M3's lilac, because lilac is also `cat3-container` and a
41
+ Petrol rather than M3's lilac, because lilac is also `cat1-container` and a
42
42
  categorical chip beside a selected segment would share a fill.
43
43
 
44
44
  ## Interaction states
package/rules/styling.md CHANGED
@@ -19,6 +19,7 @@ the same split holds.
19
19
  | Rendered markdown | `.prose`, `.prose-compact` ([type.md](type.md)). Never reach into prose to restyle it |
20
20
  | A card chosen among others | [AppSelectTile](../components/AppSelectTile.md) |
21
21
  | A statement over a gradient | `.app-statement-over-gradient` ([surfaces.md](surfaces.md)) |
22
+ | The AI headline or code ground | `.app-ai-text`, `.app-ai-ground` ([colour.md](colour.md) § The AI identity) |
22
23
  | A drop target while dragging over | `.drop-target` |
23
24
  | Scrollbars | Nothing: one thin `outline-variant` treatment for the app |
24
25
 
@@ -51,9 +52,10 @@ An empty rule is deleted, and so is a class whose only declaration was deleted.
51
52
  ## Kept on purpose
52
53
 
53
54
  - **Tonal chips and alerts**: their status or label role at 12% behind the same
54
- role as ink. This is the one fill at an alpha outside drawing, defined once
55
+ role as ink (a category chip uses its opaque container instead). This is the one fill at an alpha outside drawing, defined once
55
56
  in the component classes, never written at a site.
56
- - The AI identity gradients for Ideate and the Specialists.
57
+ - The AI identity gradients for Ideate and the Specialists, from their own `ai-*`
58
+ tokens and never a category ([colour.md](colour.md) § The AI identity).
57
59
  - Third parties themed from the tokens at runtime (diagram and syntax renderers)
58
60
  and a terminal's ANSI palette: machine speech, not ours to redesign. Their
59
61
  ground is a surface role, or `inverse-surface` when it is dark.
package/rules/surfaces.md CHANGED
@@ -64,8 +64,7 @@ top, a 44px accent tick at the leading edge, an eyebrow ([type.md](type.md)), th
64
64
  the content. **No fill, no shadow, no radius, no box.**
65
65
 
66
66
  Use it for continuous content that is read rather than manipulated: overview
67
- documents, synthesis sections, agent findings, long rendered artifacts. The tick
68
- may take a product tone where the section belongs to one.
67
+ documents, synthesis sections, agent findings, long rendered artifacts.
69
68
 
70
69
  ## Depth · a shadow means above the page
71
70
 
package/tokens.json CHANGED
@@ -42,7 +42,12 @@
42
42
  {
43
43
  "name": "slate-500",
44
44
  "value": "#55636e",
45
- "usage": "Achromatic info status. Blue is the action colour, so info stays grey."
45
+ "usage": "Unassigned since 2026-10-08, when info moved to blue-600."
46
+ },
47
+ {
48
+ "name": "blue-600",
49
+ "value": "#2a5cbe",
50
+ "usage": "Info: a true blue, L* 41 like the other statuses, and far enough from the action cyan (a teal) to read as another family."
46
51
  },
47
52
  {
48
53
  "name": "mist-100",
@@ -112,7 +117,7 @@
112
117
  {
113
118
  "name": "cyan-600",
114
119
  "value": "#006383",
115
- "usage": "Brand cyan: the one actionable colour, and Ideate's tone."
120
+ "usage": "Brand cyan: the one actionable colour."
116
121
  },
117
122
  {
118
123
  "name": "cyan-200",
@@ -132,7 +137,7 @@
132
137
  {
133
138
  "name": "violet-700",
134
139
  "value": "#473078",
135
- "usage": "The Build tone."
140
+ "usage": "Unassigned in the product since 2026-10-08, when product tones were dropped."
136
141
  },
137
142
  {
138
143
  "name": "violet-600",
@@ -172,7 +177,7 @@
172
177
  {
173
178
  "name": "primary",
174
179
  "value": "{cyan-600}",
175
- "usage": "The only actionable colour, and only on the filled button, a link, and a control in use: the 2px focus outline, a focused field, a switch that is on, a drop target. Text and outlined buttons are ink. Never on something you cannot press (B8). Still Ideate's tone until it has its own (known gaps)."
180
+ "usage": "The only actionable colour, and only on the filled button, a link, and a control in use: the 2px focus outline, a focused field, a switch that is on, a drop target. Text and outlined buttons are ink. Never on something you cannot press (B8)."
176
181
  },
177
182
  {
178
183
  "name": "on-primary",
@@ -266,14 +271,9 @@
266
271
  },
267
272
  {
268
273
  "name": "info",
269
- "value": "{slate-500}",
274
+ "value": "{blue-600}",
270
275
  "usage": "Information. Always with an icon or label."
271
276
  },
272
- {
273
- "name": "build",
274
- "value": "{violet-700}",
275
- "usage": "Build's tone. Wayfinding only: page-title eyebrow, lattice tick."
276
- },
277
277
  {
278
278
  "name": "inverse-surface",
279
279
  "value": "{petrol-800}",
@@ -301,74 +301,134 @@
301
301
  },
302
302
  {
303
303
  "name": "cat1",
304
- "value": "#006383",
305
- "usage": "Category 1, the primary hue on purpose. Categories are assigned in order, white ink: chart series, node kinds, grouping chips. Never emphasis or state."
304
+ "value": "#7860c4",
305
+ "usage": "Category 1 mark: Violet, Build's hue on alisx.com. The six hues sit 60° apart from the brand cyan. A mark is a chart series, a dot or a tick, never text and never emphasis or state. Assign in order, never by hash."
306
306
  },
307
307
  {
308
308
  "name": "cat2",
309
- "value": "#45664b",
310
- "usage": "Category 2."
309
+ "value": "#19a289",
310
+ "usage": "Category 2 mark: Mint, the Specialists' hue. A chart series, a dot, a tick; never text."
311
311
  },
312
312
  {
313
313
  "name": "cat3",
314
- "value": "#5a4e8c",
315
- "usage": "Category 3."
314
+ "value": "#c97409",
315
+ "usage": "Category 3 mark: Apricot, the Skill store's hue. A chart series, a dot, a tick; never text."
316
316
  },
317
317
  {
318
318
  "name": "cat4",
319
- "value": "#7e5700",
320
- "usage": "Category 4."
319
+ "value": "#0398cd",
320
+ "usage": "Category 4 mark: Sky, Ideate's hue a tone lighter than the action cyan. A chart series, a dot, a tick; never text."
321
321
  },
322
322
  {
323
323
  "name": "cat5",
324
- "value": "#7a4e7f",
325
- "usage": "Category 5."
324
+ "value": "#b3487e",
325
+ "usage": "Category 5 mark: Rose. A chart series, a dot, a tick; never text."
326
326
  },
327
327
  {
328
328
  "name": "cat6",
329
- "value": "#3f51a8",
330
- "usage": "Category 6. Past six, group the tail into a neutral \"Other\"."
329
+ "value": "#728d02",
330
+ "usage": "Category 6 mark: Lime. A chart series, a dot, a tick; never text. Past six, group the tail into chart-neutral \"Other\"."
331
331
  },
332
332
  {
333
333
  "name": "on-cat",
334
334
  "value": "{paper-0}",
335
- "usage": "Ink on any cat1 to cat6 solid. A catN-container takes on-surface."
335
+ "usage": "Unassigned since 2026-10-08: a category mark carries no text. Text on a category sits on its container, in its on-catN-container ink."
336
336
  },
337
337
  {
338
338
  "name": "cat1-container",
339
- "value": "#c1e8ff",
340
- "usage": "Category 1 container, with on-surface ink. A container never carries meaning alone."
339
+ "value": "#ede9ff",
340
+ "usage": "Category 1 container (tone 95), with on-cat1-container ink and a cat1 dot."
341
341
  },
342
342
  {
343
343
  "name": "cat2-container",
344
- "value": "#c5e4ce",
344
+ "value": "#d2f6ec",
345
345
  "usage": "Category 2 container."
346
346
  },
347
347
  {
348
348
  "name": "cat3-container",
349
- "value": "#e4dcf6",
349
+ "value": "#ffe8d2",
350
350
  "usage": "Category 3 container."
351
351
  },
352
352
  {
353
353
  "name": "cat4-container",
354
- "value": "#ffddb3",
354
+ "value": "#d3f2ff",
355
355
  "usage": "Category 4 container."
356
356
  },
357
357
  {
358
358
  "name": "cat5-container",
359
- "value": "#f4f4fb",
359
+ "value": "#ffe2f0",
360
360
  "usage": "Category 5 container."
361
361
  },
362
362
  {
363
363
  "name": "cat6-container",
364
- "value": "#dbe1ff",
364
+ "value": "#e8f2d4",
365
365
  "usage": "Category 6 container."
366
366
  },
367
+ {
368
+ "name": "on-cat1-container",
369
+ "value": "#443672",
370
+ "usage": "Ink on cat1-container (tone 30, about 8.5:1)."
371
+ },
372
+ {
373
+ "name": "on-cat2-container",
374
+ "value": "#004f41",
375
+ "usage": "Ink on cat2-container (tone 30, about 8.5:1)."
376
+ },
377
+ {
378
+ "name": "on-cat3-container",
379
+ "value": "#653400",
380
+ "usage": "Ink on cat3-container (tone 30, about 8.5:1)."
381
+ },
382
+ {
383
+ "name": "on-cat4-container",
384
+ "value": "#00496a",
385
+ "usage": "Ink on cat4-container (tone 30, about 8.5:1)."
386
+ },
387
+ {
388
+ "name": "on-cat5-container",
389
+ "value": "#682848",
390
+ "usage": "Ink on cat5-container (tone 30, about 8.5:1)."
391
+ },
392
+ {
393
+ "name": "on-cat6-container",
394
+ "value": "#3a4a00",
395
+ "usage": "Ink on cat6-container (tone 30, about 8.5:1)."
396
+ },
367
397
  {
368
398
  "name": "chart-neutral",
369
399
  "value": "#8c8e8e",
370
400
  "usage": "A neutral chart mark: the lightest grey that clears 3:1."
371
401
  },
402
+ {
403
+ "name": "ai-you",
404
+ "value": "#0398cd",
405
+ "usage": "The voice light while the person speaks: the cool layer, mixed with ai-you-container. AI identity, a drawing: never a category, a control or text."
406
+ },
407
+ {
408
+ "name": "ai-you-container",
409
+ "value": "#d3f2ff",
410
+ "usage": "The voice light's cool tint."
411
+ },
412
+ {
413
+ "name": "ai-alis",
414
+ "value": "#c97409",
415
+ "usage": "The voice light while Alis speaks: the warm layer, mixed with ai-alis-container. AI identity, a drawing."
416
+ },
417
+ {
418
+ "name": "ai-alis-container",
419
+ "value": "#ffe8d2",
420
+ "usage": "The voice light's warm tint."
421
+ },
422
+ {
423
+ "name": "ai-tail",
424
+ "value": "#19a289",
425
+ "usage": "Where the AI gradient lands, after signal and primary: the AI headline and the onboarding ring. A mark tone, so headline text keeps 3:1 at its faintest."
426
+ },
427
+ {
428
+ "name": "ai-ground-end",
429
+ "value": "#004f41",
430
+ "usage": "The dark end of the AI code ground, from primary, so on-inverse-surface ink keeps 6.7:1 everywhere."
431
+ },
372
432
  {
373
433
  "name": "narrative-canvas",
374
434
  "value": "{paper-25}",
@@ -407,7 +467,7 @@
407
467
  {
408
468
  "name": "narrative-tone-forge",
409
469
  "value": "{teal-600}",
410
- "usage": "Skill store eyebrows and ticks on alisx.com. The product has two tones only."
470
+ "usage": "Skill store eyebrows and ticks on alisx.com. The product has no tones."
411
471
  },
412
472
  {
413
473
  "name": "band-top",