react-ecosphere 0.0.0-stage → 1.1.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 (151) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/LICENSE +21 -0
  3. package/README.md +126 -2
  4. package/dist/components/actions/EcoButton.d.ts +34 -0
  5. package/dist/components/actions/EcoIconButton.d.ts +43 -0
  6. package/dist/components/actions/EcoLink.d.ts +20 -0
  7. package/dist/components/actions/EcoSplitButton.d.ts +28 -0
  8. package/dist/components/actions/index.d.ts +8 -0
  9. package/dist/components/charts/ChartFrame.d.ts +33 -0
  10. package/dist/components/charts/EcoAreaChart.d.ts +38 -0
  11. package/dist/components/charts/EcoBarChart.d.ts +65 -0
  12. package/dist/components/charts/EcoBarList.d.ts +33 -0
  13. package/dist/components/charts/EcoChartTooltip.d.ts +28 -0
  14. package/dist/components/charts/EcoDivergingBarChart.d.ts +33 -0
  15. package/dist/components/charts/EcoDonutChart.d.ts +27 -0
  16. package/dist/components/charts/EcoLineChart.d.ts +35 -0
  17. package/dist/components/charts/EcoPieChart.d.ts +26 -0
  18. package/dist/components/charts/EcoRadarChart.d.ts +31 -0
  19. package/dist/components/charts/EcoStepLineChart.d.ts +31 -0
  20. package/dist/components/charts/index.d.ts +21 -0
  21. package/dist/components/charts/types.d.ts +99 -0
  22. package/dist/components/charts/useChart.d.ts +19 -0
  23. package/dist/components/charts/utils.d.ts +113 -0
  24. package/dist/components/data/EcoChecklist.d.ts +16 -0
  25. package/dist/components/data/EcoDataTable.d.ts +98 -0
  26. package/dist/components/data/EcoFindings.d.ts +15 -0
  27. package/dist/components/data/EcoKpi.d.ts +26 -0
  28. package/dist/components/data/EcoLeaderRow.d.ts +28 -0
  29. package/dist/components/data/EcoListRow.d.ts +51 -0
  30. package/dist/components/data/EcoListRows.d.ts +6 -0
  31. package/dist/components/data/EcoQuestionItem.d.ts +25 -0
  32. package/dist/components/data/EcoRowGroup.d.ts +29 -0
  33. package/dist/components/data/EcoRowItem.d.ts +31 -0
  34. package/dist/components/data/EcoSourceRow.d.ts +21 -0
  35. package/dist/components/data/EcoStat.d.ts +22 -0
  36. package/dist/components/data/EcoTable.d.ts +97 -0
  37. package/dist/components/data/EcoTaskRow.d.ts +37 -0
  38. package/dist/components/data/EcoTaskRows.d.ts +7 -0
  39. package/dist/components/data/EcoTimeline.d.ts +23 -0
  40. package/dist/components/data/EcoTreeTable.d.ts +43 -0
  41. package/dist/components/data/EcoTreeView.d.ts +46 -0
  42. package/dist/components/data/EcoTreeViewNode.d.ts +14 -0
  43. package/dist/components/data/EcoValueChange.d.ts +18 -0
  44. package/dist/components/data/index.d.ts +39 -0
  45. package/dist/components/data/treeContext.d.ts +17 -0
  46. package/dist/components/data/types.d.ts +175 -0
  47. package/dist/components/display/EcoAvatar.d.ts +19 -0
  48. package/dist/components/display/EcoBadge.d.ts +20 -0
  49. package/dist/components/display/EcoEmptyState.d.ts +28 -0
  50. package/dist/components/display/EcoKeyValue.d.ts +24 -0
  51. package/dist/components/display/EcoMeter.d.ts +21 -0
  52. package/dist/components/display/EcoPlaceholder.d.ts +19 -0
  53. package/dist/components/display/EcoPlanCard.d.ts +32 -0
  54. package/dist/components/display/EcoScore.d.ts +14 -0
  55. package/dist/components/display/EcoSkeleton.d.ts +32 -0
  56. package/dist/components/display/EcoTag.d.ts +8 -0
  57. package/dist/components/display/EcoTags.d.ts +9 -0
  58. package/dist/components/display/index.d.ts +23 -0
  59. package/dist/components/display/types.d.ts +17 -0
  60. package/dist/components/feedback/EcoComposeModal.d.ts +80 -0
  61. package/dist/components/feedback/EcoConfirmHost.d.ts +9 -0
  62. package/dist/components/feedback/EcoDialog.d.ts +58 -0
  63. package/dist/components/feedback/EcoDrawer.d.ts +41 -0
  64. package/dist/components/feedback/EcoMenu.d.ts +76 -0
  65. package/dist/components/feedback/EcoNotice.d.ts +38 -0
  66. package/dist/components/feedback/EcoNotifications.d.ts +52 -0
  67. package/dist/components/feedback/EcoSpinner.d.ts +29 -0
  68. package/dist/components/feedback/EcoToast.d.ts +35 -0
  69. package/dist/components/feedback/EcoToaster.d.ts +9 -0
  70. package/dist/components/feedback/EcoTooltip.d.ts +26 -0
  71. package/dist/components/feedback/index.d.ts +25 -0
  72. package/dist/components/feedback/types.d.ts +94 -0
  73. package/dist/components/feedback/useConfirm.d.ts +43 -0
  74. package/dist/components/feedback/useToast.d.ts +38 -0
  75. package/dist/components/forms/EcoCheckbox.d.ts +28 -0
  76. package/dist/components/forms/EcoCheckboxGroup.d.ts +27 -0
  77. package/dist/components/forms/EcoChoicePills.d.ts +27 -0
  78. package/dist/components/forms/EcoComposer.d.ts +45 -0
  79. package/dist/components/forms/EcoCycleSelect.d.ts +24 -0
  80. package/dist/components/forms/EcoDatePicker.d.ts +42 -0
  81. package/dist/components/forms/EcoEmailField.d.ts +13 -0
  82. package/dist/components/forms/EcoField.d.ts +34 -0
  83. package/dist/components/forms/EcoFieldGrid.d.ts +9 -0
  84. package/dist/components/forms/EcoFileUpload.d.ts +48 -0
  85. package/dist/components/forms/EcoNumberField.d.ts +27 -0
  86. package/dist/components/forms/EcoOtpField.d.ts +37 -0
  87. package/dist/components/forms/EcoPhoneField.d.ts +38 -0
  88. package/dist/components/forms/EcoSearchField.d.ts +36 -0
  89. package/dist/components/forms/EcoSegmented.d.ts +23 -0
  90. package/dist/components/forms/EcoSelect.d.ts +82 -0
  91. package/dist/components/forms/EcoSelectButton.d.ts +43 -0
  92. package/dist/components/forms/EcoSwitch.d.ts +34 -0
  93. package/dist/components/forms/EcoTextField.d.ts +32 -0
  94. package/dist/components/forms/EcoTextarea.d.ts +20 -0
  95. package/dist/components/forms/EcoTimePicker.d.ts +39 -0
  96. package/dist/components/forms/index.d.ts +43 -0
  97. package/dist/components/forms/types.d.ts +47 -0
  98. package/dist/components/general/EcoAuroraBackground.d.ts +13 -0
  99. package/dist/components/general/EcoIcon.d.ts +13 -0
  100. package/dist/components/general/index.d.ts +4 -0
  101. package/dist/components/index.d.ts +9 -0
  102. package/dist/components/layout/EcoAppShell.d.ts +46 -0
  103. package/dist/components/layout/EcoCard.d.ts +29 -0
  104. package/dist/components/layout/EcoDivider.d.ts +18 -0
  105. package/dist/components/layout/EcoHero.d.ts +40 -0
  106. package/dist/components/layout/EcoHeroPanelRow.d.ts +18 -0
  107. package/dist/components/layout/EcoMasthead.d.ts +31 -0
  108. package/dist/components/layout/EcoNavItem.d.ts +40 -0
  109. package/dist/components/layout/EcoNavSection.d.ts +11 -0
  110. package/dist/components/layout/EcoPageGrid.d.ts +13 -0
  111. package/dist/components/layout/EcoPageHeader.d.ts +20 -0
  112. package/dist/components/layout/EcoSection.d.ts +17 -0
  113. package/dist/components/layout/EcoThread.d.ts +66 -0
  114. package/dist/components/layout/EcoTimetable.d.ts +32 -0
  115. package/dist/components/layout/index.d.ts +27 -0
  116. package/dist/components/layout/types.d.ts +81 -0
  117. package/dist/components/navigation/EcoDisclosure.d.ts +29 -0
  118. package/dist/components/navigation/EcoDisclosureGroup.d.ts +14 -0
  119. package/dist/components/navigation/EcoFilterChips.d.ts +23 -0
  120. package/dist/components/navigation/EcoPagination.d.ts +40 -0
  121. package/dist/components/navigation/EcoProgressSteps.d.ts +24 -0
  122. package/dist/components/navigation/EcoTabs.d.ts +33 -0
  123. package/dist/components/navigation/disclosure.d.ts +9 -0
  124. package/dist/components/navigation/index.d.ts +13 -0
  125. package/dist/components/navigation/types.d.ts +66 -0
  126. package/dist/ecosphere.css +5789 -0
  127. package/dist/fonts/GoogleSans.woff2 +0 -0
  128. package/dist/fonts/fraunces-latin-ext-opsz-normal.woff2 +0 -0
  129. package/dist/fonts/fraunces-latin-opsz-normal.woff2 +0 -0
  130. package/dist/fonts/fraunces-vietnamese-opsz-normal.woff2 +0 -0
  131. package/dist/fonts/remixicon.woff2 +0 -0
  132. package/dist/hooks/index.d.ts +1 -0
  133. package/dist/hooks/useEcoId.d.ts +6 -0
  134. package/dist/index.d.ts +3 -0
  135. package/dist/internal/Portal.d.ts +8 -0
  136. package/dist/internal/attrs.d.ts +5 -0
  137. package/dist/internal/cx.d.ts +4 -0
  138. package/dist/internal/data-slot.d.ts +16 -0
  139. package/dist/internal/feedback-node.d.ts +8 -0
  140. package/dist/internal/feedback-value.d.ts +10 -0
  141. package/dist/internal/forms-hooks.d.ts +14 -0
  142. package/dist/internal/forms-popover.d.ts +11 -0
  143. package/dist/internal/layout-watch.d.ts +6 -0
  144. package/dist/internal/overlay.d.ts +28 -0
  145. package/dist/internal/useControllableState.d.ts +8 -0
  146. package/dist/internal/useIsClient.d.ts +5 -0
  147. package/dist/react-ecosphere.cjs +1 -0
  148. package/dist/react-ecosphere.js +8710 -0
  149. package/dist/tokens.json +690 -0
  150. package/dist/types.d.ts +15 -0
  151. package/package.json +66 -5
