@alis-build/design-system 0.2.0 → 0.4.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 CHANGED
@@ -50,7 +50,7 @@
50
50
  --on-secondary-container: var(--petrol-800);
51
51
  --selection-chrome: var(--grey-250);
52
52
  --outline: var(--grey-600);
53
- --outline-variant: var(--grey-400);
53
+ --outline-variant: var(--grey-200);
54
54
  --error: var(--red-700);
55
55
  --on-error: var(--paper-0);
56
56
  --warning: var(--amber-700);
@@ -109,9 +109,11 @@
109
109
  --space-48: 48px;
110
110
  --card-padding-wide: 28px;
111
111
  --chat-row: 32px;
112
- --touch-target: 48px;
112
+ --touch-target: 32px;
113
+ --touch-target-coarse: 48px;
114
+ --control-height: 36px;
113
115
  --measure-prose: 710px;
114
- --nav-width: 288px;
116
+ --nav-width: 256px;
115
117
  --detail-width: 360px;
116
118
  --breakpoint-compact: 600px;
117
119
  --breakpoint-medium: 840px;
@@ -151,15 +153,15 @@
151
153
 
152
154
  /* Type styles: one class per job (rules/type.md). */
153
155
  .text-welcome-title { font-family: var(--font-sans); font-size: 40px; line-height: 48px; font-weight: 800; letter-spacing: -0.03em; }
154
- .text-page-title { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 800; letter-spacing: -0.03em; }
155
- .text-section-title { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 800; letter-spacing: -0.02em; }
156
- .text-object-title { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 650; letter-spacing: 0; }
156
+ .text-page-title { font-family: var(--font-sans); font-size: 28px; line-height: 36px; font-weight: 700; letter-spacing: -0.03em; }
157
+ .text-section-title { font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.02em; }
158
+ .text-object-title { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0; }
157
159
  .text-body { font-family: var(--font-sans); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: 0; }
158
160
  .text-supporting { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 400; letter-spacing: 0; }
159
- .text-meta { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 450; letter-spacing: 0; }
160
- .text-label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 650; letter-spacing: 0; }
161
+ .text-meta { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 400; letter-spacing: 0; }
162
+ .text-label { font-family: var(--font-sans); font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: 0; }
161
163
  .text-eyebrow { font-family: var(--font-sans); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 0.12em; }
162
- .text-metric-value { font-family: var(--font-sans); font-size: 40px; line-height: 48px; font-weight: 800; letter-spacing: -0.03em; }
164
+ .text-metric-value { font-family: var(--font-sans); font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -0.03em; }
163
165
  .narrative-h1 { font-family: var(--font-sans); font-size: 4.8rem; line-height: 1.03; font-weight: 800; letter-spacing: -0.04em; }
164
166
  .narrative-h2 { font-family: var(--font-sans); font-size: 3.4rem; line-height: 1.08; font-weight: 780; letter-spacing: -0.03em; }
165
167
  .narrative-h3 { font-family: var(--font-sans); font-size: 1.12rem; line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
@@ -175,6 +177,7 @@
175
177
  *, *::before, *::after { box-sizing: border-box; }
176
178
  body { margin: 0; background: var(--background); color: var(--on-surface); font-family: var(--font-sans); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; }
177
179
  button, input, textarea, select { font: inherit; }
180
+ @media (pointer: coarse) { :root { --touch-target: var(--touch-target-coarse); --control-height: var(--touch-target-coarse); } }
178
181
  @media (prefers-reduced-motion: reduce) { :root { --dur-spatial: 0ms; --dur-effects: 0ms; --dur-tint: 0ms; --dur-ui: 0ms; --dur-panel: 0ms; --dur-arrive: 0ms; --stagger: 0ms; } }
179
182
 
180
183
  /* Drafting field: the one marketing texture permitted in the product (entry screens and pane-filling empty states). */
@@ -207,7 +210,7 @@ button, input, textarea, select { font: inherit; }
207
210
  /* ── Face and weight, beside a role class: the role keeps the size ── */
208
211
  .text-mono{font-family:var(--font-mono)}
209
212
  .text-emphasis{font-weight:600}
210
- .text-selected{font-weight:800}
213
+ .text-selected{font-weight:700}
211
214
 
212
215
  /* ── Ink, for text whose role takes the second ink (rules/type.md) ── */
213
216
  .text-on-surface{color:var(--on-surface)}
@@ -231,13 +234,14 @@ button, input, textarea, select { font: inherit; }
231
234
  .app-state:disabled::before,.app-state[aria-disabled="true"]::before{display:none}
232
235
  /* A loading control is busy, not disabled: full colour, a spinner, no presses */
233
236
  .app-state.is-loading{opacity:1;cursor:progress;pointer-events:none}
234
- /* 48px target projected around a smaller box, so rows don't grow */
237
+ /* The target (32px, 48 under a coarse pointer) projected around a smaller box, so rows don't grow */
235
238
  .app-target::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,var(--touch-target));height:max(100%,var(--touch-target));transform:translate(-50%,-50%)}
236
239
 
237
240
  /* ── Button · text (default) or filled (one per surface) ── */
238
- .app-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-8);min-height:40px;padding:0 var(--space-24);border:0;border-radius:var(--radius-pill);background:transparent;color:var(--primary);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:700;letter-spacing:0;text-decoration:none;white-space:nowrap}
241
+ .app-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-8);min-height:var(--control-height);padding:0 var(--space-24);border:0;border-radius:var(--radius-pill);background:transparent;color:var(--on-surface);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0;text-decoration:none;white-space:nowrap}
239
242
  .app-btn .app-icon{font-size:16px;margin-left:calc(var(--space-8) * -1)}
240
- .app-btn--filled{padding:0 var(--space-24);background:var(--primary);color:var(--on-primary);transition:border-radius var(--dur-spatial) var(--motion-spatial),transform var(--dur-spatial) var(--motion-spatial),background-color var(--dur-effects) var(--motion-effects)}
243
+ .app-btn--filled{padding:0 var(--space-24);background:var(--primary);color:var(--on-primary);font-weight:700;transition:border-radius var(--dur-spatial) var(--motion-spatial),transform var(--dur-spatial) var(--motion-spatial),background-color var(--dur-effects) var(--motion-effects)}
244
+ .app-btn--outlined{border:1px solid var(--outline-variant);background:var(--surface)}
241
245
  .app-btn--error{color:var(--error)}
242
246
  .app-btn--filled.app-btn--error{background:var(--error);color:var(--on-error)}
243
247
  .app-btn--quiet{color:var(--on-surface-variant)}
@@ -250,7 +254,7 @@ button, input, textarea, select { font: inherit; }
250
254
  .app-btn-row{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-8)}
251
255
  .app-btn-row--end{justify-content:flex-end}
252
256
 
253
- /* ── Icon button · 20px glyph, 48px target, no fill unless a toggle is on ── */
257
+ /* ── Icon button · 20px glyph in a 40px box, no fill unless a toggle is on ── */
254
258
  .app-icon-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--on-surface-variant)}
255
259
  .app-icon-btn--small{width:32px;height:32px}
256
260
  .app-icon-btn.is-selected{background:var(--secondary-container);color:var(--on-secondary-container)}
@@ -273,7 +277,7 @@ button, input, textarea, select { font: inherit; }
273
277
  .app-chip--opaque[class*="app-chip--cat"]{color:var(--on-surface)}
274
278
  .app-chip--opaque:not([class*="app-chip--cat"]){background:var(--surface-container-highest);color:var(--on-surface)}
