@gnist/themes 1.0.0 → 1.0.1

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.
@@ -0,0 +1,551 @@
1
+ // Generated by style-dictionary. Do not edit directly.
2
+ export const gnistTokens = {
3
+ spacing: {
4
+ none: "0px",
5
+ base: "4px",
6
+ xxs: "8px",
7
+ xs: "12px",
8
+ s: "16px",
9
+ m: "20px",
10
+ l: "24px",
11
+ xl: "32px",
12
+ xxl: "40px",
13
+ "3xl": "48px",
14
+ },
15
+ size: {
16
+ base: "4px",
17
+ xxs: "8px",
18
+ xs: "12px",
19
+ s: "16px",
20
+ m: "20px",
21
+ l: "24px",
22
+ xl: "32px",
23
+ xxl: "40px",
24
+ "3xl": "48px",
25
+ "4xl": "64px",
26
+ },
27
+ keycolor: {
28
+ primary: "#282629",
29
+ secondary: "#695F5D",
30
+ tertiary: "#938C79",
31
+ "tertiary-variant": "#3E404D",
32
+ neutral: "#F3F2F0",
33
+ "neutral-variant": "#9D9E96",
34
+ error: "#FF715D",
35
+ warning: "#FFAC4E",
36
+ success: "#C7DC97",
37
+ info: "#277AA2",
38
+ Interactive: "#5C83BE",
39
+ },
40
+ palette: {
41
+ black: "#222222",
42
+ white: "#ffffff",
43
+ primary: {
44
+ "10": "#0A0A0B",
45
+ "20": "#141315",
46
+ "30": "#1E1C1F",
47
+ "40": "#282629",
48
+ "50": "#474548",
49
+ "60": "#666466",
50
+ "70": "#858385",
51
+ "80": "#A3A2A4",
52
+ "90": "#C2C1C2",
53
+ "95": "#E1E0E1",
54
+ },
55
+ secondary: {
56
+ "10": "#1C1817",
57
+ "20": "#372F2D",
58
+ "30": "#504745",
59
+ "40": "#695F5D",
60
+ "50": "#7F7673",
61
+ "60": "#958D8A",
62
+ "70": "#ABA4A1",
63
+ "80": "#C0BBB8",
64
+ "90": "#D5D1D0",
65
+ "95": "#EAE8E7",
66
+ },
67
+ tertiary: {
68
+ "10": "#19281E",
69
+ "20": "#334D3B",
70
+ "30": "#507058",
71
+ "40": "#938C79",
72
+ "50": "#81A28B",
73
+ "60": "#94B39E",
74
+ "70": "#A8C4B2",
75
+ "80": "#BDD4C6",
76
+ "90": "#D2E3D9",
77
+ "95": "#E8F1EC",
78
+ },
79
+ "tertiary-variant": {
80
+ "10": "#030F16",
81
+ "20": "#081D28",
82
+ "30": "#102A37",
83
+ "40": "#3E404D",
84
+ "50": "#385261",
85
+ "60": "#576E7E",
86
+ "70": "#778A99",
87
+ "80": "#98A7B4",
88
+ "90": "#B9C4CE",
89
+ "95": "#DCE1E7",
90
+ },
91
+ neutral: {
92
+ "10": "#292A26",
93
+ "20": "#7A7978",
94
+ "30": "#B6B5B3",
95
+ "40": "#F1F0EE",
96
+ "50": "#F3F2F0",
97
+ "60": "#F5F5F3",
98
+ "70": "#F7F7F5",
99
+ "80": "#FBFBFA",
100
+ "90": "#FBFBFA",
101
+ "95": "#FDFDFC",
102
+ },
103
+ "neutral-variant": {
104
+ "10": "#292A26",
105
+ "20": "#50514B",
106
+ "30": "#777870",
107
+ "40": "#9D9E96",
108
+ "50": "#EAEAEA",
109
+ "60": "#EDEDED",
110
+ "70": "#F1F1F1",
111
+ "80": "#F4F4F4",
112
+ "90": "#F8F8F8",
113
+ "95": "#FBFBFB",
114
+ },
115
+ error: {
116
+ "10": "#421308",
117
+ "20": "#812C1B",
118
+ "30": "#C04B37",
119
+ "40": "#FF715D",
120
+ "50": "#FF836A",
121
+ "60": "#FF977B",
122
+ "70": "#FFAC8F",
123
+ "80": "#FFC2A6",
124
+ "90": "#FFD7C0",
125
+ "95": "#FFECDE",
126
+ },
127
+ warning: {
128
+ "10": "#422F03",
129
+ "20": "#815B11",
130
+ "30": "#C0842A",
131
+ "40": "#FFAC4E",
132
+ "50": "#FFD06F",
133
+ "60": "#FFD06F",
134
+ "70": "#FFDF84",
135
+ "80": "#FFED9E",
136
+ "90": "#FFF7BA",
137
+ "95": "#FFFDDB",
138
+ },
139
+ success: {
140
+ "10": "#353F20",
141
+ "20": "#677844",
142
+ "30": "#98AC6B",
143
+ "40": "#C7DC97",
144
+ "50": "#CEE5A2",
145
+ "60": "#D6EDAE",
146
+ "70": "#DDF3BB",
147
+ "80": "#E4F8CA",
148
+ "90": "#ECFCDA",
149
+ "95": "#F5FEEC",
150
+ },
151
+ info: {
152
+ "10": "#002236",
153
+ "20": "#044261",
154
+ "30": "#125F86",
155
+ "40": "#277AA2",
156
+ "50": "#3E8CB7",
157
+ "60": "#589DC9",
158
+ "70": "#75AED9",
159
+ "80": "#93C0E6",
160
+ "90": "#B6D3F1",
161
+ "95": "#DBE8F9",
162
+ },
163
+ interactive: {
164
+ "10": "#0E1F3A",
165
+ "20": "#223E6C",
166
+ "30": "#3C6098",
167
+ "40": "#5C83BE",
168
+ "50": "#6D90CD",
169
+ "60": "#819EDB",
170
+ "70": "#96AEE6",
171
+ "80": "#ADBFEF",
172
+ "90": "#C6D2F6",
173
+ "95": "#E2E7FC",
174
+ },
175
+ },
176
+ color: {
177
+ primary: "#282629",
178
+ "on-primary": "#ffffff",
179
+ "primary-container": "#c2c1c2",
180
+ "on-primary-container": "#282629",
181
+ secondary: "#695f5d",
182
+ "on-secondary": "#eae8e7",
183
+ "secondary-container": "#d5d1d0",
184
+ "on-secondary-container": "#372f2d",
185
+ tertiary: "#938c79",
186
+ "on-tertiary": "#222222",
187
+ "tertiary-container": "#d2e3d9",
188
+ "on-tertiary-container": "#222222",
189
+ "tertiary-variant": "#3e404d",
190
+ "on-tertiary-variant": "#222222",
191
+ background: "#f4f4f4",
192
+ "on-background": "#222222",
193
+ "inverse-background": "#222222",
194
+ "on-inverse-background": "#f1f0ee",
195
+ surface: "#fbfbfa",
196
+ "on-surface": "#222222",
197
+ disabled: "#f3f2f0",
198
+ "on-disabled": "#292a26",
199
+ "text-variant": "#7a7978",
200
+ "inverse-text-variant": "#292a26",
201
+ outline: "#7a7978",
202
+ loader: "#f3f2f0",
203
+ "on-loader": "#292a26",
204
+ "surface-variant": "#292a26",
205
+ "on-surface-variant": "#f4f4f4",
206
+ error: "#ff715d",
207
+ "on-error": "#ffecde",
208
+ "error-container": "#ffecde",
209
+ "on-error-container": "#421308",
210
+ warning: "#ffac4e",
211
+ "on-warning": "#222222",
212
+ "warning-container": "#d2e3d9",
213
+ "on-warning-container": "#222222",
214
+ success: "#c7dc97",
215
+ "on-success": "#f5feec",
216
+ "success-container": "#f5feec",
217
+ "on-success-container": "#222222",
218
+ info: "#277aa2",
219
+ "on-info": "#222222",
220
+ "info-container": "#dbe8f9",
221
+ "on-info-container": "#222222",
222
+ interactive: "#3c6098",
223
+ highlight: "#223e6c",
224
+ },
225
+ typeface: {
226
+ brand: "Geist Variable",
227
+ "line-height": "1.4",
228
+ weight: {
229
+ light: "300",
230
+ book: "350",
231
+ regular: "400",
232
+ medium: "500",
233
+ semibold: "600",
234
+ bold: "700",
235
+ "extra-bold": "800",
236
+ black: "900",
237
+ },
238
+ size: {
239
+ s: "0.875rem",
240
+ base: "1rem",
241
+ m: "1.125rem",
242
+ l: "1.25rem",
243
+ xl: "1.5rem",
244
+ xxl: "1.75rem",
245
+ "3xl": "2rem",
246
+ "4xl": "2.5rem",
247
+ "5xl": "3.25rem",
248
+ },
249
+ "letter-spacing": {
250
+ none: "0",
251
+ },
252
+ "text-case": {
253
+ none: "none",
254
+ uppercase: "uppercase",
255
+ lowercase: "lowercase",
256
+ },
257
+ "text-decoration": {
258
+ none: "none",
259
+ line: "underline",
260
+ strikethrough: "line-through",
261
+ },
262
+ "brand-display": "Roboto",
263
+ },
264
+ type: {
265
+ large: {
266
+ display: {
267
+ fontFamily: "Geist Variable",
268
+ fontWeight: "500",
269
+ lineHeight: "1.4",
270
+ fontSize: "3.25rem",
271
+ letterSpacing: "0",
272
+ paragraphSpacing: "4.875rem",
273
+ textCase: "none",
274
+ textDecoration: "none",
275
+ },
276
+ heading1: {
277
+ fontFamily: "Geist Variable",
278
+ fontWeight: "500",
279
+ lineHeight: "1.4",
280
+ fontSize: "2rem",
281
+ letterSpacing: "0",
282
+ paragraphSpacing: "3rem",
283
+ textDecoration: "none",
284
+ textCase: "none",
285
+ },
286
+ heading2: {
287
+ fontFamily: "Geist Variable",
288
+ fontWeight: "500",
289
+ lineHeight: "1.4",
290
+ fontSize: "1.75rem",
291
+ letterSpacing: "0",
292
+ paragraphSpacing: "2.625rem",
293
+ textDecoration: "none",
294
+ textCase: "none",
295
+ },
296
+ heading3: {
297
+ fontFamily: "Geist Variable",
298
+ fontWeight: "500",
299
+ lineHeight: "1.4",
300
+ fontSize: "1.5rem",
301
+ letterSpacing: "0",
302
+ paragraphSpacing: "2.25rem",
303
+ textDecoration: "none",
304
+ textCase: "none",
305
+ },
306
+ lead: {
307
+ fontFamily: "Geist Variable",
308
+ fontWeight: "400",
309
+ lineHeight: "1.4",
310
+ fontSize: "1.25rem",
311
+ letterSpacing: "0",
312
+ paragraphSpacing: "1.25rem",
313
+ textDecoration: "none",
314
+ textCase: "none",
315
+ },
316
+ body: {
317
+ fontFamily: "Geist Variable",
318
+ fontWeight: "400",
319
+ lineHeight: "1.4",
320
+ fontSize: "1rem",
321
+ letterSpacing: "0",
322
+ paragraphSpacing: "1rem",
323
+ textCase: "none",
324
+ textDecoration: "none",
325
+ },
326
+ link: {
327
+ fontFamily: "Geist Variable",
328
+ fontWeight: "400",
329
+ lineHeight: "1.4",
330
+ fontSize: "1rem",
331
+ letterSpacing: "0",
332
+ paragraphSpacing: "1rem",
333
+ textDecoration: "underline",
334
+ textCase: "none",
335
+ },
336
+ detail: {
337
+ fontFamily: "Geist Variable",
338
+ fontWeight: "400",
339
+ lineHeight: "1.4",
340
+ fontSize: "0.875rem",
341
+ letterSpacing: "0",
342
+ paragraphSpacing: "0.875rem",
343
+ textDecoration: "none",
344
+ textCase: "none",
345
+ },
346
+ },
347
+ medium: {
348
+ display: {
349
+ fontFamily: "Geist Variable",
350
+ fontWeight: "500",
351
+ lineHeight: "1.4",
352
+ fontSize: "2.5rem",
353
+ letterSpacing: "0",
354
+ paragraphSpacing: "3.75rem",
355
+ textCase: "none",
356
+ textDecoration: "none",
357
+ },
358
+ heading1: {
359
+ fontFamily: "Geist Variable",
360
+ fontWeight: "500",
361
+ lineHeight: "1.4",
362
+ fontSize: "1.75rem",
363
+ letterSpacing: "0",
364
+ paragraphSpacing: "2.625rem",
365
+ textDecoration: "none",
366
+ textCase: "none",
367
+ },
368
+ heading2: {
369
+ fontFamily: "Geist Variable",
370
+ fontWeight: "500",
371
+ lineHeight: "1.4",
372
+ fontSize: "1.5rem",
373
+ letterSpacing: "0",
374
+ paragraphSpacing: "2.25rem",
375
+ textDecoration: "none",
376
+ textCase: "none",
377
+ },
378
+ heading3: {
379
+ fontFamily: "Geist Variable",
380
+ fontWeight: "500",
381
+ lineHeight: "1.4",
382
+ fontSize: "1.25rem",
383
+ letterSpacing: "0",
384
+ paragraphSpacing: "1.875rem",
385
+ textDecoration: "none",
386
+ textCase: "none",
387
+ },
388
+ lead: {
389
+ fontFamily: "Geist Variable",
390
+ fontWeight: "400",
391
+ lineHeight: "1.4",
392
+ fontSize: "1.125rem",
393
+ letterSpacing: "0",
394
+ paragraphSpacing: "1.125rem",
395
+ textDecoration: "none",
396
+ textCase: "none",
397
+ },
398
+ body: {
399
+ fontFamily: "Geist Variable",
400
+ fontWeight: "400",
401
+ lineHeight: "1.4",
402
+ fontSize: "1rem",
403
+ letterSpacing: "0",
404
+ paragraphSpacing: "1rem",
405
+ textCase: "none",
406
+ textDecoration: "none",
407
+ },
408
+ link: {
409
+ fontFamily: "Geist Variable",
410
+ fontWeight: "400",
411
+ lineHeight: "1.4",
412
+ fontSize: "1rem",
413
+ letterSpacing: "0",
414
+ paragraphSpacing: "1rem",
415
+ textDecoration: "underline",
416
+ textCase: "none",
417
+ },
418
+ detail: {
419
+ fontFamily: "Geist Variable",
420
+ fontWeight: "400",
421
+ lineHeight: "1.4",
422
+ fontSize: "0.875rem",
423
+ letterSpacing: "0",
424
+ paragraphSpacing: "0.875rem",
425
+ textDecoration: "none",
426
+ textCase: "none",
427
+ },
428
+ },
429
+ small: {
430
+ display: {
431
+ fontFamily: "Geist Variable",
432
+ fontWeight: "500",
433
+ lineHeight: "1.4",
434
+ fontSize: "2rem",
435
+ letterSpacing: "0",
436
+ paragraphSpacing: "3rem",
437
+ textCase: "none",
438
+ textDecoration: "none",
439
+ },
440
+ heading1: {
441
+ fontFamily: "Geist Variable",
442
+ fontWeight: "500",
443
+ lineHeight: "1.4",
444
+ fontSize: "1.5rem",
445
+ letterSpacing: "0",
446
+ paragraphSpacing: "2.25rem",
447
+ textDecoration: "none",
448
+ textCase: "none",
449
+ },
450
+ heading2: {
451
+ fontFamily: "Geist Variable",
452
+ fontWeight: "500",
453
+ lineHeight: "1.4",
454
+ fontSize: "1.25rem",
455
+ letterSpacing: "0",
456
+ paragraphSpacing: "1.875rem",
457
+ textDecoration: "none",
458
+ textCase: "none",
459
+ },
460
+ heading3: {
461
+ fontFamily: "Geist Variable",
462
+ fontWeight: "500",
463
+ lineHeight: "1.4",
464
+ fontSize: "1.125rem",
465
+ letterSpacing: "0",
466
+ paragraphSpacing: "1.6875rem",
467
+ textDecoration: "none",
468
+ textCase: "none",
469
+ },
470
+ lead: {
471
+ fontFamily: "Geist Variable",
472
+ fontWeight: "400",
473
+ lineHeight: "1.4",
474
+ fontSize: "1.125rem",
475
+ letterSpacing: "0",
476
+ paragraphSpacing: "1.125rem",
477
+ textDecoration: "none",
478
+ textCase: "none",
479
+ },
480
+ body: {
481
+ fontFamily: "Geist Variable",
482
+ fontWeight: "400",
483
+ lineHeight: "1.4",
484
+ fontSize: "1rem",
485
+ letterSpacing: "0",
486
+ paragraphSpacing: "1rem",
487
+ textCase: "none",
488
+ textDecoration: "none",
489
+ },
490
+ link: {
491
+ fontFamily: "Geist Variable",
492
+ fontWeight: "400",
493
+ lineHeight: "1.4",
494
+ fontSize: "1rem",
495
+ letterSpacing: "0",
496
+ paragraphSpacing: "1rem",
497
+ textDecoration: "underline",
498
+ textCase: "none",
499
+ },
500
+ detail: {
501
+ fontFamily: "Geist Variable",
502
+ fontWeight: "400",
503
+ lineHeight: "1.4",
504
+ fontSize: "0.875rem",
505
+ letterSpacing: "0",
506
+ paragraphSpacing: "0.875rem",
507
+ textDecoration: "none",
508
+ textCase: "none",
509
+ },
510
+ },
511
+ },
512
+ stroke: {
513
+ "x-small": "0.5px",
514
+ small: "1px",
515
+ medium: "2px",
516
+ large: "4px",
517
+ },
518
+ "border-radius": {
519
+ none: "0px",
520
+ small: "2px",
521
+ medium: "4px",
522
+ large: "8px",
523
+ "x-large": "12px",
524
+ "xx-large": "16px",
525
+ full: "999px",
526
+ },
527
+ radius: {
528
+ button: "12px",
529
+ checkbox: "0px",
530
+ card: "12px",
531
+ input: "12px",
532
+ picker: "0px",
533
+ overlay: "0px",
534
+ feedback: "0px",
535
+ },
536
+ elevation: {
537
+ none: "0px 0px 0px 0px #00000000",
538
+ low: "0px 0px 1px 0px #0000003d, 0px 1px 4px 0px #0000000a, 0px 4px 8px 0px #0000000f",
539
+ medium: "0px 0px 1px 0px #0000003d, 0px 4px 8px 0px #0000000a, 0px 8px 24px 0px #0000000f",
540
+ high: "0px 0px 1px 0px #0000003d, 0px 2px 16px 0px #00000014, 0px 8px 48px 0px #0000000f",
541
+ },
542
+ "opacity-percentage": {
543
+ "8": "0.08",
544
+ "16": "0.16",
545
+ },
546
+ opacity: {
547
+ "on-hover": "0.08",
548
+ "on-pressed": "0.16",
549
+ "on-focus": "0.16",
550
+ },
551
+ };