@alis-build/design-system 0.4.0 → 0.5.0
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 +23 -20
- package/components/AlisMark.md +1 -1
- package/components/AppChip.md +2 -3
- package/components/AppDialog.md +1 -1
- package/components/AppLattice.md +3 -3
- package/components/AppShell.md +1 -1
- package/package.json +1 -1
- package/rules/README.md +2 -2
- package/rules/buttons.md +4 -1
- package/rules/chips-alerts.md +3 -2
- package/rules/colour.md +41 -19
- package/rules/icons.md +2 -3
- package/rules/known-gaps.md +0 -2
- package/rules/quick-start.md +2 -2
- package/rules/selection.md +1 -1
- package/rules/styling.md +1 -1
- package/rules/surfaces.md +1 -2
- package/tokens.json +61 -31
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,26 +56,31 @@
|
|
|
55
56
|
--on-error: var(--paper-0);
|
|
56
57
|
--warning: var(--amber-700);
|
|
57
58
|
--success: var(--green-700);
|
|
58
|
-
--info: var(--
|
|
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: #
|
|
66
|
-
--cat2: #
|
|
67
|
-
--cat3: #
|
|
68
|
-
--cat4: #
|
|
69
|
-
--cat5: #
|
|
70
|
-
--cat6: #
|
|
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: #
|
|
73
|
-
--cat2-container: #
|
|
74
|
-
--cat3-container: #
|
|
75
|
-
--cat4-container: #
|
|
76
|
-
--cat5-container: #
|
|
77
|
-
--cat6-container: #
|
|
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;
|
|
79
85
|
--narrative-canvas: var(--paper-25);
|
|
80
86
|
--narrative-surface-sunken: var(--paper-75);
|
|
@@ -269,11 +275,10 @@ button, input, textarea, select { font: inherit; }
|
|
|
269
275
|
.app-chip--warning{color:var(--on-surface);background:var(--surface-container-highest)}
|
|
270
276
|
.app-chip--warning .app-icon{color:var(--warning)}
|
|
271
277
|
/* Category: tonal, the cat role at 12% behind the same role as ink */
|
|
272
|
-
.app-chip--
|
|
273
|
-
.app-chip--
|
|
278
|
+
.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)}
|
|
279
|
+
.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)}
|
|
280
|
+
.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)}
|
|
274
281
|
/* 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
282
|
.app-chip--opaque[class*="app-chip--cat"]{color:var(--on-surface)}
|
|
278
283
|
.app-chip--opaque:not([class*="app-chip--cat"]){background:var(--surface-container-highest);color:var(--on-surface)}
|
|
279
284
|
.app-chip--outlined{background:transparent;border-color:var(--outline)}
|
|
@@ -372,8 +377,6 @@ a.app-row,a.app-card{text-decoration:none}
|
|
|
372
377
|
/* ── Lattice · content you read: hairline, tick, eyebrow, no box ── */
|
|
373
378
|
.app-lattice{position:relative;padding-top:var(--space-16);border-top:1px solid var(--outline-variant);color:var(--on-surface)}
|
|
374
379
|
.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
380
|
.app-lattice__eyebrow{margin:0 0 var(--space-8);color:var(--on-surface-variant)}
|
|
378
381
|
|
|
379
382
|
/* ── Title bar and filter row ── */
|
package/components/AlisMark.md
CHANGED
|
@@ -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
|
|
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
|
|
package/components/AppChip.md
CHANGED
|
@@ -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
|
|
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. `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`.
|
|
@@ -43,9 +43,8 @@ Never `signal` for "in progress". A failed deploy that left the previous version
|
|
|
43
43
|
<span class="app-chip app-chip--small"><span class="app-icon" aria-hidden="true">stop_circle</span>Stopped</span>
|
|
44
44
|
<span class="app-chip"><span class="app-icon" aria-hidden="true">auto_awesome</span>AI-generated</span>
|
|
45
45
|
|
|
46
|
-
<!-- Category,
|
|
46
|
+
<!-- Category: container, ink and a dot (the class draws the dot) -->
|
|
47
47
|
<span class="app-chip app-chip--cat3">Research</span>
|
|
48
|
-
<span class="app-chip app-chip--opaque app-chip--cat3">Research</span>
|
|
49
48
|
|
|
50
49
|
<!-- Filter: a button -->
|
|
51
50
|
<button type="button" class="app-chip app-chip--outlined app-state" aria-pressed="false">Mine</button>
|
package/components/AppDialog.md
CHANGED
|
@@ -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
|
|
package/components/AppLattice.md
CHANGED
|
@@ -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
|
|
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
|
|
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-
|
|
53
|
+
`.app-lattice`, `.app-lattice__eyebrow`; `.app-qa`, `.app-qa__pair`, `.app-qa__q`, `.app-qa__a`; `.prose`, `.prose-compact`.
|
package/components/AppShell.md
CHANGED
|
@@ -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`,
|
|
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.
|
|
3
|
+
"version": "0.5.0",
|
|
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,
|
|
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 **
|
|
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
|
package/rules/chips-alerts.md
CHANGED
|
@@ -7,7 +7,8 @@ ladder doesn't apply to it.
|
|
|
7
7
|
|
|
8
8
|
```
|
|
9
9
|
What is this chip?
|
|
10
|
-
├─ A status
|
|
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`
|
|
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
|
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 →
|
|
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
|
-
##
|
|
53
|
+
## No product tones
|
|
53
54
|
|
|
54
|
-
**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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,38 @@ alone; a chip or an alert carries the status ([chips-alerts.md](chips-alerts.md)
|
|
|
78
74
|
|
|
79
75
|
## Categories
|
|
80
76
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
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.
|
|
87
109
|
|
|
88
110
|
## Marked text, the dark ground, the scrim
|
|
89
111
|
|
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
|
|
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
|
|
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.
|
package/rules/known-gaps.md
CHANGED
|
@@ -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
|
|
package/rules/quick-start.md
CHANGED
|
@@ -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
|
|
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
|
|
72
|
+
AppShell detail={…}
|
|
73
73
|
├─ content
|
|
74
74
|
│ AppTitleBar title="Environments" search="Search environments"
|
|
75
75
|
│ actions=AppButton variant="outlined" "New environment"
|
package/rules/selection.md
CHANGED
|
@@ -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 `
|
|
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
|
@@ -51,7 +51,7 @@ An empty rule is deleted, and so is a class whose only declaration was deleted.
|
|
|
51
51
|
## Kept on purpose
|
|
52
52
|
|
|
53
53
|
- **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
|
|
54
|
+
role as ink (a category chip uses its opaque container instead). This is the one fill at an alpha outside drawing, defined once
|
|
55
55
|
in the component classes, never written at a site.
|
|
56
56
|
- The AI identity gradients for Ideate and the Specialists.
|
|
57
57
|
- Third parties themed from the tokens at runtime (diagram and syntax renderers)
|
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.
|
|
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": "
|
|
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
|
|
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": "
|
|
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).
|
|
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": "{
|
|
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,69 +301,99 @@
|
|
|
301
301
|
},
|
|
302
302
|
{
|
|
303
303
|
"name": "cat1",
|
|
304
|
-
"value": "#
|
|
305
|
-
"usage": "Category 1,
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
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": "#
|
|
330
|
-
"usage": "Category 6. Past six, group the tail into
|
|
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": "
|
|
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": "#
|
|
340
|
-
"usage": "Category 1 container, with on-
|
|
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": "#
|
|
344
|
+
"value": "#d2f6ec",
|
|
345
345
|
"usage": "Category 2 container."
|
|
346
346
|
},
|
|
347
347
|
{
|
|
348
348
|
"name": "cat3-container",
|
|
349
|
-
"value": "#
|
|
349
|
+
"value": "#ffe8d2",
|
|
350
350
|
"usage": "Category 3 container."
|
|
351
351
|
},
|
|
352
352
|
{
|
|
353
353
|
"name": "cat4-container",
|
|
354
|
-
"value": "#
|
|
354
|
+
"value": "#d3f2ff",
|
|
355
355
|
"usage": "Category 4 container."
|
|
356
356
|
},
|
|
357
357
|
{
|
|
358
358
|
"name": "cat5-container",
|
|
359
|
-
"value": "#
|
|
359
|
+
"value": "#ffe2f0",
|
|
360
360
|
"usage": "Category 5 container."
|
|
361
361
|
},
|
|
362
362
|
{
|
|
363
363
|
"name": "cat6-container",
|
|
364
|
-
"value": "#
|
|
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",
|
|
@@ -407,7 +437,7 @@
|
|
|
407
437
|
{
|
|
408
438
|
"name": "narrative-tone-forge",
|
|
409
439
|
"value": "{teal-600}",
|
|
410
|
-
"usage": "Skill store eyebrows and ticks on alisx.com. The product has
|
|
440
|
+
"usage": "Skill store eyebrows and ticks on alisx.com. The product has no tones."
|
|
411
441
|
},
|
|
412
442
|
{
|
|
413
443
|
"name": "band-top",
|