275
279
  .app-chip--outlined{background:transparent;border-color:var(--outline)}
276
- .app-chip--outlined.is-selected{background:var(--secondary-container);border-color:transparent;color:var(--on-secondary-container);font-weight:800}
280
+ .app-chip--outlined.is-selected{background:var(--secondary-container);border-color:transparent;color:var(--on-secondary-container);font-weight:700}
277
281
  .app-chip__close{display:inline-flex;margin-right:calc(var(--space-8) * -1);padding:0;border:0;border-radius:var(--radius-pill);background:transparent;color:inherit}
278
282
  .app-chip-group{display:flex;flex-wrap:wrap;gap:var(--space-8)}
279
283
 
@@ -283,7 +287,7 @@ button, input, textarea, select { font: inherit; }
283
287
  .app-alert--success{color:var(--success)}
284
288
  .app-alert--warning{color:var(--warning)}
285
289
  .app-alert__body{color:var(--on-surface);font-family:var(--font-sans);font-size:14px;line-height:20px}
286
- .app-alert__title{display:block;font-weight:650;font-size:16px;line-height:24px}
290
+ .app-alert__title{display:block;font-weight:500;font-size:16px;line-height:24px}
287
291
  .app-alert__actions{align-self:center}
288
292
  /* Stacked: the action under the message. Automatic in the detail pane; .app-alert--stacked anywhere narrow */
289
293
  .app-alert--stacked .app-alert__actions,.app-shell__detail .app-alert__actions{grid-column:2;align-self:start;justify-self:start;margin:var(--space-8) 0 0 calc(var(--space-16) * -1)}
@@ -299,7 +303,11 @@ button, input, textarea, select { font: inherit; }
299
303
  .app-card{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-24);border-radius:var(--radius-lg);color:var(--on-surface);text-align:left}
300
304
  @media (min-width:600px){.app-card{padding:var(--card-padding-wide)}}
301
305
  .app-card--statement{background:var(--surface-container-low)}
302
- .app-card--instrument{background:var(--surface);box-shadow:var(--elevation-2)}
306
+ .app-card--instrument{background:var(--surface);border:1px solid var(--outline-variant)}
307
+ /* A shadow means above the page: on the drafting field a card is protected by elevation, not an edge */
308
+ .app-empty-field .app-card--instrument,:has(>.ax-field)>* .app-card--instrument{border-color:transparent;box-shadow:var(--elevation-2)}
309
+ /* A card or row being dragged lifts until it settles */
310
+ .app-card.is-dragged,.app-row.is-dragged{border-color:transparent;background:var(--surface);box-shadow:var(--elevation-3);cursor:grabbing}
303
311
  .app-card--instrument .app-card__inset{padding:var(--space-16);border-radius:var(--radius-md);background:var(--surface-container-low)}
304
312
  button.app-card{border:0;font:inherit;width:100%}
305
313
  .app-card__title{margin:0}
@@ -314,19 +322,19 @@ button.app-card{border:0;font:inherit;width:100%}
314
322
  .app-tile.is-selected .app-tile__check{visibility:visible}
315
323
  .app-tile.is-selected{background:var(--secondary-container);color:var(--on-secondary-container)}
316
324
  .app-tile.is-selected .app-tile__check{color:var(--on-secondary-container)}
317
- .app-tile.is-selected .text-object-title{font-weight:800}
325
+ .app-tile.is-selected .text-object-title{font-weight:700}
318
326
  .app-tile .text-supporting{color:var(--on-surface-variant)}
319
327
  .app-tile.is-selected .text-supporting{color:var(--on-secondary-container)}
320
328
  .app-tile-group{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:var(--space-12)}
321
329
 
322
330
  /* ── Segmented control · one track, one pill ── */
323
- .app-seg{display:inline-flex;max-width:100%;overflow-x:auto;scrollbar-width:none;gap:0;padding:var(--space-4);border:1px solid var(--outline-variant);border-radius:var(--radius-pill)}
324
- .app-seg__item{display:inline-flex;align-items:center;gap:var(--space-8);min-height:32px;padding:0 var(--space-16);border:0;border-radius:var(--radius-pill);background:transparent;color:var(--on-surface-variant);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:650;white-space:nowrap}
325
- .app-seg__item.is-selected{background:var(--secondary-container);color:var(--on-secondary-container);font-weight:800}
331
+ .app-seg{display:inline-flex;max-width:100%;min-height:var(--control-height);overflow-x:auto;scrollbar-width:none;gap:0;padding:var(--space-4);border:0;border-radius:var(--radius-pill);background:var(--surface-container-low)}
332
+ .app-seg__item{display:inline-flex;align-items:center;gap:var(--space-8);min-height:calc(var(--control-height) - 2 * var(--space-4));padding:0 var(--space-16);border:1px solid transparent;border-radius:var(--radius-pill);background:transparent;color:var(--on-surface-variant);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:500;white-space:nowrap}
333
+ .app-seg__item.is-selected{border-color:var(--outline-variant);background:var(--surface);color:var(--on-surface);font-weight:700}
326
334
 
327
335
  /* ── List row · content plane (full fill) or rail (chrome fill) ── */
328
336
  .app-list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
329
- .app-row{display:flex;align-items:center;gap:var(--space-16);width:100%;min-height:var(--touch-target);padding:var(--space-8) var(--space-16);border:0;background:transparent;color:var(--on-surface);text-align:left;font:inherit}
337
+ .app-row{display:flex;align-items:center;gap:var(--space-16);width:100%;min-height:max(48px,var(--touch-target));padding:var(--space-8) var(--space-16);border:0;background:transparent;color:var(--on-surface);text-align:left;font:inherit}
330
338
  .app-row__icon{color:var(--on-surface-variant)}
331
339
  .app-row__text{display:flex;flex-direction:column;min-width:96px;flex:1}
332
340
  .app-row__text>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@@ -338,27 +346,27 @@ button.app-card{border:0;font:inherit;width:100%}
338
346
  .app-row__trailing .app-target::after{content:none}
339
347
  /* The hit: one button or link that names the row and stretches over it, so the
340
348
  trailing slot can hold its own controls without nesting one inside another */
341
- .app-row__hit{display:block;min-width:0;padding:0;border:0;background:transparent;color:inherit;font:inherit;text-align:inherit;text-decoration:none;cursor:pointer;outline:none}
349
+ .app-row__hit{display:block;min-width:0;padding:0;border:0;background:transparent;color:inherit;text-align:inherit;text-decoration:none;cursor:pointer;outline:none}
350
+ /* Inherit the row's font only where no role class sets one (zero specificity) */
351
+ :where(.app-row__hit){font:inherit}
342
352
  .app-row__hit::after{content:"";position:absolute;inset:0;border-radius:inherit}
343
353
  .app-row:has(.app-row__hit:focus-visible){outline:2px solid var(--primary);outline-offset:-2px}
344
354
  .app-row:has(.app-row__hit:focus-visible)::before{opacity:var(--state-focus)}
345
355
  a.app-row,a.app-card{text-decoration:none}
346
356
  .app-row .text-supporting,.app-row .text-meta{color:var(--on-surface-variant)}
347
357
  .app-row--divided+.app-row--divided{border-top:1px solid var(--outline-variant)}
348
- .app-row--nav{border-radius:var(--radius-pill);padding:0 var(--space-16)}
358
+ .app-row--nav{min-height:max(36px,var(--touch-target));border-radius:var(--radius-pill);padding:0 var(--space-16)}
349
359
  .app-row--nav .app-icon{font-size:24px;font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}