@@ -0,0 +1,690 @@
1
+ {
2
+ "version": 1,
3
+ "color": {
4
+ "themes": [
5
+ {
6
+ "id": "default",
7
+ "name": "Default"
8
+ },
9
+ {
10
+ "id": "body-rail",
11
+ "name": "Body Rail"
12
+ }
13
+ ],
14
+ "tokens": [
15
+ {
16
+ "name": "app-canvas",
17
+ "value": "#f6f7f9",
18
+ "usage": "Page and sidebar ground — a cool blue-gray a step off white (`body`, `.sidebar`, `.rowgroup__head`); also the cut-out ring on `.iconbtn__dot`."
19
+ },
20
+ {
21
+ "name": "surface",
22
+ "value": "#fbfcfe",
23
+ "usage": "The ground every card, menu, toast, input and table paints — a cool near-white rather than pure #ffffff, so no surface in the system reads warm."
24
+ },
25
+ {
26
+ "name": "surface-sunken",
27
+ "value": "#f2f5f9",
28
+ "usage": "Recessed well and hover fill, a cool blue-gray: `.listrow:hover`, `.empty__ico`, `.msg__w`, `.badge--neutral`, read-only controls."
29
+ },
30
+ {
31
+ "name": "surface-inverse",
32
+ "value": "#12202f",
33
+ "usage": "The one near-black for inverted surfaces. No rule uses it yet — reserved for inverted panels."
34
+ },
35
+ {
36
+ "name": "border",
37
+ "value": "#e4e8ee",
38
+ "usage": "Hairline rules and separators: `.menu`, the `.tabs` underline, `.menu__sep`, disabled edges. 1.2:1 on `surface` — a hairline, never a control boundary."
39
+ },
40
+ {
41
+ "name": "border-strong",
42
+ "value": "#d3d9e2",
43
+ "usage": "Resting 1px edge on interactive containers: `.input`, `.search__in`, `.btn--secondary`, `.check`, `.chip`. 1.4:1 on `surface`, under the 3:1 non-text floor — carried from the source."
44
+ },
45
+ {
46
+ "name": "border-focus",
47
+ "value": "#2c6fc8",
48
+ "usage": "Colour of the 2px `:focus-visible` outline (4.7:1 on `surface`); its only use."
49
+ },
50
+ {
51
+ "name": "text-primary",
52
+ "value": "#12202f",
53
+ "usage": "Default ink on `surface` and `app-canvas` (17.9:1): body copy, `.listrow__t`, `.tab.is-active`, tooltips."
54
+ },
55
+ {
56
+ "name": "text-secondary",
57
+ "value": "#5a6069",
58
+ "usage": "Second-rank text on `surface` and `surface-sunken` (6.7:1): `.subhead`, `.menu__opt`, `.btn--tertiary`, `.notice__b`."
59
+ },
60
+ {
61
+ "name": "text-muted",
62
+ "value": "#727578",
63
+ "usage": "Meta text and resting icons on `surface` and `surface-sunken`: `.eyebrow`, `.iconbtn`, `.tab`, `.listrow__meta`, placeholders. 3.7:1 / 3.4:1 — under 4.5:1; kept exactly as the source set it."
64
+ },
65
+ {
66
+ "name": "text-disabled",
67
+ "value": "#a2a5a8",
68
+ "usage": "Disabled ink on `surface` and `surface-sunken` (`.btn:disabled`, `.pg:disabled`) and inactive tab dots. 2.1:1 — disabled text, which WCAG exempts."
69
+ },
70
+ {
71
+ "name": "accent",
72
+ "value": "#1d57a6",
73
+ "usage": "The primary purple: fills `.btn--primary` (white ink, 11.5:1) and is accent ink on `surface` (11.5:1)."
74
+ },
75
+ {
76
+ "name": "accent-hover",
77
+ "value": "#16468a",
78
+ "usage": "Hover fill of `.btn--primary`, `.split-btn__c`, `.chatbox__send`; hover ink of `.link` on `surface`."
79
+ },
80
+ {
81
+ "name": "accent-press",
82
+ "value": "#193967",
83
+ "usage": "Pressed (`:active`) background of `.btn--primary`; its only use."
84
+ },
85
+ {
86
+ "name": "accent-quiet",
87
+ "value": "#2c6fc8",
88
+ "usage": "Focus border on `.input` and `.finder`, and quiet accent glyph ink on `surface` (5.8:1)."
89
+ },
90
+ {
91
+ "name": "accent-tint",
92
+ "value": "#edf2f9",
93
+ "usage": "Pale accent fill for quiet, non-selected states: `.avatar`, `.badge--accent`, `.tag`, `.cite`, `::selection`, own-message bubbles and the hover fill on an empty `.tpick` or `.slot`. Selection uses `brand-violet-tint`."
94
+ },
95
+ {
96
+ "name": "accent-tint-hi",
97
+ "value": "#dfe8f5",
98
+ "usage": "Hover fill for controls that already sit on a tint: `.chip__x`, `.ask__go`, `.aibtn`."
99
+ },
100
+ {
101
+ "name": "brand-violet",
102
+ "value": "#2c6fc8",
103
+ "usage": "The `.sidebar__glyph` monogram on the `app-canvas` sidebar; also the value behind `border-focus`."
104
+ },
105
+ {
106
+ "name": "success",
107
+ "value": "#2f6b52",
108
+ "usage": "Green status ink on `success-tint` (5.5:1) and on `surface`: `.badge--success`, `.stat__delta`, `.toast--success`."
109
+ },
110
+ {
111
+ "name": "success-tint",
112
+ "value": "#e9f1ec",
113
+ "usage": "Fill behind `.badge--success`."
114
+ },
115
+ {
116
+ "name": "warning",
117
+ "value": "#a8451b",
118
+ "usage": "Status ink for something that needs attention, on `warning-tint` (5.3:1) and on `surface` (6.0:1): `.badge--warning`, `.notice__i`, the `.notice` bar, `.toast--warning`. Rust, not amber — the palette carries no yellow."
119
+ },
120
+ {
121
+ "name": "warning-tint",
122
+ "value": "#edf1f7",
123
+ "usage": "Cool fill behind `.badge--warning` and the `.notice` limit block. Red stays reserved for real faults."
124
+ },
125
+ {
126
+ "name": "danger",
127
+ "value": "#9b2c4e",
128
+ "usage": "Destructive red: fills `.btn--danger` and is ink on `danger-tint` (6.4:1) for `.badge--danger`, `.req`, `.menu__opt--danger`."
129
+ },
130
+ {
131
+ "name": "danger-tint",
132
+ "value": "#fbebf0",
133
+ "usage": "Fill behind `.badge--danger` and `.menu__opt--danger:hover`."
134
+ },
135
+ {
136
+ "name": "info",
137
+ "value": "#1d57a6",
138
+ "usage": "Informational status — the accent value, because there is no blue in this palette. Used by `.toast--info`."
139
+ },
140
+ {
141
+ "name": "info-tint",
142
+ "value": "#e8f0fc",
143
+ "usage": "Informational tint beside the other status tints. No rule uses it yet."
144
+ },
145
+ {
146
+ "name": "p0",
147
+ "value": "#e8f0fc",
148
+ "usage": "Lightest of the six-step chart ramp; bound inline on `.segbar` segments and `.legend__dot`s (see Stat), not by any rule."
149
+ },
150
+ {
151
+ "name": "p1",
152
+ "value": "#bad4fd",
153
+ "usage": "Chart ramp step 2 of 6; bind it inline on `.segbar` segments and `.legend__dot`s, as the Stat card does."
154
+ },
155
+ {
156
+ "name": "p2",
157
+ "value": "#82b4fb",
158
+ "usage": "Chart ramp step 3 of 6; bind it inline on `.segbar` segments and `.legend__dot`s, as the Stat card does."
159
+ },
160
+ {
161
+ "name": "p3",
162
+ "value": "#5c97ea",
163
+ "usage": "Chart ramp step 4 of 6; bind it inline on `.segbar` segments and `.legend__dot`s, as the Stat card does."
164
+ },
165
+ {
166
+ "name": "p4",
167
+ "value": "#2c6fc8",
168
+ "usage": "Chart ramp step 5 of 6; bind it inline on `.segbar` segments and `.legend__dot`s, as the Stat card does."
169
+ },
170
+ {
171
+ "name": "p5",
172
+ "value": "#1d57a6",
173
+ "usage": "Darkest chart-ramp step (11.5:1 on `surface`): strokes `.plot .line`, fills `.plot .dot`, and leads the `.segbar`."
174
+ },
175
+ {
176
+ "name": "cat-1",
177
+ "value": "#1d57a6",
178
+ "usage": "Series slot 1 — violet. Assign the slots in order and never cycle them: colour follows the entity, not its rank. The six are the score-scale hues resequenced so neighbouring slots stay apart under deuteranopia and protanopia (worst adjacent pair ΔE 8.2, OKLab ×100, validated); they mean series identity here, not score."
179
+ },
180
+ {
181
+ "name": "cat-2",
182
+ "value": "#4a86dc",
183
+ "usage": "Series slot 2 — teal."
184
+ },
185
+ {
186
+ "name": "cat-3",
187
+ "value": "#193967",
188
+ "usage": "Series slot 3 — rose."
189
+ },
190
+ {
191
+ "name": "cat-4",
192
+ "value": "#82b4fb",
193
+ "usage": "Series slot 4 — blue."
194
+ },
195
+ {
196
+ "name": "cat-5",
197
+ "value": "#a2a5a8",
198
+ "usage": "Series slot 5 — rust."
199
+ },
200
+ {
201
+ "name": "cat-6",
202
+ "value": "#727578",
203
+ "usage": "Series slot 6 — green."
204
+ },
205
+ {
206
+ "name": "brand-violet-tint",
207
+ "value": "#e8f0fc",
208
+ "usage": "The system's selection fill: a selected table row (`.table tbody tr.is-sel`), the `.dtable__top` toolbar in its selected state, a chosen `.pill`, and the ring on `.plan--pick`. Cleaner than `accent-tint`, which is a low-chroma mauve-grey and reads as disabled across a whole row."
209
+ },
210
+ {
211
+ "name": "brand-violet-tint-hi",
212
+ "value": "#bad4fd",
213
+ "usage": "Deeper violet tint for hover on a violet ground. No rule uses it yet."
214
+ },
215
+ {
216
+ "name": "sc-1",
217
+ "value": "#1d57a6",
218
+ "usage": "Score step 1 (best) ink on `sc-1-t` inside `.sc1` (5.9:1); also fills the `.dot1` legend swatch."
219
+ },
220
+ {
221
+ "name": "sc-1-t",
222
+ "value": "#e8f0fc",
223
+ "usage": "Tint fill behind the `.sc1` score tag."
224
+ },
225
+ {
226
+ "name": "sc-1-b",
227
+ "value": "#bad4fd",
228
+ "usage": "Border of the `.sc1` score tag."
229
+ },
230
+ {
231
+ "name": "sc-2",
232
+ "value": "#193967",
233
+ "usage": "Score step 2 ink on `sc-2-t` inside `.sc2` (5.5:1); also fills the `.dot2` legend swatch."
234
+ },
235
+ {
236
+ "name": "sc-2-t",
237
+ "value": "#e3e9f2",
238
+ "usage": "Tint fill behind the `.sc2` score tag."
239
+ },
240
+ {
241
+ "name": "sc-2-b",
242
+ "value": "#b9c6d9",
243
+ "usage": "Border of the `.sc2` score tag."
244
+ },
245
+ {
246
+ "name": "sc-3",
247
+ "value": "#2765b8",
248
+ "usage": "Score step 3 ink on `sc-3-t` inside `.sc3`; also fills the `.dot3` legend swatch. 3.3:1 at 11.5px — under 4.5:1, kept as the source set it."
249
+ },
250
+ {
251
+ "name": "sc-3-t",
252
+ "value": "#edf4fd",
253
+ "usage": "Tint fill behind the `.sc3` score tag."
254
+ },
255
+ {
256
+ "name": "sc-3-b",
257
+ "value": "#c9ddf8",
258
+ "usage": "Border of the `.sc3` score tag."
259
+ },
260
+ {
261
+ "name": "sc-4",
262
+ "value": "#4b6584",
263
+ "usage": "Score step 4 ink on `sc-4-t` inside `.sc4`; also fills the `.dot4` legend swatch. 3.1:1 at 11.5px — under 4.5:1, kept as the source set it."
264
+ },
265
+ {
266
+ "name": "sc-4-t",
267
+ "value": "#eaeff5",
268
+ "usage": "Tint fill behind the `.sc4` score tag."
269
+ },
270
+ {
271
+ "name": "sc-4-b",
272
+ "value": "#c5d0dd",
273
+ "usage": "Border of the `.sc4` score tag."
274
+ },
275
+ {
276
+ "name": "sc-5",
277
+ "value": "#5a6069",
278
+ "usage": "Score step 5 ink on `sc-5-t` (5.1:1); also fills the `.dot5` legend swatch. Orange, the step between green and red."
279
+ },
280
+ {
281
+ "name": "sc-5-t",
282
+ "value": "#eef0f2",
283
+ "usage": "Tint fill behind the `.sc5` score tag."
284
+ },
285
+ {
286
+ "name": "sc-5-b",
287
+ "value": "#d3d6da",
288
+ "usage": "Border of the `.sc5` score tag."
289
+ },
290
+ {
291
+ "name": "sc-6",
292
+ "value": "#3d4a5c",
293
+ "usage": "Score step 6 (worst) ink on `sc-6-t` inside `.sc6`; also fills the `.dot6` legend swatch. 3.8:1 at 11.5px — under 4.5:1, kept as the source set it."
294
+ },
295
+ {
296
+ "name": "sc-6-t",
297
+ "value": "#ebedf0",
298
+ "usage": "Tint fill behind the `.sc6` score tag."
299
+ },
300
+ {
301
+ "name": "sc-6-b",
302
+ "value": "#c3c8d0",
303
+ "usage": "Border of the `.sc6` score tag."
304
+ },
305
+ {
306
+ "name": "text-on-accent",
307
+ "value": "#ffffff",
308
+ "usage": "White ink for text on an accent fill (11.5:1 on `accent`). `.btn--primary` still hardcodes `#fff`; use this token in new work."
309
+ },
310
+ {
311
+ "name": "text-accent",
312
+ "value": "#1d57a6",
313
+ "usage": "Accent-coloured text on `surface` (11.5:1), same value as `accent`. No rule uses it yet; prefer it for accent ink."
314
+ },
315
+ {
316
+ "name": "veil",
317
+ "value": "rgba(246,247,249,.88)",
318
+ "usage": "`app-canvas` at 88% — the frosted ground of the sticky `.mast`, which blurs the page scrolling under it. A literal rgba because a colour cannot be made translucent by reference; it tracks `app-canvas` by hand."
319
+ },
320
+ {
321
+ "name": "scrim",
322
+ "value": "rgba(14,37,71,.5)",
323
+ "usage": "The dim behind a modal: `.dlgscrim` and `.dscrim`. Darker and more saturated than `surface-inverse` so the dialog reads as lit from in front."
324
+ },
325
+ {
326
+ "name": "ink-plate",
327
+ "value": "rgba(18,32,47,.78)",
328
+ "usage": "`text-primary` at 78% — the caption plate laid over imagery, as in `.scan__cap`. White ink on it clears 4.5:1 against any image beneath."
329
+ },
330
+ {
331
+ "name": "tint-today",
332
+ "value": "rgba(44,111,200,.05)",
333
+ "usage": "`accent-quiet` at 5% — the wash marking today's column in `.tt`. Faint enough that an event sitting on it is unchanged."
334
+ }
335
+ ]
336
+ },
337
+ "type": {
338
+ "fonts": [
339
+ {
340
+ "family": "Google Sans",
341
+ "file": "fonts/GoogleSans.woff2",
342
+ "weight": "400 700",
343
+ "style": "normal"
344
+ },
345
+ {
346
+ "family": "remixicon",
347
+ "file": "fonts/remixicon.woff2",
348
+ "weight": "400",
349
+ "style": "normal"
350
+ }
351
+ ],
352
+ "families": {
353
+ "display": "'Fraunces',Georgia,'Times New Roman',serif",
354
+ "num": "'Google Sans','Helvetica Neue',Arial,sans-serif",
355
+ "ui": "'Google Sans','Helvetica Neue',Arial,sans-serif"
356
+ },
357
+ "groups": [
358
+ {
359
+ "name": "Type styles",
360
+ "family": "ui",
361
+ "styles": [
362
+ {
363
+ "name": "body",
364
+ "fontSize": "14px",
365
+ "lineHeight": "1.55",
366
+ "fontWeight": "400",
367
+ "family": "ui",
368
+ "usage": "Default body copy — set on `body`; `.body` applies it explicitly."
369
+ },
370
+ {
371
+ "name": "eyebrow",
372
+ "fontSize": "10.5px",
373
+ "lineHeight": "1",
374
+ "fontWeight": "500",
375
+ "letterSpacing": "0.14em",
376
+ "family": "ui",
377
+ "usage": "Uppercase label above a heading (`.eyebrow`), once per page."
378
+ },
379
+ {
380
+ "name": "display-1",
381
+ "fontSize": "40px",
382
+ "lineHeight": "1.1",
383
+ "fontWeight": "400",
384
+ "letterSpacing": "-0.016em",
385
+ "family": "display",
386
+ "usage": "Page and hero headline (`.display-1`), Fraunces through `--font-display`."
387
+ },
388
+ {
389
+ "name": "display-2",
390
+ "fontSize": "28px",
391
+ "lineHeight": "1.16",
392
+ "fontWeight": "400",
393
+ "letterSpacing": "-0.012em",
394
+ "family": "display",
395
+ "usage": "Section headline (`.display-2`)."
396
+ },
397
+ {
398
+ "name": "display-3",
399
+ "fontSize": "20px",
400
+ "lineHeight": "1.25",
401
+ "fontWeight": "400",
402
+ "letterSpacing": "-0.008em",
403
+ "family": "display",
404
+ "usage": "Card and block heading (`.display-3`); pair it with `body`."
405
+ },
406
+ {
407
+ "name": "subhead",
408
+ "fontSize": "15px",
409
+ "lineHeight": "1.6",
410
+ "fontWeight": "400",
411
+ "letterSpacing": "-0.003em",
412
+ "family": "ui",
413
+ "usage": "The line under a display heading (`.subhead`)."
414
+ },
415
+ {
416
+ "name": "body-sm",
417
+ "fontSize": "13px",
418
+ "lineHeight": "1.6",
419
+ "fontWeight": "400",
420
+ "family": "ui",
421
+ "usage": "Dense rows and secondary text (`.body-sm`)."
422
+ },
423
+ {
424
+ "name": "caption",
425
+ "fontSize": "12px",
426
+ "lineHeight": "1.45",
427
+ "fontWeight": "400",
428
+ "family": "ui",
429
+ "usage": "Smallest supporting text (`.caption`)."
430
+ }
431
+ ]
432
+ }
433
+ ]
434
+ },
435
+ "spacing": {
436
+ "tokens": [
437
+ {
438
+ "name": "ring-w",
439
+ "value": "3px",
440
+ "usage": "3px focus-halo width. Not referenced — the width is baked into the `ring` shadow value."
441
+ },
442
+ {
443
+ "name": "ring-clear",
444
+ "value": "6px",
445
+ "usage": "6px of clearance kept around a focus halo. Not referenced by any rule."
446
+ },
447
+ {
448
+ "name": "gap-card",
449
+ "value": "16px",
450
+ "usage": "16px between cards in a grid. Not used inside bundle.css — it is for your own layout glue."
451
+ },
452
+ {
453
+ "name": "gap-section",
454
+ "value": "32px",
455
+ "usage": "32px between page sections. Not used inside bundle.css — it is for your own layout glue."
456
+ },
457
+ {
458
+ "name": "gap-inline",
459
+ "value": "8px",
460
+ "usage": "8px between controls in a row; used by `.filters`. The default gap for your own inline glue."
461
+ },
462
+ {
463
+ "name": "sidebar-w",
464
+ "value": "248px",
465
+ "usage": "Sidebar width: `.sidebar{width}` and the matching `.main{padding-left}`."
466
+ },
467
+ {
468
+ "name": "sidebar-w-min",
469
+ "value": "64px",
470
+ "usage": "Collapsed rail width; `body[data-rail]` re-points `--sidebar-w` at it."
471
+ },
472
+ {
473
+ "name": "topbar-h",
474
+ "value": "64px",
475
+ "usage": "`.topbar` height, and the top offset of `.notif` on narrow screens."
476
+ },
477
+ {
478
+ "name": "content-max",
479
+ "value": "1400px",
480
+ "usage": "`max-width` of `.work`, the main content column."
481
+ },
482
+ {
483
+ "name": "page-x",
484
+ "value": "32px",
485
+ "usage": "Horizontal page gutter: `.topbar`, `.work`, `.work__top`, `.listpane`, `.toasts`."
486
+ },
487
+ {
488
+ "name": "row-h",
489
+ "value": "56px",
490
+ "usage": "Intended list-row height. `.listrow` hardcodes `height:56px` instead — use the token in new rows."
491
+ },
492
+ {
493
+ "name": "rail-w",
494
+ "value": "346px",
495
+ "usage": "Right-hand rail width. Declared, not referenced by any rule."
496
+ },
497
+ {
498
+ "name": "charts-h",
499
+ "value": "250px",
500
+ "usage": "Chart block height. Declared, not referenced by any rule."
501
+ },
502
+ {
503
+ "name": "recent-h",
504
+ "value": "434px",
505
+ "usage": "Recent-list height. Declared, not referenced by any rule."
506
+ },
507
+ {
508
+ "name": "gap-control",
509
+ "value": "18px",
510
+ "usage": "18px above a control row (`.filters` margin-top)."
511
+ },
512
+ {
513
+ "name": "sp-2",
514
+ "value": "2px",
515
+ "usage": "2px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
516
+ },
517
+ {
518
+ "name": "sp-4",
519
+ "value": "4px",
520
+ "usage": "4px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
521
+ },
522
+ {
523
+ "name": "sp-6",
524
+ "value": "6px",
525
+ "usage": "6px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
526
+ },
527
+ {
528
+ "name": "sp-8",
529
+ "value": "8px",
530
+ "usage": "8px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
531
+ },
532
+ {
533
+ "name": "sp-12",
534
+ "value": "12px",
535
+ "usage": "12px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
536
+ },
537
+ {
538
+ "name": "sp-16",
539
+ "value": "16px",
540
+ "usage": "16px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
541
+ },
542
+ {
543
+ "name": "sp-20",
544
+ "value": "20px",
545
+ "usage": "20px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
546
+ },
547
+ {
548
+ "name": "sp-24",
549
+ "value": "24px",
550
+ "usage": "24px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
551
+ },
552
+ {
553
+ "name": "sp-32",
554
+ "value": "32px",
555
+ "usage": "32px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
556
+ },
557
+ {
558
+ "name": "sp-40",
559
+ "value": "40px",
560
+ "usage": "40px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
561
+ },
562
+ {
563
+ "name": "sp-56",
564
+ "value": "56px",
565
+ "usage": "56px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
566
+ },
567
+ {
568
+ "name": "sp-80",
569
+ "value": "80px",
570
+ "usage": "80px step of the spacing scale. Component rules write literal px, so use the scale in your own layout."
571
+ },
572
+ {
573
+ "name": "sidebar-w-collapsed",
574
+ "value": "64px",
575
+ "usage": "Duplicate of `sidebar-w-min`; nothing reads it — prefer `sidebar-w-min`."
576
+ },
577
+ {
578
+ "name": "cut-r",
579
+ "value": "16px",
580
+ "usage": "Cut-corner radius. Declared, not referenced by any rule."
581
+ },
582
+ {
583
+ "name": "tip-w",
584
+ "value": "352px",
585
+ "usage": "Intended tooltip width; the tooltip caps itself at 240px, so nothing reads this."
586
+ }
587
+ ]
588
+ },
589
+ "radius": {
590
+ "tokens": [
591
+ {
592
+ "name": "r-xs",
593
+ "value": "6px",
594
+ "usage": "6px — `.legend__row`, `.skel`."
595
+ },
596
+ {
597
+ "name": "r-sm",
598
+ "value": "10px",
599
+ "usage": "10px — `.menu__opt`, `.nav-item`, `.tl__tile`, tooltips, the rail hover label, `.rangebtn`."
600
+ },
601
+ {
602
+ "name": "r-md",
603
+ "value": "12px",
604
+ "usage": "12px — `.listrow`, `.notice`, `.input`, `.msg__w`, `.railbtn`, `.toast`, `.nrow`, `.urow`, `.prow`."
605
+ },
606
+ {
607
+ "name": "r-lg",
608
+ "value": "18px",
609
+ "usage": "18px — cards and panels: `.card`, `.panel`, `.menu`, `.taskrow`, `.taskrows`."
610
+ },
611
+ {
612
+ "name": "r-xl",
613
+ "value": "24px",
614
+ "usage": "24px — large overlays: `.cmodal`, `.dlg`, `.drawer`, `.notif`, `.hero`."
615
+ },
616
+ {
617
+ "name": "r-pill",
618
+ "value": "999px",
619
+ "usage": "999px — fully round: `.btn`, `.iconbtn`, `.badge`, `.score`, `.tag`, `.search__in`, `.pg`, `.finder`."
620
+ }
621
+ ]
622
+ },
623
+ "shadow": {
624
+ "tokens": [
625
+ {
626
+ "name": "el-rest",
627
+ "value": "0 1px 2px rgba(18,32,47,.04), 0 8px 24px -16px rgba(18,32,47,.14)",
628
+ "usage": "The resting card shadow — `.card` only. Resting cards carry this and never lift on hover."
629
+ },
630
+ {
631
+ "name": "el-popover",
632
+ "value": "0 12px 34px rgba(18,32,47,.10), 0 1px 2px rgba(18,32,47,.05)",
633
+ "usage": "Floating layer: `.menu`, tooltips, `.toast`, `.notif`, the rail label, the mobile `.sidebar`."
634
+ },
635
+ {
636
+ "name": "el-modal",
637
+ "value": "0 34px 90px -30px rgba(12,22,34,.34), 0 2px 6px rgba(18,32,47,.06)",
638
+ "usage": "Deep modal shadow: `.cmodal`, `.dlg`, `.drawer`."
639
+ },
640
+ {
641
+ "name": "el-drag",
642
+ "value": "0 20px 48px rgba(18,32,47,.14)",
643
+ "usage": "Shadow for a dragged element. Declared, not referenced by any rule."
644
+ }
645
+ ]
646
+ },
647
+ "motion": {
648
+ "tokens": [
649
+ {
650
+ "name": "dur-hover",
651
+ "value": "180ms",
652
+ "usage": "180ms — the default hover and colour transition, and the most-used motion token."
653
+ },
654
+ {
655
+ "name": "dur-state",
656
+ "value": "340ms",
657
+ "usage": "340ms — larger state changes: the split pane opening, modal, scrim, toast, drawer."
658
+ },
659
+ {
660
+ "name": "dur-enter",
661
+ "value": "620ms",
662
+ "usage": "620ms for content entering. Declared, not referenced by any rule."
663
+ },
664
+ {
665
+ "name": "ease-ui",
666
+ "value": "cubic-bezier(.22,.61,.36,1)",
667
+ "usage": "The default UI curve, paired with the duration tokens in every transition."
668
+ },
669
+ {
670
+ "name": "ease-out",
671
+ "value": "cubic-bezier(.22,.61,.2,1)",
672
+ "usage": "Curve for surfaces that enter or slide: `.detail__in`, `.profpane__in`, `.sidebar`, `.drawer`."
673
+ }
674
+ ]
675
+ },
676
+ "other": {
677
+ "tokens": [
678
+ {
679
+ "name": "ring",
680
+ "value": "0 0 0 3px rgba(44,111,200,.16)",
681
+ "usage": "The violet focus halo on text controls: `.input:focus`, `.search__in:focus`, `.finder:focus-within`."
682
+ },
683
+ {
684
+ "name": "ring-danger",
685
+ "value": "0 0 0 3px rgba(155,44,78,.14)",
686
+ "usage": "Red counterpart of `ring` for an invalid field. Declared, not referenced by any rule."
687
+ }
688
+ ]
689
+ }
690
+ }