@alis-build/design-system 0.1.0 → 0.3.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/tokens.json CHANGED
@@ -82,7 +82,7 @@
82
82
  {
83
83
  "name": "grey-200",
84
84
  "value": "#e6e8eb",
85
- "usage": "Icon tiles and initials; chip, snackbar and tooltip grounds."
85
+ "usage": "Icon tiles and initials; chip, snackbar and tooltip grounds; every hairline."
86
86
  },
87
87
  {
88
88
  "name": "grey-250",
@@ -97,7 +97,7 @@
97
97
  {
98
98
  "name": "grey-400",
99
99
  "value": "#c4c7ca",
100
- "usage": "A divider inside a surface."
100
+ "usage": "Unassigned since 2026-10-08, when hairlines moved to grey-200."
101
101
  },
102
102
  {
103
103
  "name": "grey-600",
@@ -202,7 +202,7 @@
202
202
  {
203
203
  "name": "surface",
204
204
  "value": "{paper-0}",
205
- "usage": "The instrument: a card you act on, at elevation-2. Also menus and dialogs."
205
+ "usage": "The instrument: a card you act on, white with an outline-variant edge. Also menus and dialogs."
206
206
  },
207
207
  {
208
208
  "name": "surface-container-low",
@@ -222,7 +222,7 @@
222
222
  {
223
223
  "name": "secondary-container",
224
224
  "value": "{grey-300}",
225
- "usage": "Selected: rows, segments, chips, tiles, toggles. Always with a second property (FILL 1 icon, weight 800)."
225
+ "usage": "Selected: rows, segments, chips, tiles, toggles. Always with a second property (FILL 1 icon, weight 700)."
226
226
  },
227
227
  {
228
228
  "name": "on-secondary-container",
@@ -241,8 +241,8 @@
241
241
  },
242
242
  {
243
243
  "name": "outline-variant",
244
- "value": "{grey-400}",
245
- "usage": "A divider inside a surface; the scrollbar."
244
+ "value": "{grey-200}",
245
+ "usage": "Every hairline: a divider, table and tab lines, the instrument card's edge, a segmented track; the scrollbar."
246
246
  },
247
247
  {
248
248
  "name": "error",
@@ -272,7 +272,7 @@
272
272
  {
273
273
  "name": "build",
274
274
  "value": "{violet-700}",
275
- "usage": "Build's tone. Wayfinding only: header identity bar, product switcher, page-title eyebrow, lattice tick."
275
+ "usage": "Build's tone. Wayfinding only: page-title eyebrow, lattice tick."
276
276
  },
277
277
  {
278
278
  "name": "inverse-surface",
@@ -514,7 +514,7 @@
514
514
  "name": "text-page-title",
515
515
  "fontSize": "28px",
516
516
  "lineHeight": "36px",
517
- "fontWeight": 800,
517
+ "fontWeight": 700,
518
518
  "letterSpacing": "-0.03em",
519
519
  "usage": "Names the whole screen. One per screen, in the title bar."
520
520
  },
@@ -522,7 +522,7 @@
522
522
  "name": "text-section-title",
523
523
  "fontSize": "18px",
524
524
  "lineHeight": "24px",
525
- "fontWeight": 800,
525
+ "fontWeight": 600,
526
526
  "letterSpacing": "-0.02em",
527
527
  "usage": "Names a section within the screen. Inside a card, use eyebrow."
528
528
  },
@@ -530,7 +530,7 @@
530
530
  "name": "text-object-title",
531
531
  "fontSize": "16px",
532
532
  "lineHeight": "24px",
533
- "fontWeight": 650,
533
+ "fontWeight": 500,
534
534
  "usage": "Names one object: a card, a row, an item."
535
535
  },
536
536
  {
@@ -551,14 +551,14 @@
551
551
  "name": "text-meta",
552
552
  "fontSize": "12px",
553
553
  "lineHeight": "16px",
554
- "fontWeight": 450,
554
+ "fontWeight": 400,
555
555
  "usage": "Timestamps, counts, provenance. Ink on-surface-variant."
556
556
  },
557
557
  {
558
558
  "name": "text-label",
559
559
  "fontSize": "14px",
560
560
  "lineHeight": "20px",
561
- "fontWeight": 650,
561
+ "fontWeight": 500,
562
562
  "usage": "Inside a control on a plain element."
563
563
  },
564
564
  {
@@ -573,7 +573,7 @@
573
573
  "name": "text-metric-value",
574
574
  "fontSize": "40px",
575
575
  "lineHeight": "48px",
576
- "fontWeight": 800,
576
+ "fontWeight": 700,
577
577
  "usage": "A dashboard's headline metric, tabular figures.",
578
578
  "letterSpacing": "-0.03em"
579
579
  }
@@ -715,8 +715,18 @@
715
715
  },
716
716
  {
717
717
  "name": "touch-target",
718
+ "value": "32px",
719
+ "usage": "Minimum hit area for a fine pointer (mouse, trackpad). Under a coarse pointer it is touch-target-coarse."
720
+ },
721
+ {
722
+ "name": "touch-target-coarse",
718
723
  "value": "48px",
719
- "usage": "Minimum hit area, desktop included."
724
+ "usage": "Minimum hit area under a coarse pointer (touch). Raises touch-target and control-height there."
725
+ },
726
+ {
727
+ "name": "control-height",
728
+ "value": "36px",
729
+ "usage": "The visible height of a button, text field, select, search field and segmented control, so a row of controls has one height. touch-target-coarse under a coarse pointer."
720
730
  },
721
731
  {
722
732
  "name": "measure-prose",
@@ -725,7 +735,7 @@
725
735
  },
726
736
  {
727
737
  "name": "nav-width",
728
- "value": "288px",
738
+ "value": "256px",
729
739
  "usage": "The app's navigation pane."
730
740
  },
731
741
  {
@@ -804,17 +814,17 @@
804
814
  {
805
815
  "name": "elevation-1",
806
816
  "value": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 2px 6px 0 rgba(16, 24, 40, 0.2)",
807
- "usage": "Resting."
817
+ "usage": "Unassigned: nothing rests above the page."
808
818
  },
809
819
  {
810
820
  "name": "elevation-2",
811
821
  "value": "0 1px 2px 0 rgba(16, 24, 40, 0.16), 0 4px 12px 0 rgba(16, 24, 40, 0.2)",
812
- "usage": "A card (the instrument), the composer, sticky things, menus."
822
+ "usage": "Above the page: menus, the agent composer, a sticky bar with content under it, the navigation pane's action, and a card on the drafting field."
813
823
  },
814
824
  {
815
825
  "name": "elevation-3",
816
826
  "value": "0 1px 3px 0 rgba(16, 24, 40, 0.16), 0 12px 32px -4px rgba(16, 24, 40, 0.2)",
817
- "usage": "Dialogs and overlays."
827
+ "usage": "Interrupting or moving: snackbars, dialogs, an overlaid detail pane, and a card or row while it is dragged."
818
828
  }
819
829
  ]
820
830
  },