350
- .app-row--agent-chat{min-height:var(--chat-row);padding:0 var(--space-8) 0 var(--space-16);border-radius:var(--radius-pill)}
360
+ .app-row--agent-chat{min-height:max(var(--chat-row),var(--touch-target));padding:0 var(--space-8) 0 var(--space-16);border-radius:var(--radius-pill)}
351
361
  .app-row--agent-chat .app-row__trailing .app-icon-btn{width:24px;height:24px}
352
362
  .app-row--agent-chat .app-row__trailing .app-icon{font-size:16px}
353
- /* A heading over a group of rows in the navigation pane */
354
- .app-nav-heading{display:flex;align-items:center;min-height:24px;margin:var(--space-8) 0 var(--space-4);padding:0 var(--space-8);color:var(--on-surface-variant)}
363
+ /* A heading over a group of rows in the navigation pane: sets its own type, sentence case */
364
+ .app-nav-heading{display:flex;align-items:center;min-height:24px;margin:var(--space-8) 0 var(--space-4);padding:0 var(--space-8);color:var(--on-surface-variant);font-family:var(--font-sans);font-size:12px;line-height:16px;font-weight:500;letter-spacing:0}
355
365
  /* The navigation pane's one primary action: 56px, radius-lg, level 2 */
356
- .app-nav-action{display:inline-flex;align-self:flex-start;align-items:center;gap:var(--space-8);min-height:56px;margin:0 0 var(--space-24) var(--space-8);padding:0 var(--space-24);border:0;border-radius:var(--radius-lg);background:var(--primary);color:var(--on-primary);box-shadow:var(--elevation-2);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:700;white-space:nowrap}
357
- .app-nav-action .app-icon{font-size:24px;margin-left:calc(var(--space-8) * -1);font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 24}
358
366
  .app-row.is-selected{background:var(--secondary-container);color:var(--on-secondary-container)}
359
367
  .app-row--nav.is-selected{background:var(--selection-chrome)}
360
368
  .app-row.is-selected .app-row__icon,.app-row.is-selected .text-supporting,.app-row.is-selected .text-meta{color:var(--on-secondary-container)}
361
- .app-row.is-selected .text-label,.app-row.is-selected .text-object-title{font-weight:800}
369
+ .app-row.is-selected .text-label,.app-row.is-selected .text-object-title{font-weight:700}
362
370
  .app-row--nav.is-selected .app-icon{font-variation-settings:"FILL" 1,"wght" 500,"GRAD" 0,"opsz" 24}
363
371
 
364
372
  /* ── Lattice · content you read: hairline, tick, eyebrow, no box ── */
@@ -370,20 +378,20 @@ a.app-row,a.app-card{text-decoration:none}
370
378
 
371
379
  /* ── Title bar and filter row ── */
372
380
  .app-titlebar{display:flex;flex-direction:column;gap:var(--space-8);padding:var(--space-16) var(--space-24) 0}
373
- .app-titlebar__row{display:flex;align-items:center;gap:var(--space-16);min-height:40px}
381
+ .app-titlebar__row{display:flex;align-items:center;gap:var(--space-16);min-height:var(--control-height)}
374
382
  .app-titlebar__name{display:flex;align-items:center;gap:var(--space-8);min-width:0;margin:0}
375
383
  .app-titlebar__title{margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
376
384
  .app-titlebar__leading{margin-left:calc(var(--space-12) * -1)}
377
385
  .app-titlebar__search{flex:1 1 0;min-width:0;max-width:480px;margin:0 auto}
378
386
  .app-titlebar__actions{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-8);margin-left:auto}
379
- .app-search{display:flex;align-items:center;gap:var(--space-8);height:40px;padding:0 var(--space-16);border-radius:var(--radius-pill);background:var(--surface-container-highest);color:var(--on-surface-variant);font-family:var(--font-sans);font-size:14px}
387
+ .app-search{display:flex;align-items:center;gap:var(--space-8);height:var(--control-height);padding:0 var(--space-16);border-radius:var(--radius-pill);background:var(--surface-container-highest);color:var(--on-surface-variant);font-family:var(--font-sans);font-size:14px}
380
388
  .app-search__clear{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:calc(var(--space-8) * -1);padding:0;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--on-surface-variant)}
381
389
  .app-search:focus-within{outline:2px solid var(--primary);outline-offset:1px}
382
390
  .app-search__input{flex:1;min-width:0;height:100%;padding:0;border:0;background:transparent;color:var(--on-surface);font:inherit;outline:none}
383
391
  .app-search__input::placeholder{color:var(--on-surface-variant);opacity:1}
384
392
  .app-tabs{display:flex;gap:var(--space-4);border-bottom:1px solid var(--outline-variant);overflow-x:auto;scrollbar-width:none}
385
- .app-tab{position:relative;flex:none;min-height:var(--touch-target);padding:0 var(--space-32);border:0;background:transparent;color:var(--on-surface-variant);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:650}
386
- .app-tab.is-selected{color:var(--on-surface);font-weight:800}
393
+ .app-tab{position:relative;flex:none;min-height:48px;padding:0 var(--space-32);border:0;background:transparent;color:var(--on-surface-variant);font-family:var(--font-sans);font-size:14px;line-height:20px;font-weight:500}
394
+ .app-tab.is-selected{color:var(--on-surface);font-weight:700}
387
395
  .app-tab.is-selected::after{content:"";position:absolute;left:var(--space-32);right:var(--space-32);bottom:0;height:3px;border-radius:var(--radius-sm) var(--radius-sm) 0 0;background:var(--on-surface)}
388
396
  /* Detail: the bar of a detail pane. The pane pads it; the name drops to section-title
389
397
  (one page-title per screen); the verbs take a row of their own under the name */
@@ -415,7 +423,7 @@ a.app-row,a.app-card{text-decoration:none}
415
423
  .app-skel__bar--title{height:16px;width:40%}
416
424
  .app-skel__bar--short{width:60%}
417
425
  .app-skel__bar--block{height:96px;border-radius:var(--radius-lg)}
418
- .app-skel__row{display:flex;align-items:center;gap:var(--space-16);min-height:var(--touch-target)}
426
+ .app-skel__row{display:flex;align-items:center;gap:var(--space-16);min-height:max(48px,var(--touch-target))}
419
427
  .app-skel__row--plain .app-skel__dot{display:none}
420
428
  .app-skel__dot{width:24px;height:24px;border-radius:var(--radius-pill);background:var(--surface-container-highest);flex:none}
421
429
  .app-skel__lines{display:flex;flex-direction:column;gap:var(--space-8);flex:1}
@@ -432,9 +440,9 @@ a.app-row,a.app-card{text-decoration:none}
432
440
  /* ── Text field · label above, outlined box, one supporting line ── */
433
441
  .app-field{display:flex;flex-direction:column;gap:var(--space-4);min-width:0;color:var(--on-surface)}
434
442
  .app-field__label{color:var(--on-surface)}
435
- .app-field__box{display:flex;align-items:center;gap:var(--space-8);min-height:40px;padding:0 var(--space-16);border:1px solid var(--outline);border-radius:var(--radius-lg);background:var(--surface);color:var(--on-surface-variant)}
443
+ .app-field__box{display:flex;align-items:center;gap:var(--space-8);min-height:var(--control-height);padding:0 var(--space-16);border:1px solid var(--outline);border-radius:var(--radius-lg);background:var(--surface);color:var(--on-surface-variant)}
436
444
  .app-field__box:focus-within{border-color:var(--primary);box-shadow:inset 0 0 0 1px var(--primary)}
