@northstar-js/tokens 0.0.0-stage → 0.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.
- package/LICENSE +21 -0
- package/dist/index.d.ts +314 -0
- package/dist/index.js +308 -0
- package/dist/tailwind.css +80 -0
- package/dist/tokens.css +216 -0
- package/dist/tokens.json +305 -0
- package/package.json +40 -3
- package/src/component.json +10 -0
- package/src/primitive.json +38 -0
- package/src/scales.json +132 -0
- package/src/semantic.day.json +52 -0
- package/src/semantic.night.json +53 -0
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ali Amaan
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
// Generated. Do not edit.
|
|
2
|
+
declare const data: {
|
|
3
|
+
"primitive": {
|
|
4
|
+
"gray.0": "#FFFFFF",
|
|
5
|
+
"gray.1": "#F8F9FA",
|
|
6
|
+
"gray.2": "#F1F3F5",
|
|
7
|
+
"gray.3": "#E9ECEF",
|
|
8
|
+
"gray.4": "#E6E8EB",
|
|
9
|
+
"gray.5": "#D4D8DD",
|
|
10
|
+
"gray.6": "#656A75",
|
|
11
|
+
"gray.7": "#464C56",
|
|
12
|
+
"gray.8": "#06080C",
|
|
13
|
+
"night.0": "#08090C",
|
|
14
|
+
"night.1": "#0D0F13",
|
|
15
|
+
"night.2": "#14161B",
|
|
16
|
+
"night.3": "#1B1E24",
|
|
17
|
+
"night.4": "#1E2128",
|
|
18
|
+
"night.5": "#2B2F38",
|
|
19
|
+
"night.6": "#848A94",
|
|
20
|
+
"night.7": "#A9AEB8",
|
|
21
|
+
"night.8": "#E8EAEE",
|
|
22
|
+
"glacier.100": "#EDF3FB",
|
|
23
|
+
"glacier.200": "#B9CEEA",
|
|
24
|
+
"glacier.300": "#93B4E0",
|
|
25
|
+
"glacier.700": "#2F5D9A",
|
|
26
|
+
"glacier.alpha-12": "rgba(147, 180, 224, 0.12)",
|
|
27
|
+
"glacier.alpha-35": "rgba(147, 180, 224, 0.35)"
|
|
28
|
+
},
|
|
29
|
+
"scales": {
|
|
30
|
+
"font.family.ui": "Inter, ui-sans-serif, system-ui, sans-serif",
|
|
31
|
+
"font.family.mono": "'IBM Plex Mono', ui-monospace, monospace",
|
|
32
|
+
"font.weight.regular": "400",
|
|
33
|
+
"font.weight.medium": "500",
|
|
34
|
+
"font.weight.semibold": "600",
|
|
35
|
+
"font.size.11": "11px",
|
|
36
|
+
"font.size.12": "12px",
|
|
37
|
+
"font.size.13": "13px",
|
|
38
|
+
"font.size.15": "15px",
|
|
39
|
+
"font.size.18": "18px",
|
|
40
|
+
"font.size.24": "24px",
|
|
41
|
+
"font.size.32": "32px",
|
|
42
|
+
"font.size.48": "48px",
|
|
43
|
+
"font.size.base": "13px",
|
|
44
|
+
"font.line-height.11": "16px",
|
|
45
|
+
"font.line-height.12": "18px",
|
|
46
|
+
"font.line-height.13": "20px",
|
|
47
|
+
"font.line-height.15": "22px",
|
|
48
|
+
"font.line-height.18": "26px",
|
|
49
|
+
"font.line-height.24": "32px",
|
|
50
|
+
"font.line-height.32": "40px",
|
|
51
|
+
"font.line-height.48": "52px",
|
|
52
|
+
"font.numeric.figures": "tabular-nums",
|
|
53
|
+
"space.2": "2px",
|
|
54
|
+
"space.4": "4px",
|
|
55
|
+
"space.6": "6px",
|
|
56
|
+
"space.8": "8px",
|
|
57
|
+
"space.12": "12px",
|
|
58
|
+
"space.16": "16px",
|
|
59
|
+
"space.20": "20px",
|
|
60
|
+
"space.24": "24px",
|
|
61
|
+
"space.32": "32px",
|
|
62
|
+
"space.40": "40px",
|
|
63
|
+
"space.48": "48px",
|
|
64
|
+
"space.64": "64px",
|
|
65
|
+
"size.control.sm": "28px",
|
|
66
|
+
"size.control.md": "32px",
|
|
67
|
+
"size.control.lg": "36px",
|
|
68
|
+
"size.control.xl": "44px",
|
|
69
|
+
"size.row.sm": "32px",
|
|
70
|
+
"size.row.md": "36px",
|
|
71
|
+
"size.row.lg": "40px",
|
|
72
|
+
"size.icon.sm": "16px",
|
|
73
|
+
"size.icon.md": "20px",
|
|
74
|
+
"size.icon.lg": "24px",
|
|
75
|
+
"size.target.coarse": "44px",
|
|
76
|
+
"density.compact.control-height": "28px",
|
|
77
|
+
"density.compact.row-height": "32px",
|
|
78
|
+
"density.compact.row-padding": "4px",
|
|
79
|
+
"density.default.control-height": "32px",
|
|
80
|
+
"density.default.row-height": "36px",
|
|
81
|
+
"density.default.row-padding": "6px",
|
|
82
|
+
"density.comfortable.control-height": "36px",
|
|
83
|
+
"density.comfortable.row-height": "40px",
|
|
84
|
+
"density.comfortable.row-padding": "8px",
|
|
85
|
+
"radius.4": "4px",
|
|
86
|
+
"radius.6": "6px",
|
|
87
|
+
"radius.8": "8px",
|
|
88
|
+
"radius.12": "12px",
|
|
89
|
+
"radius.full": "9999px",
|
|
90
|
+
"z.banner": "30",
|
|
91
|
+
"z.dropdown": "40",
|
|
92
|
+
"z.popover": "50",
|
|
93
|
+
"z.sheet": "60",
|
|
94
|
+
"z.dialog": "70",
|
|
95
|
+
"z.toast": "80",
|
|
96
|
+
"z.tooltip": "90",
|
|
97
|
+
"motion.duration.120": "120ms",
|
|
98
|
+
"motion.duration.200": "200ms",
|
|
99
|
+
"motion.duration.320": "320ms",
|
|
100
|
+
"motion.duration.600": "600ms",
|
|
101
|
+
"motion.easing.settle": "cubic-bezier(0.2, 0, 0, 1)",
|
|
102
|
+
"motion.easing.enter": "cubic-bezier(0, 0, 0.2, 1)",
|
|
103
|
+
"motion.easing.travel": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
104
|
+
"motion.easing.exit": "cubic-bezier(0.4, 0, 1, 1)"
|
|
105
|
+
},
|
|
106
|
+
"themes": {
|
|
107
|
+
"night": {
|
|
108
|
+
"color.ground": "#08090C",
|
|
109
|
+
"color.surface.1": "#0D0F13",
|
|
110
|
+
"color.surface.2": "#14161B",
|
|
111
|
+
"color.surface.3": "#1B1E24",
|
|
112
|
+
"color.line.1": "#1E2128",
|
|
113
|
+
"color.line.2": "#2B2F38",
|
|
114
|
+
"color.text.1": "#E8EAEE",
|
|
115
|
+
"color.text.2": "#A9AEB8",
|
|
116
|
+
"color.text.3": "#848A94",
|
|
117
|
+
"color.signal.default": "#93B4E0",
|
|
118
|
+
"color.signal.fill": "#93B4E0",
|
|
119
|
+
"color.signal.wash": "rgba(147, 180, 224, 0.12)",
|
|
120
|
+
"color.signal.edge": "#93B4E0",
|
|
121
|
+
"color.focus.default": "#93B4E0",
|
|
122
|
+
"color.focus.halo": "transparent",
|
|
123
|
+
"color.data.star": "#E8EAEE",
|
|
124
|
+
"color.data.node": "#93B4E0",
|
|
125
|
+
"color.data.band": "rgba(147, 180, 224, 0.35)",
|
|
126
|
+
"color.data.horizon": "#93B4E0",
|
|
127
|
+
"color.data.meridian": "#2B2F38",
|
|
128
|
+
"color.data.graticule": "#1E2128",
|
|
129
|
+
"color.data.likert.1": "#2B2F38",
|
|
130
|
+
"color.data.likert.2": "#848A94",
|
|
131
|
+
"color.data.likert.3": "#A9AEB8",
|
|
132
|
+
"color.data.likert.4": "#93B4E0",
|
|
133
|
+
"color.data.likert.5": "#EDF3FB",
|
|
134
|
+
"elevation.1": "none",
|
|
135
|
+
"elevation.2": "none",
|
|
136
|
+
"elevation.3": "none",
|
|
137
|
+
"button.primary.bg": "#93B4E0",
|
|
138
|
+
"button.primary.fg": "#06080C"
|
|
139
|
+
},
|
|
140
|
+
"day": {
|
|
141
|
+
"color.ground": "#FFFFFF",
|
|
142
|
+
"color.surface.1": "#F8F9FA",
|
|
143
|
+
"color.surface.2": "#F1F3F5",
|
|
144
|
+
"color.surface.3": "#E9ECEF",
|
|
145
|
+
"color.line.1": "#E6E8EB",
|
|
146
|
+
"color.line.2": "#D4D8DD",
|
|
147
|
+
"color.text.1": "#06080C",
|
|
148
|
+
"color.text.2": "#464C56",
|
|
149
|
+
"color.text.3": "#656A75",
|
|
150
|
+
"color.signal.default": "#2F5D9A",
|
|
151
|
+
"color.signal.fill": "#93B4E0",
|
|
152
|
+
"color.signal.wash": "#EDF3FB",
|
|
153
|
+
"color.signal.edge": "#B9CEEA",
|
|
154
|
+
"color.focus.default": "#2F5D9A",
|
|
155
|
+
"color.focus.halo": "rgba(147, 180, 224, 0.35)",
|
|
156
|
+
"color.data.star": "#06080C",
|
|
157
|
+
"color.data.node": "#2F5D9A",
|
|
158
|
+
"color.data.band": "rgba(147, 180, 224, 0.35)",
|
|
159
|
+
"color.data.horizon": "#2F5D9A",
|
|
160
|
+
"color.data.meridian": "#D4D8DD",
|
|
161
|
+
"color.data.graticule": "#E6E8EB",
|
|
162
|
+
"color.data.likert.1": "#E6E8EB",
|
|
163
|
+
"color.data.likert.2": "#D4D8DD",
|
|
164
|
+
"color.data.likert.3": "#B9CEEA",
|
|
165
|
+
"color.data.likert.4": "#93B4E0",
|
|
166
|
+
"color.data.likert.5": "#2F5D9A",
|
|
167
|
+
"elevation.1": "0 1px 2px rgba(6, 8, 12, 0.06)",
|
|
168
|
+
"elevation.2": "0 4px 12px rgba(6, 8, 12, 0.08)",
|
|
169
|
+
"elevation.3": "0 12px 32px rgba(6, 8, 12, 0.12)",
|
|
170
|
+
"button.primary.bg": "#93B4E0",
|
|
171
|
+
"button.primary.fg": "#06080C"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"cssVar": {
|
|
175
|
+
"gray.0": "--ns-gray-0",
|
|
176
|
+
"gray.1": "--ns-gray-1",
|
|
177
|
+
"gray.2": "--ns-gray-2",
|
|
178
|
+
"gray.3": "--ns-gray-3",
|
|
179
|
+
"gray.4": "--ns-gray-4",
|
|
180
|
+
"gray.5": "--ns-gray-5",
|
|
181
|
+
"gray.6": "--ns-gray-6",
|
|
182
|
+
"gray.7": "--ns-gray-7",
|
|
183
|
+
"gray.8": "--ns-gray-8",
|
|
184
|
+
"night.0": "--ns-night-0",
|
|
185
|
+
"night.1": "--ns-night-1",
|
|
186
|
+
"night.2": "--ns-night-2",
|
|
187
|
+
"night.3": "--ns-night-3",
|
|
188
|
+
"night.4": "--ns-night-4",
|
|
189
|
+
"night.5": "--ns-night-5",
|
|
190
|
+
"night.6": "--ns-night-6",
|
|
191
|
+
"night.7": "--ns-night-7",
|
|
192
|
+
"night.8": "--ns-night-8",
|
|
193
|
+
"glacier.100": "--ns-glacier-100",
|
|
194
|
+
"glacier.200": "--ns-glacier-200",
|
|
195
|
+
"glacier.300": "--ns-glacier-300",
|
|
196
|
+
"glacier.700": "--ns-glacier-700",
|
|
197
|
+
"glacier.alpha-12": "--ns-glacier-alpha-12",
|
|
198
|
+
"glacier.alpha-35": "--ns-glacier-alpha-35",
|
|
199
|
+
"font.family.ui": "--ns-font-family-ui",
|
|
200
|
+
"font.family.mono": "--ns-font-family-mono",
|
|
201
|
+
"font.weight.regular": "--ns-font-weight-regular",
|
|
202
|
+
"font.weight.medium": "--ns-font-weight-medium",
|
|
203
|
+
"font.weight.semibold": "--ns-font-weight-semibold",
|
|
204
|
+
"font.size.11": "--ns-font-size-11",
|
|
205
|
+
"font.size.12": "--ns-font-size-12",
|
|
206
|
+
"font.size.13": "--ns-font-size-13",
|
|
207
|
+
"font.size.15": "--ns-font-size-15",
|
|
208
|
+
"font.size.18": "--ns-font-size-18",
|
|
209
|
+
"font.size.24": "--ns-font-size-24",
|
|
210
|
+
"font.size.32": "--ns-font-size-32",
|
|
211
|
+
"font.size.48": "--ns-font-size-48",
|
|
212
|
+
"font.size.base": "--ns-font-size-base",
|
|
213
|
+
"font.line-height.11": "--ns-font-line-height-11",
|
|
214
|
+
"font.line-height.12": "--ns-font-line-height-12",
|
|
215
|
+
"font.line-height.13": "--ns-font-line-height-13",
|
|
216
|
+
"font.line-height.15": "--ns-font-line-height-15",
|
|
217
|
+
"font.line-height.18": "--ns-font-line-height-18",
|
|
218
|
+
"font.line-height.24": "--ns-font-line-height-24",
|
|
219
|
+
"font.line-height.32": "--ns-font-line-height-32",
|
|
220
|
+
"font.line-height.48": "--ns-font-line-height-48",
|
|
221
|
+
"font.numeric.figures": "--ns-font-numeric-figures",
|
|
222
|
+
"space.2": "--ns-space-2",
|
|
223
|
+
"space.4": "--ns-space-4",
|
|
224
|
+
"space.6": "--ns-space-6",
|
|
225
|
+
"space.8": "--ns-space-8",
|
|
226
|
+
"space.12": "--ns-space-12",
|
|
227
|
+
"space.16": "--ns-space-16",
|
|
228
|
+
"space.20": "--ns-space-20",
|
|
229
|
+
"space.24": "--ns-space-24",
|
|
230
|
+
"space.32": "--ns-space-32",
|
|
231
|
+
"space.40": "--ns-space-40",
|
|
232
|
+
"space.48": "--ns-space-48",
|
|
233
|
+
"space.64": "--ns-space-64",
|
|
234
|
+
"size.control.sm": "--ns-size-control-sm",
|
|
235
|
+
"size.control.md": "--ns-size-control-md",
|
|
236
|
+
"size.control.lg": "--ns-size-control-lg",
|
|
237
|
+
"size.control.xl": "--ns-size-control-xl",
|
|
238
|
+
"size.row.sm": "--ns-size-row-sm",
|
|
239
|
+
"size.row.md": "--ns-size-row-md",
|
|
240
|
+
"size.row.lg": "--ns-size-row-lg",
|
|
241
|
+
"size.icon.sm": "--ns-size-icon-sm",
|
|
242
|
+
"size.icon.md": "--ns-size-icon-md",
|
|
243
|
+
"size.icon.lg": "--ns-size-icon-lg",
|
|
244
|
+
"size.target.coarse": "--ns-size-target-coarse",
|
|
245
|
+
"density.compact.control-height": "--ns-density-compact-control-height",
|
|
246
|
+
"density.compact.row-height": "--ns-density-compact-row-height",
|
|
247
|
+
"density.compact.row-padding": "--ns-density-compact-row-padding",
|
|
248
|
+
"density.default.control-height": "--ns-density-control-height",
|
|
249
|
+
"density.default.row-height": "--ns-density-row-height",
|
|
250
|
+
"density.default.row-padding": "--ns-density-row-padding",
|
|
251
|
+
"density.comfortable.control-height": "--ns-density-comfortable-control-height",
|
|
252
|
+
"density.comfortable.row-height": "--ns-density-comfortable-row-height",
|
|
253
|
+
"density.comfortable.row-padding": "--ns-density-comfortable-row-padding",
|
|
254
|
+
"radius.4": "--ns-radius-4",
|
|
255
|
+
"radius.6": "--ns-radius-6",
|
|
256
|
+
"radius.8": "--ns-radius-8",
|
|
257
|
+
"radius.12": "--ns-radius-12",
|
|
258
|
+
"radius.full": "--ns-radius-full",
|
|
259
|
+
"z.banner": "--ns-z-banner",
|
|
260
|
+
"z.dropdown": "--ns-z-dropdown",
|
|
261
|
+
"z.popover": "--ns-z-popover",
|
|
262
|
+
"z.sheet": "--ns-z-sheet",
|
|
263
|
+
"z.dialog": "--ns-z-dialog",
|
|
264
|
+
"z.toast": "--ns-z-toast",
|
|
265
|
+
"z.tooltip": "--ns-z-tooltip",
|
|
266
|
+
"motion.duration.120": "--ns-motion-duration-120",
|
|
267
|
+
"motion.duration.200": "--ns-motion-duration-200",
|
|
268
|
+
"motion.duration.320": "--ns-motion-duration-320",
|
|
269
|
+
"motion.duration.600": "--ns-motion-duration-600",
|
|
270
|
+
"motion.easing.settle": "--ns-motion-easing-settle",
|
|
271
|
+
"motion.easing.enter": "--ns-motion-easing-enter",
|
|
272
|
+
"motion.easing.travel": "--ns-motion-easing-travel",
|
|
273
|
+
"motion.easing.exit": "--ns-motion-easing-exit",
|
|
274
|
+
"color.ground": "--ns-color-ground",
|
|
275
|
+
"color.surface.1": "--ns-color-surface-1",
|
|
276
|
+
"color.surface.2": "--ns-color-surface-2",
|
|
277
|
+
"color.surface.3": "--ns-color-surface-3",
|
|
278
|
+
"color.line.1": "--ns-color-line-1",
|
|
279
|
+
"color.line.2": "--ns-color-line-2",
|
|
280
|
+
"color.text.1": "--ns-color-text-1",
|
|
281
|
+
"color.text.2": "--ns-color-text-2",
|
|
282
|
+
"color.text.3": "--ns-color-text-3",
|
|
283
|
+
"color.signal.default": "--ns-color-signal",
|
|
284
|
+
"color.signal.fill": "--ns-color-signal-fill",
|
|
285
|
+
"color.signal.wash": "--ns-color-signal-wash",
|
|
286
|
+
"color.signal.edge": "--ns-color-signal-edge",
|
|
287
|
+
"color.focus.default": "--ns-color-focus",
|
|
288
|
+
"color.focus.halo": "--ns-color-focus-halo",
|
|
289
|
+
"color.data.star": "--ns-color-data-star",
|
|
290
|
+
"color.data.node": "--ns-color-data-node",
|
|
291
|
+
"color.data.band": "--ns-color-data-band",
|
|
292
|
+
"color.data.horizon": "--ns-color-data-horizon",
|
|
293
|
+
"color.data.meridian": "--ns-color-data-meridian",
|
|
294
|
+
"color.data.graticule": "--ns-color-data-graticule",
|
|
295
|
+
"color.data.likert.1": "--ns-color-data-likert-1",
|
|
296
|
+
"color.data.likert.2": "--ns-color-data-likert-2",
|
|
297
|
+
"color.data.likert.3": "--ns-color-data-likert-3",
|
|
298
|
+
"color.data.likert.4": "--ns-color-data-likert-4",
|
|
299
|
+
"color.data.likert.5": "--ns-color-data-likert-5",
|
|
300
|
+
"elevation.1": "--ns-elevation-1",
|
|
301
|
+
"elevation.2": "--ns-elevation-2",
|
|
302
|
+
"elevation.3": "--ns-elevation-3",
|
|
303
|
+
"button.primary.bg": "--ns-button-primary-bg",
|
|
304
|
+
"button.primary.fg": "--ns-button-primary-fg"
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
export type Tokens = typeof data;
|
|
308
|
+
export type ThemeName = "night" | "day";
|
|
309
|
+
export type ThemeTokenPath = keyof Tokens["themes"]["night"];
|
|
310
|
+
export type TokenPath = keyof Tokens["cssVar"];
|
|
311
|
+
export type CssVarName = Tokens["cssVar"][TokenPath];
|
|
312
|
+
export declare const tokens: Tokens;
|
|
313
|
+
export declare const themes: readonly ThemeName[];
|
|
314
|
+
export declare const cssVar: Tokens["cssVar"];
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
// Generated. Do not edit.
|
|
2
|
+
export const tokens = {
|
|
3
|
+
"primitive": {
|
|
4
|
+
"gray.0": "#FFFFFF",
|
|
5
|
+
"gray.1": "#F8F9FA",
|
|
6
|
+
"gray.2": "#F1F3F5",
|
|
7
|
+
"gray.3": "#E9ECEF",
|
|
8
|
+
"gray.4": "#E6E8EB",
|
|
9
|
+
"gray.5": "#D4D8DD",
|
|
10
|
+
"gray.6": "#656A75",
|
|
11
|
+
"gray.7": "#464C56",
|
|
12
|
+
"gray.8": "#06080C",
|
|
13
|
+
"night.0": "#08090C",
|
|
14
|
+
"night.1": "#0D0F13",
|
|
15
|
+
"night.2": "#14161B",
|
|
16
|
+
"night.3": "#1B1E24",
|
|
17
|
+
"night.4": "#1E2128",
|
|
18
|
+
"night.5": "#2B2F38",
|
|
19
|
+
"night.6": "#848A94",
|
|
20
|
+
"night.7": "#A9AEB8",
|
|
21
|
+
"night.8": "#E8EAEE",
|
|
22
|
+
"glacier.100": "#EDF3FB",
|
|
23
|
+
"glacier.200": "#B9CEEA",
|
|
24
|
+
"glacier.300": "#93B4E0",
|
|
25
|
+
"glacier.700": "#2F5D9A",
|
|
26
|
+
"glacier.alpha-12": "rgba(147, 180, 224, 0.12)",
|
|
27
|
+
"glacier.alpha-35": "rgba(147, 180, 224, 0.35)"
|
|
28
|
+
},
|
|
29
|
+
"scales": {
|
|
30
|
+
"font.family.ui": "Inter, ui-sans-serif, system-ui, sans-serif",
|
|
31
|
+
"font.family.mono": "'IBM Plex Mono', ui-monospace, monospace",
|
|
32
|
+
"font.weight.regular": "400",
|
|
33
|
+
"font.weight.medium": "500",
|
|
34
|
+
"font.weight.semibold": "600",
|
|
35
|
+
"font.size.11": "11px",
|
|
36
|
+
"font.size.12": "12px",
|
|
37
|
+
"font.size.13": "13px",
|
|
38
|
+
"font.size.15": "15px",
|
|
39
|
+
"font.size.18": "18px",
|
|
40
|
+
"font.size.24": "24px",
|
|
41
|
+
"font.size.32": "32px",
|
|
42
|
+
"font.size.48": "48px",
|
|
43
|
+
"font.size.base": "13px",
|
|
44
|
+
"font.line-height.11": "16px",
|
|
45
|
+
"font.line-height.12": "18px",
|
|
46
|
+
"font.line-height.13": "20px",
|
|
47
|
+
"font.line-height.15": "22px",
|
|
48
|
+
"font.line-height.18": "26px",
|
|
49
|
+
"font.line-height.24": "32px",
|
|
50
|
+
"font.line-height.32": "40px",
|
|
51
|
+
"font.line-height.48": "52px",
|
|
52
|
+
"font.numeric.figures": "tabular-nums",
|
|
53
|
+
"space.2": "2px",
|
|
54
|
+
"space.4": "4px",
|
|
55
|
+
"space.6": "6px",
|
|
56
|
+
"space.8": "8px",
|
|
57
|
+
"space.12": "12px",
|
|
58
|
+
"space.16": "16px",
|
|
59
|
+
"space.20": "20px",
|
|
60
|
+
"space.24": "24px",
|
|
61
|
+
"space.32": "32px",
|
|
62
|
+
"space.40": "40px",
|
|
63
|
+
"space.48": "48px",
|
|
64
|
+
"space.64": "64px",
|
|
65
|
+
"size.control.sm": "28px",
|
|
66
|
+
"size.control.md": "32px",
|
|
67
|
+
"size.control.lg": "36px",
|
|
68
|
+
"size.control.xl": "44px",
|
|
69
|
+
"size.row.sm": "32px",
|
|
70
|
+
"size.row.md": "36px",
|
|
71
|
+
"size.row.lg": "40px",
|
|
72
|
+
"size.icon.sm": "16px",
|
|
73
|
+
"size.icon.md": "20px",
|
|
74
|
+
"size.icon.lg": "24px",
|
|
75
|
+
"size.target.coarse": "44px",
|
|
76
|
+
"density.compact.control-height": "28px",
|
|
77
|
+
"density.compact.row-height": "32px",
|
|
78
|
+
"density.compact.row-padding": "4px",
|
|
79
|
+
"density.default.control-height": "32px",
|
|
80
|
+
"density.default.row-height": "36px",
|
|
81
|
+
"density.default.row-padding": "6px",
|
|
82
|
+
"density.comfortable.control-height": "36px",
|
|
83
|
+
"density.comfortable.row-height": "40px",
|
|
84
|
+
"density.comfortable.row-padding": "8px",
|
|
85
|
+
"radius.4": "4px",
|
|
86
|
+
"radius.6": "6px",
|
|
87
|
+
"radius.8": "8px",
|
|
88
|
+
"radius.12": "12px",
|
|
89
|
+
"radius.full": "9999px",
|
|
90
|
+
"z.banner": "30",
|
|
91
|
+
"z.dropdown": "40",
|
|
92
|
+
"z.popover": "50",
|
|
93
|
+
"z.sheet": "60",
|
|
94
|
+
"z.dialog": "70",
|
|
95
|
+
"z.toast": "80",
|
|
96
|
+
"z.tooltip": "90",
|
|
97
|
+
"motion.duration.120": "120ms",
|
|
98
|
+
"motion.duration.200": "200ms",
|
|
99
|
+
"motion.duration.320": "320ms",
|
|
100
|
+
"motion.duration.600": "600ms",
|
|
101
|
+
"motion.easing.settle": "cubic-bezier(0.2, 0, 0, 1)",
|
|
102
|
+
"motion.easing.enter": "cubic-bezier(0, 0, 0.2, 1)",
|
|
103
|
+
"motion.easing.travel": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
104
|
+
"motion.easing.exit": "cubic-bezier(0.4, 0, 1, 1)"
|
|
105
|
+
},
|
|
106
|
+
"themes": {
|
|
107
|
+
"night": {
|
|
108
|
+
"color.ground": "#08090C",
|
|
109
|
+
"color.surface.1": "#0D0F13",
|
|
110
|
+
"color.surface.2": "#14161B",
|
|
111
|
+
"color.surface.3": "#1B1E24",
|
|
112
|
+
"color.line.1": "#1E2128",
|
|
113
|
+
"color.line.2": "#2B2F38",
|
|
114
|
+
"color.text.1": "#E8EAEE",
|
|
115
|
+
"color.text.2": "#A9AEB8",
|
|
116
|
+
"color.text.3": "#848A94",
|
|
117
|
+
"color.signal.default": "#93B4E0",
|
|
118
|
+
"color.signal.fill": "#93B4E0",
|
|
119
|
+
"color.signal.wash": "rgba(147, 180, 224, 0.12)",
|
|
120
|
+
"color.signal.edge": "#93B4E0",
|
|
121
|
+
"color.focus.default": "#93B4E0",
|
|
122
|
+
"color.focus.halo": "transparent",
|
|
123
|
+
"color.data.star": "#E8EAEE",
|
|
124
|
+
"color.data.node": "#93B4E0",
|
|
125
|
+
"color.data.band": "rgba(147, 180, 224, 0.35)",
|
|
126
|
+
"color.data.horizon": "#93B4E0",
|
|
127
|
+
"color.data.meridian": "#2B2F38",
|
|
128
|
+
"color.data.graticule": "#1E2128",
|
|
129
|
+
"color.data.likert.1": "#2B2F38",
|
|
130
|
+
"color.data.likert.2": "#848A94",
|
|
131
|
+
"color.data.likert.3": "#A9AEB8",
|
|
132
|
+
"color.data.likert.4": "#93B4E0",
|
|
133
|
+
"color.data.likert.5": "#EDF3FB",
|
|
134
|
+
"elevation.1": "none",
|
|
135
|
+
"elevation.2": "none",
|
|
136
|
+
"elevation.3": "none",
|
|
137
|
+
"button.primary.bg": "#93B4E0",
|
|
138
|
+
"button.primary.fg": "#06080C"
|
|
139
|
+
},
|
|
140
|
+
"day": {
|
|
141
|
+
"color.ground": "#FFFFFF",
|
|
142
|
+
"color.surface.1": "#F8F9FA",
|
|
143
|
+
"color.surface.2": "#F1F3F5",
|
|
144
|
+
"color.surface.3": "#E9ECEF",
|
|
145
|
+
"color.line.1": "#E6E8EB",
|
|
146
|
+
"color.line.2": "#D4D8DD",
|
|
147
|
+
"color.text.1": "#06080C",
|
|
148
|
+
"color.text.2": "#464C56",
|
|
149
|
+
"color.text.3": "#656A75",
|
|
150
|
+
"color.signal.default": "#2F5D9A",
|
|
151
|
+
"color.signal.fill": "#93B4E0",
|
|
152
|
+
"color.signal.wash": "#EDF3FB",
|
|
153
|
+
"color.signal.edge": "#B9CEEA",
|
|
154
|
+
"color.focus.default": "#2F5D9A",
|
|
155
|
+
"color.focus.halo": "rgba(147, 180, 224, 0.35)",
|
|
156
|
+
"color.data.star": "#06080C",
|
|
157
|
+
"color.data.node": "#2F5D9A",
|
|
158
|
+
"color.data.band": "rgba(147, 180, 224, 0.35)",
|
|
159
|
+
"color.data.horizon": "#2F5D9A",
|
|
160
|
+
"color.data.meridian": "#D4D8DD",
|
|
161
|
+
"color.data.graticule": "#E6E8EB",
|
|
162
|
+
"color.data.likert.1": "#E6E8EB",
|
|
163
|
+
"color.data.likert.2": "#D4D8DD",
|
|
164
|
+
"color.data.likert.3": "#B9CEEA",
|
|
165
|
+
"color.data.likert.4": "#93B4E0",
|
|
166
|
+
"color.data.likert.5": "#2F5D9A",
|
|
167
|
+
"elevation.1": "0 1px 2px rgba(6, 8, 12, 0.06)",
|
|
168
|
+
"elevation.2": "0 4px 12px rgba(6, 8, 12, 0.08)",
|
|
169
|
+
"elevation.3": "0 12px 32px rgba(6, 8, 12, 0.12)",
|
|
170
|
+
"button.primary.bg": "#93B4E0",
|
|
171
|
+
"button.primary.fg": "#06080C"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"cssVar": {
|
|
175
|
+
"gray.0": "--ns-gray-0",
|
|
176
|
+
"gray.1": "--ns-gray-1",
|
|
177
|
+
"gray.2": "--ns-gray-2",
|
|
178
|
+
"gray.3": "--ns-gray-3",
|
|
179
|
+
"gray.4": "--ns-gray-4",
|
|
180
|
+
"gray.5": "--ns-gray-5",
|
|
181
|
+
"gray.6": "--ns-gray-6",
|
|
182
|
+
"gray.7": "--ns-gray-7",
|
|
183
|
+
"gray.8": "--ns-gray-8",
|
|
184
|
+
"night.0": "--ns-night-0",
|
|
185
|
+
"night.1": "--ns-night-1",
|
|
186
|
+
"night.2": "--ns-night-2",
|
|
187
|
+
"night.3": "--ns-night-3",
|
|
188
|
+
"night.4": "--ns-night-4",
|
|
189
|
+
"night.5": "--ns-night-5",
|
|
190
|
+
"night.6": "--ns-night-6",
|
|
191
|
+
"night.7": "--ns-night-7",
|
|
192
|
+
"night.8": "--ns-night-8",
|
|
193
|
+
"glacier.100": "--ns-glacier-100",
|
|
194
|
+
"glacier.200": "--ns-glacier-200",
|
|
195
|
+
"glacier.300": "--ns-glacier-300",
|
|
196
|
+
"glacier.700": "--ns-glacier-700",
|
|
197
|
+
"glacier.alpha-12": "--ns-glacier-alpha-12",
|
|
198
|
+
"glacier.alpha-35": "--ns-glacier-alpha-35",
|
|
199
|
+
"font.family.ui": "--ns-font-family-ui",
|
|
200
|
+
"font.family.mono": "--ns-font-family-mono",
|
|
201
|
+
"font.weight.regular": "--ns-font-weight-regular",
|
|
202
|
+
"font.weight.medium": "--ns-font-weight-medium",
|
|
203
|
+
"font.weight.semibold": "--ns-font-weight-semibold",
|
|
204
|
+
"font.size.11": "--ns-font-size-11",
|
|
205
|
+
"font.size.12": "--ns-font-size-12",
|
|
206
|
+
"font.size.13": "--ns-font-size-13",
|
|
207
|
+
"font.size.15": "--ns-font-size-15",
|
|
208
|
+
"font.size.18": "--ns-font-size-18",
|
|
209
|
+
"font.size.24": "--ns-font-size-24",
|
|
210
|
+
"font.size.32": "--ns-font-size-32",
|
|
211
|
+
"font.size.48": "--ns-font-size-48",
|
|
212
|
+
"font.size.base": "--ns-font-size-base",
|
|
213
|
+
"font.line-height.11": "--ns-font-line-height-11",
|
|
214
|
+
"font.line-height.12": "--ns-font-line-height-12",
|
|
215
|
+
"font.line-height.13": "--ns-font-line-height-13",
|
|
216
|
+
"font.line-height.15": "--ns-font-line-height-15",
|
|
217
|
+
"font.line-height.18": "--ns-font-line-height-18",
|
|
218
|
+
"font.line-height.24": "--ns-font-line-height-24",
|
|
219
|
+
"font.line-height.32": "--ns-font-line-height-32",
|
|
220
|
+
"font.line-height.48": "--ns-font-line-height-48",
|
|
221
|
+
"font.numeric.figures": "--ns-font-numeric-figures",
|
|
222
|
+
"space.2": "--ns-space-2",
|
|
223
|
+
"space.4": "--ns-space-4",
|
|
224
|
+
"space.6": "--ns-space-6",
|
|
225
|
+
"space.8": "--ns-space-8",
|
|
226
|
+
"space.12": "--ns-space-12",
|
|
227
|
+
"space.16": "--ns-space-16",
|
|
228
|
+
"space.20": "--ns-space-20",
|
|
229
|
+
"space.24": "--ns-space-24",
|
|
230
|
+
"space.32": "--ns-space-32",
|
|
231
|
+
"space.40": "--ns-space-40",
|
|
232
|
+
"space.48": "--ns-space-48",
|
|
233
|
+
"space.64": "--ns-space-64",
|
|
234
|
+
"size.control.sm": "--ns-size-control-sm",
|
|
235
|
+
"size.control.md": "--ns-size-control-md",
|
|
236
|
+
"size.control.lg": "--ns-size-control-lg",
|
|
237
|
+
"size.control.xl": "--ns-size-control-xl",
|
|
238
|
+
"size.row.sm": "--ns-size-row-sm",
|
|
239
|
+
"size.row.md": "--ns-size-row-md",
|
|
240
|
+
"size.row.lg": "--ns-size-row-lg",
|
|
241
|
+
"size.icon.sm": "--ns-size-icon-sm",
|
|
242
|
+
"size.icon.md": "--ns-size-icon-md",
|
|
243
|
+
"size.icon.lg": "--ns-size-icon-lg",
|
|
244
|
+
"size.target.coarse": "--ns-size-target-coarse",
|
|
245
|
+
"density.compact.control-height": "--ns-density-compact-control-height",
|
|
246
|
+
"density.compact.row-height": "--ns-density-compact-row-height",
|
|
247
|
+
"density.compact.row-padding": "--ns-density-compact-row-padding",
|
|
248
|
+
"density.default.control-height": "--ns-density-control-height",
|
|
249
|
+
"density.default.row-height": "--ns-density-row-height",
|
|
250
|
+
"density.default.row-padding": "--ns-density-row-padding",
|
|
251
|
+
"density.comfortable.control-height": "--ns-density-comfortable-control-height",
|
|
252
|
+
"density.comfortable.row-height": "--ns-density-comfortable-row-height",
|
|
253
|
+
"density.comfortable.row-padding": "--ns-density-comfortable-row-padding",
|
|
254
|
+
"radius.4": "--ns-radius-4",
|
|
255
|
+
"radius.6": "--ns-radius-6",
|
|
256
|
+
"radius.8": "--ns-radius-8",
|
|
257
|
+
"radius.12": "--ns-radius-12",
|
|
258
|
+
"radius.full": "--ns-radius-full",
|
|
259
|
+
"z.banner": "--ns-z-banner",
|
|
260
|
+
"z.dropdown": "--ns-z-dropdown",
|
|
261
|
+
"z.popover": "--ns-z-popover",
|
|
262
|
+
"z.sheet": "--ns-z-sheet",
|
|
263
|
+
"z.dialog": "--ns-z-dialog",
|
|
264
|
+
"z.toast": "--ns-z-toast",
|
|
265
|
+
"z.tooltip": "--ns-z-tooltip",
|
|
266
|
+
"motion.duration.120": "--ns-motion-duration-120",
|
|
267
|
+
"motion.duration.200": "--ns-motion-duration-200",
|
|
268
|
+
"motion.duration.320": "--ns-motion-duration-320",
|
|
269
|
+
"motion.duration.600": "--ns-motion-duration-600",
|
|
270
|
+
"motion.easing.settle": "--ns-motion-easing-settle",
|
|
271
|
+
"motion.easing.enter": "--ns-motion-easing-enter",
|
|
272
|
+
"motion.easing.travel": "--ns-motion-easing-travel",
|
|
273
|
+
"motion.easing.exit": "--ns-motion-easing-exit",
|
|
274
|
+
"color.ground": "--ns-color-ground",
|
|
275
|
+
"color.surface.1": "--ns-color-surface-1",
|
|
276
|
+
"color.surface.2": "--ns-color-surface-2",
|
|
277
|
+
"color.surface.3": "--ns-color-surface-3",
|
|
278
|
+
"color.line.1": "--ns-color-line-1",
|
|
279
|
+
"color.line.2": "--ns-color-line-2",
|
|
280
|
+
"color.text.1": "--ns-color-text-1",
|
|
281
|
+
"color.text.2": "--ns-color-text-2",
|
|
282
|
+
"color.text.3": "--ns-color-text-3",
|
|
283
|
+
"color.signal.default": "--ns-color-signal",
|
|
284
|
+
"color.signal.fill": "--ns-color-signal-fill",
|
|
285
|
+
"color.signal.wash": "--ns-color-signal-wash",
|
|
286
|
+
"color.signal.edge": "--ns-color-signal-edge",
|
|
287
|
+
"color.focus.default": "--ns-color-focus",
|
|
288
|
+
"color.focus.halo": "--ns-color-focus-halo",
|
|
289
|
+
"color.data.star": "--ns-color-data-star",
|
|
290
|
+
"color.data.node": "--ns-color-data-node",
|
|
291
|
+
"color.data.band": "--ns-color-data-band",
|
|
292
|
+
"color.data.horizon": "--ns-color-data-horizon",
|
|
293
|
+
"color.data.meridian": "--ns-color-data-meridian",
|
|
294
|
+
"color.data.graticule": "--ns-color-data-graticule",
|
|
295
|
+
"color.data.likert.1": "--ns-color-data-likert-1",
|
|
296
|
+
"color.data.likert.2": "--ns-color-data-likert-2",
|
|
297
|
+
"color.data.likert.3": "--ns-color-data-likert-3",
|
|
298
|
+
"color.data.likert.4": "--ns-color-data-likert-4",
|
|
299
|
+
"color.data.likert.5": "--ns-color-data-likert-5",
|
|
300
|
+
"elevation.1": "--ns-elevation-1",
|
|
301
|
+
"elevation.2": "--ns-elevation-2",
|
|
302
|
+
"elevation.3": "--ns-elevation-3",
|
|
303
|
+
"button.primary.bg": "--ns-button-primary-bg",
|
|
304
|
+
"button.primary.fg": "--ns-button-primary-fg"
|
|
305
|
+
}
|
|
306
|
+
};
|
|
307
|
+
export const themes = ["night", "day"];
|
|
308
|
+
export const cssVar = tokens.cssVar;
|