@finstack-com-public/design 0.4.0 → 0.6.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.
Files changed (88) hide show
  1. package/CHANGELOG.md +116 -0
  2. package/README.md +2 -2
  3. package/THIRD_PARTY_NOTICES.md +12 -0
  4. package/dist/charts/index.js +6 -5
  5. package/dist/css/appbar.css +1 -1
  6. package/dist/css/appbar.md +1 -1
  7. package/dist/css/blocks.css +47 -0
  8. package/dist/css/blocks.md +18 -0
  9. package/dist/css/button.css +2 -2
  10. package/dist/css/button.md +1 -1
  11. package/dist/css/card.css +24 -6
  12. package/dist/css/card.md +2 -1
  13. package/dist/css/codemirror.md +14 -0
  14. package/dist/css/dialog.css +2 -1
  15. package/dist/css/glass.css +30 -0
  16. package/dist/css/glass.md +18 -0
  17. package/dist/css/icon-button.css +1 -1
  18. package/dist/css/input.css +1 -1
  19. package/dist/css/kicker.css +2 -1
  20. package/dist/css/panel.css +4 -1
  21. package/dist/css/panel.md +2 -2
  22. package/dist/css/segmented.css +2 -2
  23. package/dist/css/sheet.css +1 -0
  24. package/dist/css/site.css +1 -0
  25. package/dist/css/sweep.css +55 -0
  26. package/dist/css/sweep.md +20 -0
  27. package/dist/css/tokens.css +509 -436
  28. package/dist/css/wave.css +36 -0
  29. package/dist/css/wave.md +39 -0
  30. package/dist/css/widget.css +4 -1
  31. package/dist/css-text/appbar.js +1 -1
  32. package/dist/css-text/blocks.d.ts +2 -0
  33. package/dist/css-text/blocks.js +1 -0
  34. package/dist/css-text/button.js +1 -1
  35. package/dist/css-text/card.js +1 -1
  36. package/dist/css-text/dialog.js +1 -1
  37. package/dist/css-text/glass.d.ts +2 -0
  38. package/dist/css-text/glass.js +1 -0
  39. package/dist/css-text/icon-button.js +1 -1
  40. package/dist/css-text/input.js +1 -1
  41. package/dist/css-text/kicker.js +1 -1
  42. package/dist/css-text/kit.js +5574 -1
  43. package/dist/css-text/panel.js +1 -1
  44. package/dist/css-text/segmented.js +1 -1
  45. package/dist/css-text/sheet.js +1 -1
  46. package/dist/css-text/site.js +1 -1
  47. package/dist/css-text/sweep.d.ts +2 -0
  48. package/dist/css-text/sweep.js +1 -0
  49. package/dist/css-text/tokens.js +1 -1
  50. package/dist/css-text/wave.d.ts +2 -0
  51. package/dist/css-text/wave.js +37 -0
  52. package/dist/css-text/widget.js +1 -1
  53. package/dist/dom/dialog.js +13 -2
  54. package/dist/fonts/OFL-plus-jakarta-sans.txt +93 -0
  55. package/dist/fonts/faces.d.ts +1 -1
  56. package/dist/fonts/faces.js +2 -0
  57. package/dist/fonts/index.d.ts +1 -1
  58. package/dist/fonts/index.js +3 -1
  59. package/dist/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2 +0 -0
  60. package/dist/fonts/plus-jakarta-sans-latin-wght-normal.woff2 +0 -0
  61. package/dist/fonts/print/plus-jakarta-sans-latin-400-normal.ttf +0 -0
  62. package/dist/fonts/print/plus-jakarta-sans-latin-500-normal.ttf +0 -0
  63. package/dist/fonts/print/plus-jakarta-sans-latin-600-normal.ttf +0 -0
  64. package/dist/fonts/print/plus-jakarta-sans-latin-700-normal.ttf +0 -0
  65. package/dist/fonts/print/plus-jakarta-sans-latin-ext-400-normal.ttf +0 -0
  66. package/dist/fonts/print/plus-jakarta-sans-latin-ext-500-normal.ttf +0 -0
  67. package/dist/fonts/print/plus-jakarta-sans-latin-ext-600-normal.ttf +0 -0
  68. package/dist/fonts/print/plus-jakarta-sans-latin-ext-700-normal.ttf +0 -0
  69. package/dist/fonts-print.css +74 -2
  70. package/dist/fonts.css +19 -1
  71. package/dist/kit.css +726 -453
  72. package/dist/motifs/wave.webp +0 -0
  73. package/dist/react/util.d.ts +5 -1
  74. package/dist/react/util.js +10 -2
  75. package/dist/tokens/color.d.ts +10 -0
  76. package/dist/tokens/color.js +78 -59
  77. package/dist/tokens/contrast-pairs.js +31 -6
  78. package/dist/tokens/contrast.js +2 -0
  79. package/dist/tokens/grid.js +18 -17
  80. package/dist/tokens/index.d.ts +15 -7
  81. package/dist/tokens/index.js +2 -1
  82. package/dist/tokens/primitives.d.ts +8 -5
  83. package/dist/tokens/primitives.js +8 -5
  84. package/dist/tokens/scale.d.ts +11 -3
  85. package/dist/tokens/scale.js +11 -3
  86. package/dist/tokens/syntax.js +5 -5
  87. package/dist/tokens.json +215 -187
  88. package/package.json +5 -2
Binary file
@@ -5,7 +5,11 @@ export declare function cx(...parts: (string | false | null | undefined)[]): str
5
5
  export declare const useIsoLayoutEffect: typeof useEffect;
6
6
  /** The latest value, readable from handlers registered once. */
7
7
  export declare function useLatest<T>(value: T): RefObject<T>;