437
- .app-field__input{flex:1;min-width:0;padding:var(--space-8) 0;border:0;background:transparent;color:var(--on-surface);font-family:var(--font-sans);font-size:16px;line-height:24px;outline:none;resize:vertical}
445
+ .app-field__input{flex:1;min-width:0;padding:var(--space-4) 0;border:0;background:transparent;color:var(--on-surface);font-family:var(--font-sans);font-size:16px;line-height:24px;outline:none;resize:vertical}
438
446
  .app-field__input::placeholder{color:var(--on-surface-variant);opacity:1}
439
447
  .app-field__support{display:flex;align-items:center;gap:var(--space-4);margin:0;color:var(--on-surface-variant)}
440
448
  .app-field.is-error .app-field__box{border-color:var(--error);box-shadow:inset 0 0 0 1px var(--error)}
@@ -454,10 +462,10 @@ a.app-row,a.app-card{text-decoration:none}
454
462
  /* breakpoint-medium (840): the detail pane slides over the content */
455
463
  @media (max-width:839px){.app-shell--detail{grid-template-columns:var(--nav-width) minmax(0,1fr)}.app-shell__detail{position:fixed;top:0;right:0;bottom:0;width:min(var(--detail-width),100%);background:var(--surface);box-shadow:var(--elevation-3),0 0 0 100vmax color-mix(in srgb,var(--scrim) 32%,transparent);border-left:0;z-index:2}}
456
464
  /* breakpoint-compact (600): the navigation pane collapses to a column of icons */
457
- @media (max-width:599px){.app-shell,.app-shell--detail{grid-template-columns:72px minmax(0,1fr)}.app-shell .app-brand__wordmark,.app-shell .app-nav-heading,.app-shell .app-account__text,.app-shell .app-account>.app-icon,.app-shell .app-row--nav .app-row__trailing{display:none}.app-shell .app-brand__mark{display:block}.app-shell .app-row--nav{gap:0;padding:0;justify-content:center}.app-shell .app-row--nav .app-row__text{flex:none;width:0;min-width:0;overflow:hidden}.app-shell__nav .app-row--agent-chat,.app-shell__nav .app-nav-secondary{display:none}.app-tab{padding:0 var(--space-16)}.app-tab.is-selected::after{left:var(--space-16);right:var(--space-16)}.app-shell__detail{width:100%}.app-shell .app-brand{padding:0;justify-content:center}.app-shell .app-account{justify-content:center;padding:var(--space-4);border-color:transparent}.app-shell .app-nav-action{margin-left:0;padding:0;width:48px;justify-content:center;font-size:0}.app-shell .app-nav-action .app-icon{margin:0}}
465
+ @media (max-width:599px){.app-shell,.app-shell--detail{grid-template-columns:72px minmax(0,1fr)}.app-shell .app-brand__wordmark,.app-shell .app-nav-heading,.app-shell .app-account__text,.app-shell .app-account>.app-icon,.app-shell .app-row--nav .app-row__trailing{display:none}.app-shell .app-brand__mark{display:block}.app-shell .app-row--nav{gap:0;padding:0;justify-content:center}.app-shell .app-row--nav .app-row__text{flex:none;width:0;min-width:0;overflow:hidden}.app-shell__nav .app-row--agent-chat,.app-shell__nav .app-nav-secondary{display:none}.app-tab{padding:0 var(--space-16)}.app-tab.is-selected::after{left:var(--space-16);right:var(--space-16)}.app-shell__detail{width:100%}.app-shell .app-brand{padding:0;justify-content:center}.app-shell .app-account{justify-content:center;padding:var(--space-4);border-color:transparent}}
458
466
 
459
467
  /* ── Navigation pane · brand, account card ── */
460
- .app-brand{display:flex;align-items:center;min-height:var(--touch-target);padding:0 var(--space-16);margin-bottom:var(--space-16)}
468
+ .app-brand{display:flex;align-items:center;min-height:48px;padding:0 var(--space-16);margin-bottom:var(--space-16)}
461
469
  .app-brand__wordmark{display:block;width:auto}
462
470
  .app-brand__mark{display:none;width:auto}
463
471
  .app-account{display:flex;align-items:center;gap:var(--space-12);width:100%;min-height:56px;margin-top:var(--space-8);padding:var(--space-8);border:1px solid var(--outline-variant);border-radius:var(--radius-lg);background:transparent;color:var(--on-surface);text-align:left;font:inherit}
@@ -490,18 +498,18 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
490
498
  .app-fieldset__legend{margin:0 0 var(--space-4);padding:0;color:var(--on-surface)}
491
499
  .app-field__row{display:flex;align-items:flex-start;gap:var(--space-8)}
492
500
  .app-field__row>.app-field__box{flex:1}
493
- .app-field__row>.app-btn{min-height:40px}
501
+ .app-field__row>.app-btn{min-height:var(--control-height)}
494
502
  /* Values a field has collected, as input chips, between the box and its supporting line */
495
503
  .app-field__values{display:flex;flex-wrap:wrap;gap:var(--space-8);padding-top:var(--space-4)}
496
504
 
497
505
  /* ── Select · a native select in the field box, a trailing chevron ── */
498
506
  .app-field__box--select{position:relative;padding:0}
499
- .app-field__select{flex:1;min-width:0;min-height:38px;padding:0 calc(var(--space-16) + 28px) 0 var(--space-16);border:0;border-radius:inherit;background:transparent;color:var(--on-surface);font-family:var(--font-sans);font-size:16px;line-height:24px;outline:none;appearance:none;-webkit-appearance:none;cursor:pointer}
507
+ .app-field__select{flex:1;min-width:0;min-height:calc(var(--control-height) - 2px);padding:0 calc(var(--space-16) + 28px) 0 var(--space-16);border:0;border-radius:inherit;background:transparent;color:var(--on-surface);font-family:var(--font-sans);font-size:16px;line-height:24px;outline:none;appearance:none;-webkit-appearance:none;cursor:pointer}
500
508
  .app-field__select:has(option[value=""]:checked){color:var(--on-surface-variant)}
501
509
  .app-field__box--select>.app-icon{position:absolute;right:var(--space-12);pointer-events:none;color:var(--on-surface-variant)}
502
510
 
503
511
  /* ── Switch · an on/off setting, applied at once; the row is the target ── */
504
- .app-switch-row{position:relative;display:flex;align-items:center;gap:var(--space-16);min-height:var(--touch-target);color:var(--on-surface);cursor:pointer}
512
+ .app-switch-row{position:relative;display:flex;align-items:center;gap:var(--space-16);min-height:max(48px,var(--touch-target));color:var(--on-surface);cursor:pointer}
505
513
  .app-switch-row__text{display:flex;flex-direction:column;flex:1;min-width:0}
506
514
  .app-switch-row__text .text-supporting{color:var(--on-surface-variant)}
507
515
  .app-switch{position:relative;flex:none;width:52px;height:32px;margin:0;border:2px solid var(--outline);border-radius:var(--radius-pill);background:var(--surface-container-highest);appearance:none;-webkit-appearance:none;cursor:pointer;transition:background-color var(--dur-effects) var(--motion-effects),border-color var(--dur-effects) var(--motion-effects)}
@@ -520,7 +528,7 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
520
528
  .app-progress__head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-16)}
521
529
  .app-progress__value{color:var(--on-surface-variant);font-variant-numeric:tabular-nums}
522
530
  .app-progress__track{position:relative;height:4px;border-radius:var(--radius-pill);background:var(--surface-container-highest);overflow:hidden}
523
- .app-progress__fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:var(--primary);transition:width var(--dur-effects) var(--motion-effects)}
531
+ .app-progress__fill{position:absolute;inset:0 auto 0 0;border-radius:inherit;background:var(--on-surface);transition:width var(--dur-effects) var(--motion-effects)}
524
532
  .app-progress.is-error .app-progress__fill{background:var(--error)}
525
533
 
526
534
  /* ── Steps · the stages of a long piece of work ── */
@@ -529,11 +537,11 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
529
537
  .app-step.is-current,.app-step.is-done{color:var(--on-surface)}
530
538
  .app-step.is-failed{color:var(--error)}
531
539
 
532
- /* ── Table · scanned, not read: full width, 48px rows, radius 0 ── */
540
+ /* ── Table · scanned, not read: full width, 40px rows, radius 0 ── */
533
541
  .app-table-wrap{width:100%;overflow-x:auto}
534
542
  .app-table{width:100%;border-collapse:collapse;border-radius:var(--radius-0);color:var(--on-surface);font-family:var(--font-sans)}
535
- .app-table th{height:var(--touch-target);padding:0 var(--space-16);border-bottom:1px solid var(--outline-variant);text-align:start;vertical-align:middle;white-space:nowrap}
536
- .app-table td{height:var(--touch-target);padding:var(--space-4) var(--space-16);border-bottom:1px solid var(--outline-variant);text-align:start;vertical-align:middle}
543
+ .app-table th{height:max(40px,var(--touch-target));padding:0 var(--space-16);border-bottom:1px solid var(--outline-variant);text-align:start;vertical-align:middle;white-space:nowrap}
544
+ .app-table td{height:max(40px,var(--touch-target));padding:var(--space-4) var(--space-16);border-bottom:1px solid var(--outline-variant);text-align:start;vertical-align:middle}
537
545
  .app-table :is(th,td).is-numeric{text-align:end;font-variant-numeric:tabular-nums}
538
546
  .app-table tbody tr{position:relative}
539
547
  .app-table tr.is-interactive{cursor:pointer}
@@ -543,7 +551,7 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
543
551
  .app-card .app-table--sticky th{background:var(--surface)}
544
552
  .app-table tr:has(.app-row__hit:focus-visible){outline:2px solid var(--primary);outline-offset:-2px}
545
553
  .app-table tr.is-selected>td{background:var(--secondary-container);color:var(--on-secondary-container)}
546
- .app-table tr.is-selected .app-table__primary{font-weight:800}
554
+ .app-table tr.is-selected .app-table__primary{font-weight:700}
547
555
  .app-table .app-row__hit::after{border-radius:0}
548
556
  .app-table td .app-btn,.app-table td .app-icon-btn{position:relative;z-index:1}
549
557
  .app-table td .app-target::after{content:none}
@@ -551,13 +559,13 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
551
559
  .app-table td .app-icon-btn{width:32px;height:32px}
552
560
 
553
561
  /* ── Prose · rendered markdown on the type scale (rules/type.md) ── */
554
- .prose-compact{--prose-body-size:14px;--prose-body-line:20px;--prose-gap:16px;--prose-item-gap:4px;--prose-h1-size:16px;--prose-h1-line:24px;--prose-h1-tracking:0;--prose-h1-weight:650;--prose-h1-above:24px;--prose-h1-below:8px;--prose-h2-size:14px;--prose-h2-line:20px;--prose-h2-weight:650;--prose-h2-above:24px;--prose-h3-above:16px;--prose-minor-ink:var(--on-surface-variant);--prose-code-size:12px}
562
+ .prose-compact{--prose-body-size:14px;--prose-body-line:20px;--prose-gap:16px;--prose-item-gap:4px;--prose-h1-size:16px;--prose-h1-line:24px;--prose-h1-tracking:0;--prose-h1-weight:500;--prose-h1-above:24px;--prose-h1-below:8px;--prose-h2-size:14px;--prose-h2-line:20px;--prose-h2-weight:500;--prose-h2-above:24px;--prose-h3-above:16px;--prose-minor-ink:var(--on-surface-variant);--prose-code-size:12px}
555
563
  .prose{max-width:100%;overflow-wrap:anywhere;font-family:var(--font-sans)}
556
564
  .prose>:first-child{margin-top:0}.prose>:last-child{margin-bottom:0}
557
565
  .prose :is(p,li){font-size:var(--prose-body-size,16px);line-height:var(--prose-body-line,24px);letter-spacing:0;font-weight:400}
558
566
  .prose p{margin:0 0 var(--prose-gap,24px)}
559
- .prose h1{font-size:var(--prose-h1-size,18px);line-height:var(--prose-h1-line,24px);letter-spacing:var(--prose-h1-tracking,-0.02em);font-weight:var(--prose-h1-weight,800);margin:var(--prose-h1-above,32px) 0 var(--prose-h1-below,12px)}
560
- .prose :is(h2,h3,h4,h5,h6){font-size:var(--prose-h2-size,16px);line-height:var(--prose-h2-line,24px);letter-spacing:0;font-weight:var(--prose-h2-weight,650);margin:var(--prose-h3-above,24px) 0 var(--space-8)}
567
+ .prose h1{font-size:var(--prose-h1-size,18px);line-height:var(--prose-h1-line,24px);letter-spacing:var(--prose-h1-tracking,-0.02em);font-weight:var(--prose-h1-weight,600);margin:var(--prose-h1-above,32px) 0 var(--prose-h1-below,12px)}
568
+ .prose :is(h2,h3,h4,h5,h6){font-size:var(--prose-h2-size,16px);line-height:var(--prose-h2-line,24px);letter-spacing:0;font-weight:var(--prose-h2-weight,500);margin:var(--prose-h3-above,24px) 0 var(--space-8)}
561
569
  .prose h2{margin-top:var(--prose-h2-above,32px)}
562
570
  .prose :is(h3,h4,h5,h6){color:var(--prose-minor-ink,inherit)}
563
571
  .prose :is(strong,b){font-weight:600}