8
- /** Calls `handler` with each `type` CustomEvent's detail dispatched on `target`. */
8
+ /**
9
+ * Calls `handler` with each `type` CustomEvent's detail dispatched on `target` itself. The helpers'
10
+ * events bubble, so one from a nested block (a loader or popover inside a dialog) passes through
11
+ * here too: it is ignored (T53).
12
+ */
9
13
  export declare function useFsEvent<D>(target: RefObject<HTMLElement | null>, type: string, handler: ((detail: D) => void) | undefined): void;
10
14
  /** Puts one element into several refs: the wrapper's own and the one passed in. */
11
15
  export declare function useMergedRef<T>(...refs: (Ref<T> | undefined)[]): (el: T | null) => void;
@@ -15,14 +15,22 @@ export function useLatest(value) {
15
15
  });
16
16
  return ref;
17
17
  }
18
- /** Calls `handler` with each `type` CustomEvent's detail dispatched on `target`. */
18
+ /**
19
+ * Calls `handler` with each `type` CustomEvent's detail dispatched on `target` itself. The helpers'
20
+ * events bubble, so one from a nested block (a loader or popover inside a dialog) passes through
21
+ * here too: it is ignored (T53).
22
+ */
19
23
  export function useFsEvent(target, type, handler) {
20
24
  const latest = useLatest(handler);
21
25
  useEffect(() => {
22
26
  const el = target.current;
23
27
  if (!el)
24
28
  return;
25
- const listener = (e) => latest.current?.(e.detail);
29
+ const listener = (e) => {
30
+ if (e.target !== el)
31
+ return;
32
+ latest.current?.(e.detail);
33
+ };
26
34
  el.addEventListener(type, listener);
27
35
  return () => el.removeEventListener(type, listener);
28
36
  }, [target, type, latest]);
@@ -86,7 +86,16 @@ export declare const colorRoles: {
86
86
  'primary-bg-hover': Schemed;
87
87
  'primary-ink': Schemed;
88
88
  ring: Schemed;
89
+ 'brand-start': Schemed;
90
+ 'brand-end': Schemed;
91
+ 'brand-wash-start': Schemed;
92
+ 'brand-wash-end': Schemed;
89
93
  'ring-halo': Schemed;
94
+ 'glass-bg': Schemed;
95
+ 'glass-line': Schemed;
96
+ 'sweep-1': Schemed;
97
+ 'sweep-2': Schemed;
98
+ 'wave-glow': Schemed;
90
99
  'bg-surface': Schemed;
91
100
  'bg-page': Schemed;
92
101
  'bg-plane': Schemed;
@@ -107,6 +116,7 @@ export declare const colorRoles: {
107
116
  line: Schemed;
108
117
  'line-strong': Schemed;
109
118
  'line-control': Schemed;
119
+ 'line-button': Schemed;
110
120
  };
111
121
  export type ColorRole = keyof typeof colorRoles;
112
122
  export declare const toneNames: readonly ["neutral", "info", "positive", "caution", "warning", "danger", "gap"];
@@ -1,53 +1,71 @@
1
1
  // Colour roles, light and dark (spec 01 §3). CSS name: `--fs-<role>`.
2
2
  import { both, p, r, s } from "./values.js";
3
3
  const surfaces = {
4
- 'bg-surface': s('#ffffff', '#1d1c1a'),
5
- 'bg-page': s('#f7f7f4', '#161614'),
6
- 'bg-plane': s('#eeede9', '#111110'),
7
- 'bg-chrome': s('#fbfbfa', '#232220'),
8
- 'bg-sunken': s('#f3f3ef', '#262523'),
9
- 'bg-hover': s('rgba(29,29,27,0.05)', 'rgba(236,235,230,0.06)'),
10
- 'bg-active': s('rgba(29,29,27,0.09)', 'rgba(236,235,230,0.10)'),
11
- 'bg-selected': s('#f7edf6', '#3a2638'),
12
- 'bg-disabled': s('#f3f3ef', '#262523'),
13
- 'bg-highlight': s('#fff6cc', '#3a3520'),
14
- 'bg-backdrop': s('rgba(29,29,27,0.38)', 'rgba(0,0,0,0.6)'),
15
- ink: s('#1d1d1b', '#ecebe6'),
16
- 'ink-2': s('#52514e', '#c3c2bb'),
17
- 'ink-muted': s('#6b6a65', '#9d9c95'),
18
- 'ink-disabled': s('#8f8e88', '#75746e'),
4
+ 'bg-surface': s('#ffffff', '#0e1d45'),
5
+ 'bg-page': s('#f3f7fd', p('navy-950')),
6
+ 'bg-plane': s('#e9f0fb', '#050d26'),
7
+ 'bg-chrome': s('#f8fbff', '#13244f'),
8
+ 'bg-sunken': s('#eef3fa', '#152a5a'),
9
+ 'bg-hover': s('rgba(11,26,63,0.05)', 'rgba(232,238,252,0.06)'),
10
+ 'bg-active': s('rgba(11,26,63,0.09)', 'rgba(232,238,252,0.10)'),
11
+ 'bg-selected': s('#e8f0fe', '#172d64'),
12
+ 'bg-disabled': s('#eef3fa', '#152a5a'),
13
+ 'bg-highlight': s('#fff6cc', '#3b3416'),
14
+ 'bg-backdrop': s('rgba(11,26,63,0.40)', 'rgba(2,6,20,0.65)'),
15
+ ink: s(p('navy-900'), '#e8eefc'),
16
+ 'ink-2': s('#3b4a6b', '#b9c6e2'),
17
+ 'ink-muted': s('#5b6785', '#93a1c2'),
18
+ 'ink-disabled': s('#828ba1', '#6c7a9e'),
19
19
  'ink-on-accent': both('#ffffff'),
20
- 'ink-link': s(p('purple-700'), p('purple-300')),
21
- line: s('#e6e5df', '#33322f'),
22
- 'line-strong': s('#d3d2cb', '#45443f'),
23
- 'line-control': s('#8a8983', '#7d7c76'),
20
+ 'ink-link': s(p('blue-600'), p('blue-300')),
21
+ line: s('#dfe6f1', '#22356a'),
22
+ 'line-strong': s('#c9d4e6', '#30467f'),
23
+ 'line-control': s('#7a88a6', '#6f81ad'),
24
+ // Softer, for edges that a label already identifies: secondary buttons and the segmented
25
+ // control (D30). WCAG 1.4.11 doesn't ask a labelled button's edge for 3:1.
26
+ 'line-button': s('#a3afc6', '#475a8b'),
24
27
  };
25
28
  const accent = {
26
- accent: s(p('purple-700'), p('purple-300')),
27
- 'accent-strong': s(p('purple-800'), '#f0c4ec'),
28
- 'accent-wash': s('#f7edf6', '#3a2638'),
29
- 'primary-bg': s(p('purple-700'), p('purple-600-dark')),
30
- 'primary-bg-hover': s(p('purple-800'), '#ad3fa4'),
29
+ accent: s(p('blue-600'), p('blue-300')),
30
+ 'accent-strong': s(p('blue-700'), '#c4d9ff'),
31
+ 'accent-wash': s('#e8f0fe', '#172d64'),
32
+ 'primary-bg': s(p('blue-600'), '#2d5be8'),
33
+ 'primary-bg-hover': s(p('blue-700'), '#1f4fe0'),
31
34
  'primary-ink': both('#ffffff'),
32
- ring: s(p('purple-700'), p('purple-300')),
33
- 'ring-halo': s('#ffffff', '#111110'),
35
+ // Darker than the accent: ring/halo stays ≥9:1 so the pair reaches 3:1 on any ground (spec 06 §3).
36
+ ring: s(p('blue-800'), p('blue-300')),
37
+ // The brand gradient's stops (spec 01 §3.1): decoration only, read by `--fs-gradient-brand*`.
38
+ // `start` is the deep blue and `end` the cyan; since T50 the gradient runs from `end` (top left)
39
+ // to `start`. The names stay (public API); `.fs-blocks` still runs start to end.
40
+ 'brand-start': s(p('blue-600'), p('blue-500')),
41
+ 'brand-end': both(p('cyan-400')),
42
+ 'brand-wash-start': s('#e8f0fe', '#13244f'),
43
+ 'brand-wash-end': s('#e3f8fb', '#0f3358'),
44
+ 'ring-halo': s('#ffffff', p('navy-950')),
45
+ // The motifs' translucent layers (spec 01 §7, 02 I): a glass panel's fill and edge, two soft
46
+ // sweeps of blue and cyan, and the glow of the wave's dots (dark only).
47
+ 'glass-bg': s('rgba(255,255,255,0.72)', 'rgba(14,29,69,0.72)'),
48
+ 'glass-line': s('rgba(255,255,255,0.85)', 'rgba(141,184,255,0.18)'),
49
+ 'sweep-1': s('rgba(43,124,246,0.10)', 'rgba(43,124,246,0.20)'),
50
+ 'sweep-2': s('rgba(20,212,224,0.16)', 'rgba(20,212,224,0.14)'),
51
+ 'wave-glow': s('transparent', 'rgba(20,212,224,0.55)'),
34
52
  };
35
53
  // Seven tones, each ink / wash / edge / fill (spec 01 §3.3).
36
54
  const tones = {
37
- 'neutral-ink': s('#52514e', '#c3c2bb'),
38
- 'neutral-wash': s('#f3f3ef', '#262523'),
39
- 'neutral-edge': s('#8a8983', '#7d7c76'),
40
- 'neutral-fill': s('#52514e', '#c3c2bb'),
41
- 'info-ink': s(p('purple-700'), p('purple-300')),
42
- 'info-wash': s('#f7edf6', '#3a2638'),
43
- 'info-edge': s(p('purple-700'), p('purple-300')),
44
- 'info-fill': s(p('purple-700'), p('purple-300')),
55
+ 'neutral-ink': s('#3b4a6b', '#b9c6e2'),
56
+ 'neutral-wash': s('#eef3fa', '#152a5a'),
57
+ 'neutral-edge': s('#7a88a6', '#6f81ad'),
58
+ 'neutral-fill': s('#3b4a6b', '#b9c6e2'),
59
+ 'info-ink': s(p('blue-600'), p('blue-300')),
60
+ 'info-wash': s('#e8f0fe', '#172d64'),
61
+ 'info-edge': s(p('blue-600'), p('blue-300')),
62
+ 'info-fill': s(p('blue-600'), p('blue-300')),
45
63
  'positive-ink': s('#2e7d32', '#7fc98a'),
46
- 'positive-wash': s('#e8f5e9', '#1c2e20'),
64
+ 'positive-wash': s('#e8f5e9', '#13382b'),
47
65
  'positive-edge': s('#2e7d32', '#7fc98a'),
48
66
  'positive-fill': s('#2e7d32', '#5fae6c'),
49
67
  'caution-ink': s('#7f6a00', '#e0c34a'),
50
- 'caution-wash': s('#fbf6dd', '#332c14'),
68
+ 'caution-wash': s('#fbf6dd', '#352f10'),
51
69
  'caution-edge': s('#7f6a00', '#e0c34a'),
52
70
  'caution-fill': s('#7f6a00', '#e0c34a'),
53
71
  // Orange is 3.05:1 on white: icon and edge on the plain surface only, never text or a wash.
@@ -57,14 +75,14 @@ const tones = {
57
75
  'warning-fill': both(p('orange-500')),
58
76
  'warning-icon': both(p('orange-500')),
59
77
  'danger-ink': s('#c62828', '#ff8a80'),
60
- 'danger-wash': s('#fdecea', '#3a1d1b'),
78
+ 'danger-wash': s('#fdecea', '#3d1a26'),
61
79
  'danger-edge': s('#c62828', '#ff8a80'),
62
80
  'danger-fill': s('#c62828', '#e5534b'),
63
- 'gap-ink': s('#3d5a80', '#9db8de'),
64
- 'gap-wash': s('#ebf0f7', '#1f2733'),
65
- 'gap-edge': s('#a9b8cc', '#4a5d78'),
66
- 'gap-fill': s('#5f7fa6', '#7d9cc8'),
67
- 'gap-hatch-tint': s('rgba(61,90,128,0.10)', 'rgba(157,184,222,0.12)'),
81
+ 'gap-ink': s('#646a72', '#9399a4'),
82
+ 'gap-wash': s('#edeff2', '#232a38'),
83
+ 'gap-edge': s('#b1b6bd', '#4b5363'),
84
+ 'gap-fill': s('#7a8089', '#80868f'),
85
+ 'gap-hatch-tint': s('rgba(100,106,114,0.12)', 'rgba(147,153,164,0.14)'),
68
86
  };
69
87
  const figures = {
70
88
  'figure-good': both(r('positive-ink')),
@@ -84,15 +102,15 @@ const marks = {
84
102
  'mark-none-fill': both(r('gap-fill')),
85
103
  };
86
104
  const types = {
87
- 'type-organise': s('#6b6a65', '#a3a29c'),
105
+ 'type-organise': s('#5b6785', '#93a1c2'),
88
106
  'type-view': s('#388e3c', '#7fc98a'),
89
107
  'type-input': s('#0b7a75', '#5cc2bb'),
90
- 'type-model': s('#4c51bf', '#9a9ee6'),
108
+ 'type-model': s('#7445b8', '#b79bea'),
91
109
  'type-access': s('#546e7a', '#9fb3bd'),
92
110
  };
93
111
  const values = {
94
- 'computed-bg': s('#f3f3ef', '#262523'),
95
- 'computed-line': s('#8a8983', '#7d7c76'),
112
+ 'computed-bg': s('#eef3fa', '#152a5a'),
113
+ 'computed-line': s('#7a88a6', '#6f81ad'),
96
114
  };
97
115
  // Editor chrome beside the syntax table (spec 01 §3.11).
98
116
  const editor = {
@@ -112,16 +130,17 @@ const editor = {
112
130
  'editor-tooltip-line': both(r('line-strong')),
113
131
  };
114
132
  // The chart theme's CSS form (spec 04 §2, §5). The series were chosen for colour-blind
115
- // separation; T5's tests hold them to the floors of spec 04 §2.1.
133
+ // separation; T5's tests hold them to the floors of spec 04 §2.1. Blue then cyan first (D29, T48),
134
+ // then the same hue order in both schemes: violet, amber, raspberry, navy, sage, brick.
116
135
  const chart = {
117
- 'chart-1': s(p('purple-700'), '#b374b4'),
118
- 'chart-2': s('#318caa', '#97d7ed'),
119
- 'chart-3': s('#b47164', '#f4cabe'),
120
- 'chart-4': s('#738f1e', '#799852'),
121
- 'chart-5': s('#4a4fb8', '#9a70e6'),
122
- 'chart-6': s('#6b4633', '#da972f'),
123
- 'chart-7': s('#63631d', '#cee085'),
124
- 'chart-8': s('#1d6363', '#429a7c'),
136
+ 'chart-1': s(p('blue-600'), p('blue-500')),
137
+ 'chart-2': s('#0891b2', p('cyan-400')),
138
+ 'chart-3': s('#6646a8', '#b49df8'),
139
+ 'chart-4': s('#d1811f', '#ffba64'),
140
+ 'chart-5': s('#d53f6f', '#d569a2'),
141
+ 'chart-6': s('#0e3a6d', '#6c6bb8'),
142
+ 'chart-7': s('#648c85', '#90cead'),
143
+ 'chart-8': s('#b14e46', '#f06756'),
125
144
  'chart-other': both(r('line-control')),
126
145
  'chart-comparison': both(r('ink-2')),
127
146
  'chart-axis': both(r('line-strong')),
@@ -143,9 +162,9 @@ export const colorRoles = {
143
162
  ...chart,
144
163
  };
145
164
  export const toneNames = ['neutral', 'info', 'positive', 'caution', 'warning', 'danger', 'gap'];
146
- // Shadows: dark doubles the alpha (spec 01 §7). CSS name: `--fs-shadow-<n>`.
165
+ // Shadows: navy-tinted; dark doubles each layer's alpha on a near-black navy base (spec 01 §7). CSS name: `--fs-shadow-<n>`.
147
166
  export const shadows = {
148
- '1': s('0 1px 2px rgba(0,0,0,0.06), 0 6px 24px rgba(0,0,0,0.06)', '0 1px 2px rgba(0,0,0,0.12), 0 6px 24px rgba(0,0,0,0.12)'),
149
- '2': s('0 4px 16px rgba(0,0,0,0.12)', '0 4px 16px rgba(0,0,0,0.24)'),
150
- '3': s('0 20px 60px rgba(0,0,0,0.20)', '0 20px 60px rgba(0,0,0,0.40)'),
167
+ '1': s('0 1px 2px rgba(11,26,63,0.05), 0 8px 28px rgba(31,79,224,0.08)', '0 1px 2px rgba(2,6,20,0.10), 0 8px 28px rgba(2,6,20,0.16)'),
168
+ '2': s('0 4px 20px rgba(11,26,63,0.12)', '0 4px 20px rgba(2,6,20,0.24)'),
169
+ '3': s('0 24px 64px rgba(11,26,63,0.22)', '0 24px 64px rgba(2,6,20,0.44)'),
151
170
  };
@@ -30,6 +30,18 @@ export function contrastPairs() {
30
30
  role('text', fg, bg);
31
31
  role('text', fg, 'bg-hover', 'bg-surface');
32
32
  }
33
+ // Text on the soft brand gradient's two stops (D29); the bright gradient carries no text.
34
+ role('text', 'ink', 'brand-wash-start');
35
+ role('text', 'ink', 'brand-wash-end');
36
+ role('text', 'ink-2', 'brand-wash-start');
37
+ role('text', 'ink-2', 'brand-wash-end');
38
+ // The glass panel (spec 02 I): translucent, so over the page and over both ends of the wash.
39
+ // ink-muted too: fs-card__meta and fs-widget__subtitle use it on glass.
40
+ for (const fg of ['ink', 'ink-2', 'ink-muted']) {
41
+ for (const under of ['bg-page', 'brand-wash-start', 'brand-wash-end']) {
42
+ role('text', fg, 'glass-bg', under);
43
+ }
44
+ }
33
45
  role('text', 'ink', 'bg-highlight');
34
46
  role('text', 'ink', 'computed-bg');
35
47
  role('text', 'primary-ink', 'primary-bg');
@@ -63,13 +75,13 @@ export function contrastPairs() {
63
75
  // CodeMirror's lint tooltip on the editor tokens (codemirror.md): its text and source line.
64
76
  role('text', 'ink', 'editor-tooltip-bg');
65
77
  role('text', 'ink-muted', 'editor-tooltip-bg');
66
- // The app bar is a dark island on purple-950 (spec 01 §3.9), so it takes the dark inks.
78
+ // The app bar is a dark island on navy-900 (spec 01 §3.9), so it takes the dark inks.
67
79
  if (scheme === 'dark') {
68
- const appbar = primitives['purple-950'];
69
- add('text', 'ink', c.ink, 'p-purple-950', appbar);
70
- add('text', 'ink-2', c['ink-2'], 'p-purple-950', appbar);
71
- add('text', 'ink-muted', c['ink-muted'], 'p-purple-950', appbar);
72
- add('non-text', 'ring', c.ring, 'p-purple-950', appbar);
80
+ const appbar = primitives['navy-900'];
81
+ add('text', 'ink', c.ink, 'p-navy-900', appbar);
82
+ add('text', 'ink-2', c['ink-2'], 'p-navy-900', appbar);
83
+ add('text', 'ink-muted', c['ink-muted'], 'p-navy-900', appbar);
84
+ add('non-text', 'ring', c.ring, 'p-navy-900', appbar);
73
85
  }
74
86
  // BI App's grid (spec 01 §3.10).
75
87
  for (const bg of ['header-bg', 'label-bg', 'subtotal-bg', 'input-bg', 'editing-bg'])
@@ -91,6 +103,19 @@ export function contrastPairs() {
91
103
  grid('text', 'lock-other-ink', 'lock-other-bg');
92
104
  grid('non-text', 'selected', 'bg-surface');
93
105
  grid('non-text', 'chevron', 'bg-surface');
106
+ // D32: the navy input teal and editing blue carry the selection outline and the dirty/negative inks.
107
+ grid('non-text', 'selected', 'input-bg');
108
+ grid('non-text', 'selected', 'editing-bg');
109
+ grid('text', 'dirty-ink', 'editing-bg');
110
+ grid('non-text', 'chevron', 'subtotal-bg');
111
+ for (const ink of ['negative-ink', 'error-ink']) {
112
+ // Light editing-bg is BI App's own (red on it is 4.2:1, unchanged by D32), so only dark is held.
113
+ if (scheme === 'dark')
114
+ grid('text', ink, 'editing-bg');
115
+ grid('text', ink, 'subtotal-bg');
116
+ }
117
+ grid('text', 'invalid-ink', 'subtotal-bg');
118
+ grid('text', 'stale-ink', 'input-bg');
94
119
  // Non-text: edges that identify a control, the ring, meaningful icons, fills.
95
120
  for (const bg of ['bg-surface', 'bg-chrome', 'bg-page'])
96
121
  role('non-text', 'line-control', bg);
@@ -1,6 +1,8 @@
1
1
  // WCAG 2.1 relative-luminance contrast, for the contrast test and the gallery's ratios.
2
2
  export function parseColor(input) {
3
3
  const c = input.trim().toLowerCase();
4
+ if (c === 'transparent')
5
+ return { r: 0, g: 0, b: 0, a: 0 };
4
6
  const hex = /^#([0-9a-f]{3}|[0-9a-f]{6})$/.exec(c);
5
7
  if (hex?.[1]) {
6
8
  const h = hex[1].length === 3 ? [...hex[1]].map((x) => x + x).join('') : hex[1];
@@ -1,31 +1,32 @@
1
1
  // BI App's grid tokens (KEEP, D7; spec 01 §3.10). CSS name: `--fs-grid-<role>`.
2
2
  // Light values are BI App's own, except the three contrast fixes BI §10 asks for (marked ✱) and the
3
- // selected-invalid fill (D20).
3
+ // selected-invalid fill (D20). The dark values are the kit's navy neutrals (D32, T51): a comment names
4
+ // the role where one matches exactly; roles can't be referenced across token tables, so values are literals.
4
5
  import { s } from "./values.js";
5
6
  export const gridRoles = {
6
- line: s('#dddddd', '#3a3936'),
7
- 'header-bg': s('#f2f2f2', '#2a2926'),
8
- 'label-bg': s('#f4f4f4', '#2a2926'),
9
- 'row-hover': s('rgba(0,0,255,0.03)', 'rgba(165,165,255,0.06)'),
10
- 'subtotal-bg': s('#eef2f7', '#263040'),
11
- 'input-bg': s('#fffde7', '#3a3520'),
12
- 'locked-ink': s('#5f5e5a', '#a3a29c'), // ✱ was #757575
13
- 'locked-bg': s('#f5f5f5', '#2c2c2a'),
7
+ line: s('#dddddd', '#22356a'), // dark = --fs-line
8
+ 'header-bg': s('#f2f2f2', '#152a5a'), // dark = --fs-bg-sunken
9
+ 'label-bg': s('#f4f4f4', '#13244f'), // dark = --fs-bg-chrome
10
+ 'row-hover': s('rgba(0,0,255,0.03)', 'rgba(232,238,252,0.06)'), // dark = --fs-bg-hover
11
+ 'subtotal-bg': s('#eef2f7', '#182f68'), // dark: a step above bg-sunken, not a role (bg-selected #172d64 means selection)
12
+ 'input-bg': s('#fffde7', '#10394a'), // dark: desaturated teal on navy, cooler than the old amber
13
+ 'locked-ink': s('#5f5e5a', '#93a1c2'), // ✱ was #757575; dark = --fs-ink-muted
14
+ 'locked-bg': s('#f5f5f5', '#050d26'), // dark = --fs-bg-plane
14
15
  'error-ink': s('#c62828', '#ff8a80'),
15
- 'error-bg': s('#fdecea', '#3d1f1d'),
16
+ 'error-bg': s('#fdecea', '#3d1a26'), // dark = --fs-danger-wash
16
17
  'negative-ink': s('#c62828', '#ff8a80'),
17
- 'stale-ink': s('#5f5e5a', '#a3a29c'), // ✱ was #757575
18
+ 'stale-ink': s('#5f5e5a', '#93a1c2'), // ✱ was #757575; dark = --fs-ink-muted
18
19
  'stale-dot': s('#f9a825', '#f9a825'),
19
20
  'dirty-ink': s('#3d3db4', '#a5a5ff'),
20
21
  'invalid-ink': s('#c62828', '#ff8a80'),
21
22
  selected: s('#3d3db4', '#8c8cff'),
22
23
  'selected-invalid-bg': s('rgba(252,0,0,0.10)', 'rgba(255,138,128,0.08)'), // D20: was 0.25, failed AA
23
- 'editing-bg': s('rgb(221,221,244)', '#2e2e52'),
24
- 'nodata-bg': s('rgba(0,0,0,0.03)', 'rgba(255,255,255,0.03)'),
25
- chevron: s('#8a8983', '#7d7c76'), // ✱ was #9e9e9e
26
- 'tree-guide': s('#d9d9d9', '#3a3936'),
24
+ 'editing-bg': s('rgb(221,221,244)', '#223a7e'), // dark: brighter blue than the input teal, under the selected outline
25
+ 'nodata-bg': s('rgba(0,0,0,0.03)', 'rgba(232,238,252,0.04)'),
26
+ chevron: s('#8a8983', '#6f81ad'), // ✱ was #9e9e9e; dark = --fs-line-control
27
+ 'tree-guide': s('#d9d9d9', '#22356a'), // dark = --fs-line
27
28
  'lock-mine-ink': s('#2e7d32', '#7fc98a'),
28
- 'lock-mine-bg': s('#e8f5e9', '#1c2e20'),
29
+ 'lock-mine-bg': s('#e8f5e9', '#13382b'), // dark = --fs-positive-wash
29
30
  'lock-other-ink': s('#c62828', '#ff8a80'),
30
- 'lock-other-bg': s('#fdecea', '#3d1f1d'),
31
+ 'lock-other-bg': s('#fdecea', '#3d1a26'), // dark = --fs-danger-wash
31
32
  };
@@ -1,15 +1,15 @@
1
1
  import { type ColorRole, type ShadowKey } from './color.ts';
2
2
  import { type Density, type DensityToken } from './density.ts';
3
3
  import { type GridRole } from './grid.ts';
4
- import { chartScale, fonts, lines, motion, patterns, radii, sizes, sizesEm, space, textSteps, tracking, weights, zLayers } from './scale.ts';
4
+ import { chartScale, fonts, gradients, lines, motion, patterns, radii, sizes, sizesEm, space, textSteps, tracking, weights, zLayers } from './scale.ts';
5
5
  import { type SyntaxTag } from './syntax.ts';
6
6
  import { type Scheme } from './values.ts';
7
7
  export type { ColorRole, Density, DensityToken, GridRole, Scheme, ShadowKey, SyntaxTag };
8
8
  export type TextStep = keyof typeof textSteps;
9
9
  export declare const tokens: {
10
10
  readonly color: {
11
- light: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "ring-halo" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
12
- dark: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "ring-halo" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
11
+ light: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "line-button" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "brand-start" | "brand-end" | "brand-wash-start" | "brand-wash-end" | "ring-halo" | "glass-bg" | "glass-line" | "sweep-1" | "sweep-2" | "wave-glow" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
12
+ dark: Record<"bg-surface" | "bg-page" | "bg-plane" | "bg-chrome" | "bg-sunken" | "bg-hover" | "bg-active" | "bg-selected" | "bg-disabled" | "bg-highlight" | "bg-backdrop" | "ink" | "ink-2" | "ink-muted" | "ink-disabled" | "ink-on-accent" | "ink-link" | "line" | "line-strong" | "line-control" | "line-button" | "accent" | "accent-strong" | "accent-wash" | "primary-bg" | "primary-bg-hover" | "primary-ink" | "ring" | "brand-start" | "brand-end" | "brand-wash-start" | "brand-wash-end" | "ring-halo" | "glass-bg" | "glass-line" | "sweep-1" | "sweep-2" | "wave-glow" | "neutral-ink" | "neutral-wash" | "neutral-edge" | "neutral-fill" | "info-ink" | "info-wash" | "info-edge" | "info-fill" | "positive-ink" | "positive-wash" | "positive-edge" | "positive-fill" | "caution-ink" | "caution-wash" | "caution-edge" | "caution-fill" | "warning-ink" | "warning-wash" | "warning-edge" | "warning-fill" | "warning-icon" | "danger-ink" | "danger-wash" | "danger-edge" | "danger-fill" | "gap-ink" | "gap-wash" | "gap-edge" | "gap-fill" | "gap-hatch-tint" | "figure-good" | "figure-bad" | "figure-plain" | "mark-exact-ink" | "mark-exact-wash" | "mark-exact-fill" | "mark-approx-ink" | "mark-approx-wash" | "mark-approx-fill" | "mark-none-ink" | "mark-none-wash" | "mark-none-fill" | "type-organise" | "type-view" | "type-input" | "type-model" | "type-access" | "computed-bg" | "computed-line" | "editor-gutter-bg" | "editor-gutter-ink" | "editor-gutter-line" | "editor-selection" | "editor-selection-blur" | "editor-caret" | "editor-active-line" | "editor-match" | "editor-mismatch" | "editor-lint-error" | "editor-lint-warning" | "editor-lint-refusal" | "editor-tooltip-bg" | "editor-tooltip-line" | "chart-1" | "chart-2" | "chart-3" | "chart-4" | "chart-5" | "chart-6" | "chart-7" | "chart-8" | "chart-other" | "chart-comparison" | "chart-axis" | "chart-label" | "chart-grid" | "chart-zero" | "chart-good" | "chart-bad", string>;
13
13
  };
14
14
  readonly shadow: {
15
15
  light: Record<"1" | "2" | "3", string>;
@@ -26,6 +26,7 @@ export declare const tokens: {
26
26
  readonly density: Record<Density, Record<"gap" | "text-body-size" | "text-body-line" | "control-h" | "row-h" | "pad-x" | "icon-size" | "cell-pad-x", number>>;
27
27
  readonly font: {
28
28
  readonly sans: "\"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
29
+ readonly display: "\"Plus Jakarta Sans\", \"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
29
30
  readonly figures: "\"Inter Tabular\", \"Inter\", system-ui, sans-serif";
30
31
  readonly mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
31
32
  };
@@ -89,6 +90,7 @@ export declare const tokens: {
89
90
  readonly tight: "-0.01em";
90
91
  readonly tighter: "-0.02em";
91
92
  readonly caps: "0.06em";
93
+ readonly 'caps-wide': "0.18em";
92
94
  };
93
95
  readonly space: {
94
96
  readonly '0': 0;
@@ -105,9 +107,10 @@ export declare const tokens: {
105
107
  readonly '12': 48;
106
108
  };
107
109
  readonly radius: {
108
- readonly sm: 4;
109
- readonly md: 8;
110
- readonly lg: 12;
110
+ readonly sm: 6;
111
+ readonly md: 10;
112
+ readonly lg: 16;
113
+ readonly xl: 20;
111
114
  readonly pill: 999;
112
115
  };
113
116
  readonly size: {
@@ -132,6 +135,7 @@ export declare const tokens: {
132
135
  readonly 'input-sm': 10;
133
136
  };
134
137
  readonly line: {
138
+ readonly 'glass-blur': 16;
135
139
  readonly 'line-width': 1;
136
140
  readonly 'ring-width': 2;
137
141
  readonly 'ring-halo-width': 2;
@@ -164,13 +168,17 @@ export declare const tokens: {
164
168
  readonly 'gap-hatch': "repeating-linear-gradient(135deg, var(--fs-gap-hatch-tint) 0 6px, transparent 6px 14px)";
165
169
  readonly 'gap-hatch-sm': "repeating-linear-gradient(135deg, var(--fs-gap-hatch-tint) 0 5px, transparent 5px 11px)";
166
170
  };
171
+ readonly gradient: {
172
+ readonly 'gradient-brand': "linear-gradient(135deg, var(--fs-brand-end), var(--fs-brand-start))";
173
+ readonly 'gradient-brand-soft': "linear-gradient(135deg, var(--fs-brand-wash-end), var(--fs-brand-wash-start))";
174
+ };
167
175
  readonly chart: {
168
176
  readonly 'chart-area-alpha': 0.18;
169
177
  };
170
178
  };
171
179
  export type Tokens = typeof tokens;
172
180
  /** Every custom property the kit declares, without its `--fs-` prefix. */
173
- export type TokenName = ColorRole | DensityToken | `shadow-${ShadowKey}` | `grid-${GridRole}` | `syntax-${SyntaxTag}` | `font-${keyof typeof fonts}` | `text-${TextStep}-size` | `text-${TextStep}-line` | `weight-${keyof typeof weights}` | `tracking-${keyof typeof tracking}` | `space-${keyof typeof space}` | `radius-${keyof typeof radii}` | `size-${keyof typeof sizes}` | `size-${keyof typeof sizesEm}` | keyof typeof lines | 'icon-stroke' | keyof typeof motion | `z-${keyof typeof zLayers}` | keyof typeof patterns | keyof typeof chartScale;
181
+ export type TokenName = ColorRole | DensityToken | `shadow-${ShadowKey}` | `grid-${GridRole}` | `syntax-${SyntaxTag}` | `font-${keyof typeof fonts}` | `text-${TextStep}-size` | `text-${TextStep}-line` | `weight-${keyof typeof weights}` | `tracking-${keyof typeof tracking}` | `space-${keyof typeof space}` | `radius-${keyof typeof radii}` | `size-${keyof typeof sizes}` | `size-${keyof typeof sizesEm}` | keyof typeof lines | 'icon-stroke' | keyof typeof motion | `z-${keyof typeof zLayers}` | keyof typeof patterns | keyof typeof gradients | keyof typeof chartScale;
174
182
  /** `cssVar('accent')` → `'var(--fs-accent)'`. */
175
183
  export declare function cssVar(name: TokenName): string;
176
184
  /**
@@ -3,7 +3,7 @@ import { colorRoles, shadows } from "./color.js";
3
3
  import { densities } from "./density.js";
4
4
  import { gridRoles } from "./grid.js";
5
5
  import { primitives } from "./primitives.js";
6
- import { chartScale, fonts, iconStroke, lines, motion, motionReduced, patterns, radii, sizes, sizesEm, space, textSteps, tracking, weights, zLayers, } from "./scale.js";
6
+ import { chartScale, fonts, gradients, iconStroke, lines, motion, motionReduced, patterns, radii, sizes, sizesEm, space, textSteps, tracking, weights, zLayers, } from "./scale.js";
7
7
  import { syntaxTags } from "./syntax.js";
8
8
  import { isPrimitiveRef, isRoleRef } from "./values.js";
9
9
  function resolver(table, scheme) {
@@ -52,6 +52,7 @@ export const tokens = {
52
52
  motionReduced,
53
53
  z: zLayers,
54
54
  pattern: patterns,
55
+ gradient: gradients,
55
56
  chart: chartScale,
56
57
  };
57
58
  /** `cssVar('accent')` → `'var(--fs-accent)'`. */
@@ -1,9 +1,12 @@
1
1
  export declare const primitives: {
2
- readonly 'purple-700': "#790373";
3
- readonly 'purple-800': "#540058";
4
- readonly 'purple-950': "#1e062e";
5
- readonly 'purple-300': "#e3a3de";
6
- readonly 'purple-600-dark': "#9b2c93";
2
+ readonly 'blue-800': "#1a37a6";
3
+ readonly 'blue-700': "#1a3fb8";
4
+ readonly 'blue-600': "#1f4fe0";
5
+ readonly 'blue-500': "#2b7cf6";
6
+ readonly 'blue-300': "#8db8ff";
7
+ readonly 'cyan-400': "#14d4e0";
8
+ readonly 'navy-900': "#0b1a3f";
9
+ readonly 'navy-950': "#071233";
7
10
  readonly 'orange-500': "#f26b1d";
8
11
  readonly 'orange-600': "#d85a10";
9
12
  };
@@ -1,10 +1,13 @@
1
1
  // Primitives (spec 01 §2). Only the role tier reads them; consumers never set or read them.
2
2
  export const primitives = {
3
- 'purple-700': '#790373',
4
- 'purple-800': '#540058',
5
- 'purple-950': '#1e062e',
6
- 'purple-300': '#e3a3de',
7
- 'purple-600-dark': '#9b2c93',
3
+ 'blue-800': '#1a37a6',
4
+ 'blue-700': '#1a3fb8',
5
+ 'blue-600': '#1f4fe0',
6
+ 'blue-500': '#2b7cf6',
7
+ 'blue-300': '#8db8ff',
8
+ 'cyan-400': '#14d4e0',
9
+ 'navy-900': '#0b1a3f',
10
+ 'navy-950': '#071233',
8
11
  'orange-500': '#f26b1d',
9
12
  'orange-600': '#d85a10',
10
13
  };
@@ -1,5 +1,6 @@
1
1
  export declare const fonts: {
2
2
  readonly sans: "\"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
3
+ readonly display: "\"Plus Jakarta Sans\", \"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif";
3
4
  readonly figures: "\"Inter Tabular\", \"Inter\", system-ui, sans-serif";
4
5
  readonly mono: "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace";
5
6
  };
@@ -63,6 +64,7 @@ export declare const tracking: {
63
64
  readonly tight: "-0.01em";
64
65
  readonly tighter: "-0.02em";
65
66
  readonly caps: "0.06em";
67
+ readonly 'caps-wide': "0.18em";
66
68
  };
67
69
  export declare const space: {
68
70
  readonly '0': 0;
@@ -79,9 +81,10 @@ export declare const space: {
79
81
  readonly '12': 48;
80
82
  };
81
83
  export declare const radii: {
82
- readonly sm: 4;
83
- readonly md: 8;
84
- readonly lg: 12;
84
+ readonly sm: 6;
85
+ readonly md: 10;
86
+ readonly lg: 16;
87
+ readonly xl: 20;
85
88
  readonly pill: 999;
86
89
  };
87
90
  export declare const sizes: {
@@ -106,6 +109,7 @@ export declare const sizesEm: {
106
109
  readonly 'input-sm': 10;
107
110
  };
108
111
  export declare const lines: {
112
+ readonly 'glass-blur': 16;
109
113
  readonly 'line-width': 1;
110
114
  readonly 'ring-width': 2;
111
115
  readonly 'ring-halo-width': 2;
@@ -139,3 +143,7 @@ export declare const patterns: {
139
143
  readonly 'gap-hatch': "repeating-linear-gradient(135deg, var(--fs-gap-hatch-tint) 0 6px, transparent 6px 14px)";
140
144
  readonly 'gap-hatch-sm': "repeating-linear-gradient(135deg, var(--fs-gap-hatch-tint) 0 5px, transparent 5px 11px)";
141
145
  };
146
+ export declare const gradients: {
147
+ readonly 'gradient-brand': "linear-gradient(135deg, var(--fs-brand-end), var(--fs-brand-start))";
148
+ readonly 'gradient-brand-soft': "linear-gradient(135deg, var(--fs-brand-wash-end), var(--fs-brand-wash-start))";
149
+ };