@@ -574,7 +582,7 @@ span.app-account__avatar{display:flex;align-items:center;justify-content:center;
574
582
  .prose pre{margin:0 0 var(--prose-gap,24px);padding:var(--space-12) var(--space-16);border-radius:var(--radius-md);background:var(--surface-container-highest);overflow-x:auto;font-family:var(--font-mono)}
575
583
  .prose table{width:100%;border-collapse:collapse;margin:0 0 var(--prose-gap,24px)}
576
584
  .prose :is(th,td){padding:var(--space-8) var(--space-12);border-bottom:1px solid var(--outline-variant);text-align:start;vertical-align:top;font-size:14px;line-height:20px}
577
- .prose th{font-weight:650}
585
+ .prose th{font-weight:500}
578
586
  .prose li>p{margin:0}
579
587
  .prose li>:is(ul,ol){margin:var(--prose-item-gap,8px) 0 0}
580
588
  .prose table{table-layout:fixed}
@@ -1,16 +1,18 @@
1
1
  # AppButton
2
2
 
3
- The product button: text by default, filled for the one action that moves the user forward.
3
+ The product button: text in ink by default, outlined for a surface's lead, filled for the one action on a screen that commits.
4
4
 
5
5
  ## Use / don't use
6
6
 
7
7
  Emphasis is allocated, not chosen ([buttons.md](../rules/buttons.md)).
8
8
 
9
- - **Text** is the default. **Filled** is for the one action of consequence on a surface (it writes, sends, commits), or none: one filled per surface. Its label names the outcome: "Send the invites", not "Continue".
9
+ - **Text** is the default, in `on-surface` ink. **Filled** (`app-btn--filled`, `primary`) is for the one action of consequence on a screen (it writes, sends, commits), or none; never in the title bar. Its label names the outcome: "Send the invites", not "Continue".
10
+ - **Outlined** (`app-btn--outlined`, ink on white with an `outline-variant` edge) is the lead of a surface with no edge of its own (the title bar, a pane, an empty state) when that lead starts something: "New environment". One per surface, never beside the filled button, never in a card or a repeated item.
11
+ - Cyan text is a link, never a button.
10
12
  - **Error** (`app-btn--error`) for destructive actions, at the same level. **Quiet** (`app-btn--quiet`, `on-surface-variant`) for a quiet action beside content.
11
- - No outlined, tonal or elevated buttons. A filled button scales to 97% and rounds to 12px when pressed (the CSS does it).
12
- - An icon only when the button sits in a set people scan, and never on the filled button or a dialog action.
13
- - 48px target, always; the visible box is 40px, padded 24. `app-btn--small` (32px, padded 12) belongs only in a table row. Inside a toggle group or table row, add `app-target--none`.
13
+ - No tonal or elevated buttons. A filled button scales to 97% and rounds to 12px when pressed (the CSS does it).
14
+ - An icon only when the button sits in a set people scan, and never on a filled or outlined button or a dialog action.
15
+ - The visible box is `control-height` (36px, 48 on touch), padded 24, and the target is `touch-target` ([buttons.md](../rules/buttons.md)). Text and outlined buttons are 600, the filled button 700. `app-btn--small` (32px, padded 12) belongs only in a table row. Inside a toggle group or table row, add `app-target--none`.
14
16
  - **Loading** shows the work on the control the user pressed: a 16px spinner replaces the icon and the label stays (or becomes the present participle, "Deploying"). The button is busy, not disabled: full colour, presses ignored until it settles.
15
17
  - Work with steps you can count (a deploy, an upload) moves its indicator into the content once it starts: an [AppProgress](AppProgress.md), and the button goes back to rest. One wait, one indicator ([loading.md](../rules/loading.md)).
16
18
  - If it shows only a glyph, it is an [AppIconButton](AppIconButton.md).
@@ -26,7 +28,10 @@ Emphasis is allocated, not chosen ([buttons.md](../rules/buttons.md)).
26
28
  <span class="app-icon" aria-hidden="true">download</span>Export
27
29
  </button>
28
30
 
29
- <!-- Filled: the one action of consequence on the surface -->
31
+ <!-- Outlined: the lead of a title bar, pane or empty state, when it starts something -->
32
+ <button type="button" class="app-btn app-state app-target app-btn--outlined">New environment</button>
33
+
34
+ <!-- Filled: the one action of consequence on the screen -->
30
35
  <button type="submit" class="app-btn app-state app-target app-btn--filled">Save changes</button>
31
36
 
32
37
  <!-- Destructive, quiet, small -->
@@ -60,4 +65,4 @@ Emphasis is allocated, not chosen ([buttons.md](../rules/buttons.md)).
60
65
 
61
66
  ## Classes
62
67
 
63
- `.app-btn`, `.app-btn--filled`, `.app-btn--error`, `.app-btn--quiet`, `.app-btn--small`, `.app-btn__spinner`, `.app-state`, `.app-target`, `.app-target--none`, `.is-loading`, `.app-btn-row`, `.app-btn-row--end`.
68
+ `.app-btn`, `.app-btn--outlined`, `.app-btn--filled`, `.app-btn--error`, `.app-btn--quiet`, `.app-btn--small`, `.app-btn__spinner`, `.app-state`, `.app-target`, `.app-target--none`, `.is-loading`, `.app-btn-row`, `.app-btn-row--end`.
@@ -7,8 +7,8 @@ The two surfaces a product screen contains things in: statement and instrument.
7
7
  See [surfaces.md](../rules/surfaces.md). Default when unsure: no card at all.
8
8
 
9
9
  - **Statement** (`app-card--statement`): `surface-container-low`, flat. Grouped context you don't act on. At most one text link.
10
- - **Instrument** (`app-card--instrument`, the default): `surface`, white, at `elevation-2`. An object you act on, with its actions in one row (text buttons, at most one filled). A card you open is an instrument made into one link or button; its hover is a state layer, never a lift.
11
- - Padding is 24, and 28 from 600px wide. The title sits 8 above its body; the action row 16 below it. Radius `radius-lg` with a `radius-md` inset (`.app-card__inset`). No borders.
10
+ - **Instrument** (`app-card--instrument`, the default): `surface`, white, with a 1px `outline-variant` edge and no shadow. An object you act on, with its actions in one row (text buttons, and the screen's one filled button if it lives here; never outlined, because the edge already says act). A card you open is an instrument made into one link or button; its hover is a state layer, never a lift.
11
+ - Padding is 24, and 28 from 600px wide. The title sits 8 above its body; the action row 16 below it. Radius `radius-lg` with a `radius-md` inset (`.app-card__inset`). The instrument's edge is the only border a card takes; a statement has none.
12
12
  - A statement over a gradient takes `.app-statement-over-gradient`: the role at the statement opacity.
13
13
  - A card chosen among others is an [AppSelectTile](AppSelectTile.md), never a card with a ring.
14
14
 
@@ -9,7 +9,7 @@ See [chips-alerts.md](../rules/chips-alerts.md).
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
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`.
12
- - **Filter**: outlined and pressable; selected takes the selection fill, a check and weight 800.
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`.
15
15
  - Text is 14px at 400 (12px small, 26px tall); padding 16 at every size; an icon is 16px.
@@ -1,12 +1,12 @@
1
1
  # AppDialog
2
2
 
3
- A dialog: white at `elevation-3`, an object-title, a body message, text actions.
3
+ A dialog: white at `elevation-3`, an object-title, a body message, Cancel as text and the affirmative filled.
4
4
 
5
5
  ## Use / don't use
6
6
 
7
- - Actions are all text [AppButton](AppButton.md)s, on the trailing edge, affirmative last; destructive changes only the colour (`app-btn--error`), and 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. 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
- - **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, and like every dialog action it stays a text button.
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
 
11
11
  ## Markup
12
12
 
@@ -19,7 +19,7 @@ A dialog: white at `elevation-3`, an object-title, a body message, text actions.
19
19
  </div>
20
20
  <div class="app-btn-row app-btn-row--end">
21
21
  <button type="button" class="app-btn app-state app-target">Cancel</button>
22
- <button type="button" class="app-btn app-state app-target app-btn--error">Delete environment</button>
22
+ <button type="button" class="app-btn app-state app-target app-btn--filled app-btn--error">Delete environment</button>
23
23
  </div>
24
24
  </div>
25
25
  </div>
@@ -6,7 +6,7 @@ An empty state that fills its pane and invites a first step.
6
6
 
7
7
  See [page.md](../rules/page.md).
8
8
 
9
- - It speaks to the user: a headline that says why you would act (never the screen's name), one supporting line that says how, and a text [AppButton](AppButton.md) that repeats the title bar's action under the same label.
9
+ - It speaks to the user: a headline that says why you would act (never the screen's name), one supporting line that says how, and an outlined [AppButton](AppButton.md) (`app-btn--outlined`) that repeats the title bar's lead under the same label: the empty state is a surface, and that action is its lead.
10
10
  - It takes the drafting field, one per screen. In `.app-shell__content` or the detail pane the field bleeds to the pane's edges (the CSS cancels the pane padding). Where the list pane and the detail pane are both empty, the detail pane takes the field and the list pane's empty state goes without it.
11
11
  - Keep the title bar's name and verb; hide search and the filter row.
12
12
  - An empty line inside working content ("No files yet" in a tab) is not this: use one supporting line, `.app-empty-line`.
@@ -25,7 +25,7 @@ See [page.md](../rules/page.md).
25
25
  <div class="app-empty">
26
26
  <h2 class="app-empty__headline text-page-title">Give every branch a safe place to run</h2>
27
27
  <p class="app-empty__line text-supporting">Create an environment, then deploy a branch to it from here.</p>
28
- <button type="button" class="app-btn app-state app-target">New environment</button>
28
+ <button type="button" class="app-btn app-state app-target app-btn--outlined">New environment</button>
29
29
  </div>
30
30
  </div>
31
31
  </div>
@@ -1,6 +1,6 @@
1
1
  # AppIconButton
2
2
 
3
- A 20px glyph in a 48px target that performs one action.
3
+ A 20px glyph in a 40px box that performs one action.
4
4
 
5
5
  ## Use / don't use
6
6
 
@@ -8,7 +8,7 @@ A 20px glyph in a 48px target that performs one action.
8
8
  - The label is required: it is the accessible name and the tooltip.
9
9
  - An icon button is not a selection. The one exception is a **toggle** (on or off, and stays that way): selected, it takes the `secondary-container` fill with a filled glyph.
10
10
  - If it shows a word, use [AppButton](AppButton.md). If it does nothing on its own, it is an [AppIcon](AppIcon.md).
11
- - `app-icon-btn--small` (32px box, still a 48px target) for the title bar's verbs and a detail pane's close. In a list row's trailing slot or a table cell the CSS shrinks it to 32px and drops the projected target for you.
11
+ - `app-icon-btn--small` (32px box; on touch its target still projects to 48) for the title bar's verbs and a detail pane's close. In a list row's trailing slot or a table cell the CSS shrinks it to 32px and drops the projected target for you.
12
12
 
13
13
  ## Markup
14
14
 
@@ -4,13 +4,13 @@ A row in a list, the navigation pane or the agent chat list.
4
4
 
5
5
  ## Use / don't use
6
6
 
7
- 48px minimum; the whole row is the target. A list paints no surface.
7
+ 48px minimum (36 in the navigation pane, 32 in the agent chat list, all 48 on touch); the whole row is the target. A list paints no surface.
8
8
 
9
9
  - **Content** (default): a row in a content list. Title in object-title, an optional supporting line, an optional trailing slot (a small status [AppChip](AppChip.md), an [AppIconButton](AppIconButton.md)) and a meta value at the end. Selected takes the full `secondary-container` fill.
10
- - **Nav** (`app-row--nav`): a destination in the navigation pane ([AppShell](AppShell.md)). 24px icon, label type, pill shape. The pane is permanent chrome, so its selected row takes the quieter `selection-chrome`. A heading over a group of rows is `.app-nav-heading text-eyebrow`. A destination that can create takes a small `add` [AppIconButton](AppIconButton.md) in its trailing slot ("New project").
10
+ - **Nav** (`app-row--nav`): a destination in the navigation pane ([AppShell](AppShell.md)). 36px, 24px icon, label type, pill shape. The pane is permanent chrome, so its selected row takes the quieter `selection-chrome`. A heading over a group of rows is `.app-nav-heading`, which sets its own type. A destination that can create takes a small `add` [AppIconButton](AppIconButton.md) in its trailing slot ("New project").
11
11
  - **Agent chat** (`app-row--agent-chat`): the agent chat list, 32px rows, and nothing else. It is not a density option: no other list may use it, however alike it looks ([spacing.md](../rules/spacing.md)). Its menu button is 24px and projects no target.
12
12
  - `app-row--divided` draws a hairline between consecutive rows.
13
- - Selection is always two properties: the fill, and the icon at FILL 1 with the text at 800 (the CSS does both from `is-selected`).
13
+ - Selection is always two properties: the fill, and the icon at FILL 1 with the text at 700 (the CSS does both from `is-selected`).
14
14
  - **Three or four facts about each item?** Title, then the rest joined with " · " in the supporting line (`europe-west1 · v1.42.3 · main`), the state as a trailing chip, the time as meta. Once people compare values across items, or sort by them, use [AppTable](AppTable.md).
15
15
  - A trailing control is 32px at most and projects no target, so the row never grows (the CSS enforces it). Below 600px a content row drops its meta so the title keeps room.
16
16
 
@@ -46,7 +46,7 @@ The row is a container; its title is the one button or link (`.app-row__hit`) an
46
46
  <span class="app-icon app-icon--mark app-icon--24 app-row__icon" aria-hidden="true"><!-- CapabilityMark SVG at 24 --></span>
47
47
  <span class="app-row__text"><a class="app-row__hit text-label" href="/environments">Environments</a></span>
48
48
  </div>
49
- <p class="app-nav-heading text-eyebrow">Recent chats</p>
49
+ <p class="app-nav-heading">Recent chats</p>
50
50
 
51
51
  <!-- Agent chat row -->
52
52
  <div class="app-row app-state app-row--agent-chat">
@@ -6,8 +6,8 @@ Work you can count: a determinate bar, and steps for work that runs in named sta
6
6
 
7
7
  See [loading.md](../rules/loading.md). Never for a wait whose length you don't know: that is an [AppSkeleton](AppSkeleton.md) or an [AppLoader](AppLoader.md).
8
8
 
9
- - **The bar**: 4px, `radius-pill`, a `surface-container-highest` track and a `primary` fill (it is the user's own action, progressing). On failure the fill turns `error` (`is-error`) and stops where it failed. A label above names the work ("Deploying v1.43.0"); the value on the right counts it ("Step 2 of 4", "48%").
10
- - **The steps**: drawn under the bar, or alone. Done is a filled check, current a filled number in ink (near selection, not selection, so no 800), next an outlined number, a failure the error icon in `error`. Never `primary` ([selection.md](../rules/selection.md) § A step). Nine steps at most; group more into stages.
9
+ - **The bar**: 4px, `radius-pill`, a `surface-container-highest` track and an `on-surface` fill: ink, because a bar is not something you press, and dark enough to read at a glance. On failure the fill turns `error` (`is-error`) and stops where it failed. A label above names the work ("Deploying v1.43.0"); the value on the right counts it ("Step 2 of 4", "48%").
10
+ - **The steps**: drawn under the bar, or alone. Done is a filled check, current a filled number in ink (near selection, not selection, so not 700), next an outlined number, a failure the error icon in `error`. Never `primary` ([selection.md](../rules/selection.md) § A step). Nine steps at most; group more into stages.
11
11
  - **Where**: where the result will appear: for a deploy, at the top of the environment's detail, under its bar and any alert. One wait, one indicator: once the bar shows, the button that started it goes back to rest (and is disabled if it can't run twice).
12
12
  - **When it ends**: success replaces the bar with the result; a snackbar ([AppAlert](AppAlert.md)) confirms it ("Deployed v1.43.0 to staging"), because a chip changing in a list is easy to miss; failure keeps the steps and puts an error alert above them that says what to do next.
13
13
  - **A meter** (a count against a target or a limit: 8 of 12 responded, credits, seats, spend) is the same bar with a label and a value and no steps; the fill turns `error` only at a limit. On a list screen it sits at the top of the content, before the filter row; when the limit is near, a page-level warning alert says so and offers the way out ("Add seats"). Where "near" starts is the product's call.
@@ -6,7 +6,7 @@ A fixed set of 2 to 5 options that re-parameterises content in place.
6
6
 
7
7
  See [selection.md](../rules/selection.md).
8
8
 
9
- - One pill track (`outline-variant`) with 4px of padding; the selected segment is a `secondary-container` pill at weight 800, the rest transparent in `on-surface-variant` at 650. No dividers, no per-segment border.
9
+ - One pill track filled `surface-container-low`, with no border so it never reads as an outlined button, `control-height` tall with 4px of padding, so it lines up with the buttons and fields beside it. The selected segment is a white pill with an `outline-variant` edge, in `on-surface` at weight 700; the rest transparent in `on-surface-variant` at 500. No dividers ([selection.md](../rules/selection.md)).
10
10
  - A filter that narrows one list belongs in the filter row as one of these ([page.md](../rules/page.md)); a route is a tab in [AppTitleBar](AppTitleBar.md), not a segment.
11
11
  - If the options don't fit (a narrow pane, long labels, a phone), use an [AppSelect](AppSelect.md) with an `aria-label` instead; a segmented control never hides options.
12
12
 
@@ -4,7 +4,7 @@ One choice from a list you can name in advance: a native select in the text fiel
4
4
 
5
5
  ## Use / don't use
6
6
 
7
- - Everything about it is [AppTextField](AppTextField.md)'s: label above, 40px box at `radius-lg`, one supporting or error line. A chevron (`expand_more`) at the trailing edge says it opens. The list itself is the platform's own, so it is accessible and right on every device.
7
+ - Everything about it is [AppTextField](AppTextField.md)'s: label above, a `control-height` box at `radius-lg`, one supporting or error line. A chevron (`expand_more`) at the trailing edge says it opens. The list itself is the platform's own, so it is accessible and right on every device.
8
8
  - Use it for 6 or more options, or when space is short. 2 to 5 options that change the content in place are an [AppSegmented](AppSegmented.md); choices that need a sentence each are [AppSelectTile](AppSelectTile.md)s.
9
9
  - A placeholder names the choice when there is no default ("Choose a branch"); prefer a sensible default.
10
10
  - Without a visible label (a select in the filter row, left of the main control), give the select an `aria-label`.
@@ -6,7 +6,7 @@ A card chosen among others, and the only way a chosen card is drawn.
6
6
 
7
7
  See [selection.md](../rules/selection.md).
8
8
 
9
- - Unselected it is the statement surface, and the check holds its place unseen; selected it takes `secondary-container`, the filled check and weight 800, at the same size so nothing moves. Padded like a card (24, 28 from 600px).
9
+ - Unselected it is the statement surface, and the check holds its place unseen; selected it takes `secondary-container`, the filled check and weight 700, at the same size so nothing moves. Padded like a card (24, 28 from 600px).
10
10
  - One of a set is a radio, so the group is a radiogroup; when several may be chosen each is a checkbox. Label the set with a field set ([AppTextField](AppTextField.md)).
11
11
  - Never a tint, a ring or a border swap.
12
12
  - Check the shape first: 2 to 5 options that re-parameterise content in place are an [AppSegmented](AppSegmented.md); a data-driven set is filter [AppChip](AppChip.md)s; a list is [AppListRow](AppListRow.md)s.
@@ -7,12 +7,12 @@ The frame of a product screen: the navigation pane, the content, and an optional
7
7
  See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
8
8
 
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
- - **Navigation pane** (`nav-width`, 288px), three regions:
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 nav [AppListRow](AppListRow.md)s sitting flush (no gap between rows). A heading names a product in `on-surface-variant`, never in its tone. 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`, 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.
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
- - **The nav action**: at most one, for a screen whose main "new" has no row to sit on ("New environment", icon `add`): 56px, `primary`, `radius-lg`, `elevation-2`, above the rows. Most screens have none.
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.
16
16
  - **A contextual rail** (inside a project, an admin account, Support) keeps the brand and the foot and replaces the middle with that object's destinations. Open objects (the interviews you have open) are nav rows with `app-nav-secondary` under a heading.
17
17
  - The pane is permanent chrome, so selection there is `selection-chrome`. Which destinations each product lists is product content, not part of this system.
18
18
  - **Content**: an [AppTitleBar](AppTitleBar.md), then `.app-shell__content`, which pads 24 on every side (32 below) and fills the pane, holding the filter row and the list, table or document.
@@ -29,14 +29,9 @@ See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
29
29
  <img class="app-brand__mark" src="assets/Brand/alis.svg" alt="" height="24">
30
30
  </a>
31
31
 
32
- <!-- Optional: the one nav action -->
33
- <button type="button" class="app-nav-action app-state">
34
- <span class="app-icon app-icon--24" aria-hidden="true">add</span>New environment
35
- </button>
36
-
37
32
  <!-- App-wide destinations: nav AppListRows (Home, Skill Store) -->
38
33
 
39
- <p class="app-nav-heading text-eyebrow">Ideate</p>
34
+ <p class="app-nav-heading">Ideate</p>
40
35
  <div class="app-row app-state app-row--nav">
41
36
  <span class="app-icon app-icon--mark app-icon--24 app-row__icon" aria-hidden="true"><!-- alis_projects SVG --></span>
42
37
  <span class="app-row__text"><a class="app-row__hit text-label" href="/ideate/projects">Projects</a></span>
@@ -48,7 +43,7 @@ See [surfaces.md](../rules/surfaces.md) and [page.md](../rules/page.md).
48
43
  </div>
49
44
  <!-- …the rest of Ideate's rows -->
50
45
 
51
- <p class="app-nav-heading text-eyebrow">Build</p>
46
+ <p class="app-nav-heading">Build</p>
52
47
  <!-- Build's rows -->
53
48
 
54
49
  <!-- Optional: the agent chat list, under its own heading -->
@@ -90,8 +85,8 @@ Group headings are the product's short name, "Ideate" and "Build"; the full name
90
85
  - When the rail runs long, scroll only the region after the product groups (the agent chat list); the brand, the groups and the foot stay put.
91
86
  - The account card opens a menu (toggle `aria-expanded`) holding the account list, then profile and sign out.
92
87
  - No photo: the person's initial in `<span class="app-account__avatar text-label" aria-hidden="true">R</span>`.
93
- - Below 600px the nav action's label is hidden visually (font-size 0) but still names the button; keep the text in it. The brand link keeps its `aria-label`, since both images are decorative.
88
+ - Below 600px the brand link keeps its `aria-label`, since both images are decorative.
94
89
 
95
90
  ## Classes
96
91
 
97
- `.app-shell`, `.app-shell--detail`, `.app-shell__nav`, `.app-shell__nav-foot`, `.app-shell__main`, `.app-shell__content`, `.app-shell__detail`; `.app-brand`, `.app-brand__wordmark`, `.app-brand__mark`; `.app-nav-action`, `.app-nav-heading`, `.app-nav-secondary`; `.app-account`, `.app-account__avatar`, `.app-account__text`.
92
+ `.app-shell`, `.app-shell--detail`, `.app-shell__nav`, `.app-shell__nav-foot`, `.app-shell__main`, `.app-shell__content`, `.app-shell__detail`; `.app-brand`, `.app-brand__wordmark`, `.app-brand__mark`; `.app-nav-heading`, `.app-nav-secondary`; `.app-account`, `.app-account__avatar`, `.app-account__text`.