@typestyles/open-props 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/dist/index.cjs ADDED
@@ -0,0 +1,721 @@
1
+ 'use strict';
2
+
3
+ var typestyles = require('typestyles');
4
+
5
+ // src/index.ts
6
+ var sizes = typestyles.tokens.create("size", {
7
+ "0": "0",
8
+ "1": "0.25rem",
9
+ "2": "0.5rem",
10
+ "3": "0.75rem",
11
+ "4": "1rem",
12
+ "5": "1.25rem",
13
+ "6": "1.5rem",
14
+ "7": "2rem",
15
+ "8": "3rem",
16
+ "9": "4rem",
17
+ "10": "5rem",
18
+ "content-1": "20ch",
19
+ "content-2": "45ch",
20
+ "content-3": "60ch",
21
+ "fluid-1": "clamp(0.5rem, 2vw, 1rem)",
22
+ "fluid-2": "clamp(1rem, 4vw, 1.5rem)",
23
+ "fluid-3": "clamp(1.5rem, 6vw, 2rem)",
24
+ "fluid-4": "clamp(2rem, 8vw, 3rem)",
25
+ "fluid-5": "clamp(3rem, 12vw, 5rem)",
26
+ "fluid-6": "clamp(5rem, 20vw, 8rem)",
27
+ "fluid-7": "clamp(8rem, 30vw, 12rem)",
28
+ "fluid-8": "clamp(12rem, 40vw, 20rem)"
29
+ });
30
+ var radius = typestyles.tokens.create("radius", {
31
+ "0": "0",
32
+ "1": "2px",
33
+ "2": "4px",
34
+ "3": "8px",
35
+ "4": "12px",
36
+ "5": "16px",
37
+ "6": "20px",
38
+ "7": "24px",
39
+ "8": "32px",
40
+ "9": "40px",
41
+ "10": "48px",
42
+ "11": "56px",
43
+ "12": "64px",
44
+ "13": "72px",
45
+ "14": "80px",
46
+ "15": "88px",
47
+ "16": "96px",
48
+ "17": "104px",
49
+ "18": "112px",
50
+ "19": "120px",
51
+ "20": "128px",
52
+ "21": "136px",
53
+ "22": "144px",
54
+ "23": "152px",
55
+ "24": "160px",
56
+ "25": "168px",
57
+ "26": "176px",
58
+ "27": "184px",
59
+ "28": "192px",
60
+ "29": "200px",
61
+ "30": "208px",
62
+ round: "100%",
63
+ pill: "9999px"
64
+ });
65
+ var shadow = typestyles.tokens.create("shadow", {
66
+ "1": "0 1px 2px 0 rgb(0 0 0 / 0.05)",
67
+ "2": "0 2px 4px 0 rgb(0 0 0 / 0.05), 0 4px 8px 0 rgb(0 0 0 / 0.05)",
68
+ "3": "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
69
+ "4": "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
70
+ "5": "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
71
+ "6": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
72
+ "inner-1": "inset 0 1px 2px 0 rgb(0 0 0 / 0.05)",
73
+ "inner-2": "inset 0 2px 4px 0 rgb(0 0 0 / 0.05), inset 0 4px 8px 0 rgb(0 0 0 / 0.05)",
74
+ "inner-3": "inset 0 4px 6px -1px rgb(0 0 0 / 0.1), inset 0 2px 4px -2px rgb(0 0 0 / 0.1)",
75
+ "inner-4": "inset 0 10px 15px -3px rgb(0 0 0 / 0.1), inset 0 4px 6px -4px rgb(0 0 0 / 0.1)",
76
+ "inner-5": "inset 0 20px 25px -5px rgb(0 0 0 / 0.1), inset 0 8px 10px -6px rgb(0 0 0 / 0.1)"
77
+ });
78
+ var easing = typestyles.tokens.create("ease", {
79
+ "1": "0.25, 0.1, 0.25, 1",
80
+ "2": "0.42, 0, 1, 1",
81
+ "3": "0, 0, 0.58, 1",
82
+ "4": "0.42, 0, 0.58, 1",
83
+ "5": "0.25, 0.1, 0.25, 1",
84
+ "in-1": "0.25, 0.1, 0.25, 1",
85
+ "in-2": "0.42, 0, 1, 1",
86
+ "in-3": "0, 0, 0.58, 1",
87
+ "in-4": "0.42, 0, 0.58, 1",
88
+ "in-5": "0.25, 0.1, 0.25, 1",
89
+ "out-1": "0.25, 0.1, 0.25, 1",
90
+ "out-2": "0.42, 0, 1, 1",
91
+ "out-3": "0, 0, 0.58, 1",
92
+ "out-4": "0.42, 0, 0.58, 1",
93
+ "out-5": "0.25, 0.1, 0.25, 1",
94
+ "in-out-1": "0.25, 0.1, 0.25, 1",
95
+ "in-out-2": "0.42, 0, 1, 1",
96
+ "in-out-3": "0, 0, 0.58, 1",
97
+ "in-out-4": "0.42, 0, 0.58, 1",
98
+ "in-out-5": "0.25, 0.1, 0.25, 1",
99
+ "elastic-out-1": "0.31, 0.24, 0.37, 1.04",
100
+ "elastic-out-2": "0.47, 0.27, 0.11, 1.07",
101
+ "elastic-out-3": "0.58, 0.27, 0.11, 1",
102
+ "elastic-out-4": "0.65, 0.28, 0.11, 1",
103
+ "elastic-out-5": "0.7, 0.28, 0.11, 1",
104
+ "elastic-in-1": "0.71, -0.01, 0.88, 0.77",
105
+ "elastic-in-2": "0.93, -0.17, 0.75, 0.75",
106
+ "elastic-in-3": "0.77, 0, 0.18, 1",
107
+ "elastic-in-4": "0.95, -0.05, 0.71, 0.97",
108
+ "elastic-in-5": "0.96, -0.05, 0.69, 1",
109
+ "elastic-in-out-1": "0.68, -0.55, 0.27, 1.55",
110
+ "elastic-in-out-2": "0.68, -0.55, 0.27, 1.55",
111
+ "elastic-in-out-3": "0.68, -0.55, 0.27, 1.55",
112
+ "elastic-in-out-4": "0.68, -0.55, 0.27, 1.55",
113
+ "elastic-in-out-5": "0.68, -0.55, 0.27, 1.55",
114
+ "bounce-1": "0.45, 0.05, 0.55, 0.95",
115
+ "bounce-2": "0.45, 0.05, 0.55, 0.95",
116
+ "bounce-3": "0.45, 0.05, 0.55, 0.95",
117
+ "bounce-4": "0.45, 0.05, 0.55, 0.95",
118
+ "bounce-5": "0.45, 0.05, 0.55, 0.95"
119
+ });
120
+ var animation = typestyles.tokens.create("animation", {
121
+ "fade-in": "fade-in 0.5s var(--ease-3)",
122
+ "fade-out": "fade-out 0.5s var(--ease-3)",
123
+ "scale-in": "scale-in 0.2s var(--ease-3)",
124
+ "scale-out": "scale-out 0.2s var(--ease-3)",
125
+ "slide-in-up": "slide-in-up 0.3s var(--ease-out-5)",
126
+ "slide-in-down": "slide-in-down 0.3s var(--ease-out-5)",
127
+ "slide-in-left": "slide-in-left 0.3s var(--ease-out-5)",
128
+ "slide-in-right": "slide-in-right 0.3s var(--ease-out-5)",
129
+ "slide-out-up": "slide-out-up 0.3s var(--ease-in-5)",
130
+ "slide-out-down": "slide-out-down 0.3s var(--ease-in-5)",
131
+ "slide-out-left": "slide-out-left 0.3s var(--ease-in-5)",
132
+ "slide-out-right": "slide-out-right 0.3s var(--ease-in-5)",
133
+ shake: "shake 0.5s cubic-bezier(.36,.07,.19,.97) both",
134
+ bounce: "bounce 1s infinite",
135
+ spin: "spin 2s linear infinite",
136
+ flip: "flip 1s ease-in-out infinite",
137
+ float: "float 3s ease-in-out infinite",
138
+ jiggle: "jiggle 1s ease-in-out infinite",
139
+ wiggle: "wiggle 1s ease-in-out infinite",
140
+ pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
141
+ pop: "pop 0.3s var(--ease-out-4)"
142
+ });
143
+ var fontSize = typestyles.tokens.create("font-size", {
144
+ "00": "0.5rem",
145
+ "0": "0.75rem",
146
+ "1": "1rem",
147
+ "2": "1.1rem",
148
+ "3": "1.25rem",
149
+ "4": "1.5rem",
150
+ "5": "2rem",
151
+ "6": "2.5rem",
152
+ "7": "3rem",
153
+ "8": "3.5rem",
154
+ "fluid-0": "clamp(0.75rem, 2vw, 1rem)",
155
+ "fluid-1": "clamp(1rem, 4vw, 1.5rem)",
156
+ "fluid-2": "clamp(1.5rem, 6vw, 2.5rem)",
157
+ "fluid-3": "clamp(2rem, 9vw, 3.5rem)"
158
+ });
159
+ var fontWeight = typestyles.tokens.create("font-weight", {
160
+ "1": "100",
161
+ "2": "200",
162
+ "3": "300",
163
+ "4": "400",
164
+ "5": "500",
165
+ "6": "600",
166
+ "7": "700",
167
+ "8": "800",
168
+ "9": "900"
169
+ });
170
+ var fontLetterspacing = typestyles.tokens.create("font-letterspacing", {
171
+ "0": "-.05em",
172
+ "1": ".025em",
173
+ "2": ".050em",
174
+ "3": ".075em",
175
+ "4": ".150em",
176
+ "5": ".500em",
177
+ "6": ".750em",
178
+ "7": "1em"
179
+ });
180
+ var fontLineheight = typestyles.tokens.create("font-lineheight", {
181
+ "00": ".95",
182
+ "0": "1.1",
183
+ "1": "1.25",
184
+ "2": "1.375",
185
+ "3": "1.5",
186
+ "4": "1.75",
187
+ "5": "2"
188
+ });
189
+ var zIndex = typestyles.tokens.create("zindex", {
190
+ "1": "100",
191
+ "2": "200",
192
+ "3": "300",
193
+ "4": "400",
194
+ "5": "500",
195
+ max: "9999"
196
+ });
197
+ var ratio = typestyles.tokens.create("ratio", {
198
+ square: "1",
199
+ landscape: "4/3",
200
+ portrait: "3/4",
201
+ widescreen: "16/9",
202
+ ultrawide: "18/5",
203
+ golden: "1.6180/1"
204
+ });
205
+ var gradient = typestyles.tokens.create("gradient", {
206
+ "1": "linear-gradient(to bottom right, #e0e7ff, #faf5ff, #f0fdfa)",
207
+ "2": "linear-gradient(to bottom right, #e0e7ff, #f5f3ff, #fdf4ff)",
208
+ "3": "linear-gradient(to bottom right, #e0e7ff, #f5f3ff, #faf5ff)",
209
+ "4": "linear-gradient(to bottom right, #c7d2fe, #e9d5ff, #f5d0fe)",
210
+ "5": "linear-gradient(to bottom right, #e0e7ff, #ddd6fe, #c4b5fd)",
211
+ "6": "linear-gradient(to bottom right, #c7d2fe, #ddd6fe, #c4b5fd)",
212
+ "7": "linear-gradient(to bottom right, #a5b4fc, #c4b5fd, #ddb6f2)",
213
+ "8": "linear-gradient(to bottom right, #a5b4fc, #a78bfa, #c4b5fd)",
214
+ "9": "linear-gradient(to bottom right, #818cf8, #a78bfa, #c084fc)",
215
+ "10": "linear-gradient(to bottom right, #818cf8, #a78bfa, #c4b5fd)",
216
+ "11": "linear-gradient(to bottom right, #6366f1, #8b5cf6, #a855f7)",
217
+ "12": "linear-gradient(to bottom right, #6366f1, #7c3aed, #8b5cf6)",
218
+ "13": "linear-gradient(to bottom right, #4f46e5, #7c3aed, #9333ea)",
219
+ "14": "linear-gradient(to bottom right, #4f46e5, #6d28d9, #9333ea)",
220
+ "15": "linear-gradient(to bottom right, #4338ca, #5b21b6, #7e22ce)",
221
+ "16": "linear-gradient(to bottom right, #3730a3, #4c1d95, #6b21a8)",
222
+ "17": "linear-gradient(to bottom right, #312e81, #4c1d95, #6b21a8)",
223
+ "18": "linear-gradient(to bottom right, #312e81, #3b0764, #581c87)",
224
+ "19": "linear-gradient(to bottom right, #1e1b4b, #2e1065, #4a044e)",
225
+ "20": "linear-gradient(to bottom right, #172554, #3b0764, #500724)",
226
+ "21": "linear-gradient(to bottom right, #172554, #701a75, #9f1239)",
227
+ "22": "linear-gradient(to bottom right, #0f172a, #831843, #9f1239)",
228
+ "23": "linear-gradient(to bottom right, #0f172a, #831843, #be123c)",
229
+ "24": "linear-gradient(to bottom right, #020617, #881337, #be123c)",
230
+ "25": "linear-gradient(to bottom right, #020617, #9f1239, #e11d48)",
231
+ "26": "linear-gradient(to bottom right, #030712, #9f1239, #e11d48)",
232
+ "27": "linear-gradient(to bottom right, #030712, #be123c, #fb7185)",
233
+ "28": "linear-gradient(to bottom right, #030712, #881337, #fda4af)",
234
+ "29": "linear-gradient(to bottom right, #030712, #4a044e, #f0abfc)",
235
+ "30": "linear-gradient(to bottom right, #030712, #2e1065, #c4b5fd)"
236
+ });
237
+ var media = typestyles.tokens.create("media", {
238
+ motion: "(prefers-reduced-motion: no-preference)",
239
+ motionReduce: "(prefers-reduced-motion: reduce)",
240
+ dark: "(prefers-color-scheme: dark)",
241
+ light: "(prefers-color-scheme: light)",
242
+ landscape: "(orientation: landscape)",
243
+ portrait: "(orientation: portrait)",
244
+ xs: "(min-width: 20rem)",
245
+ sm: "(min-width: 24rem)",
246
+ md: "(min-width: 28rem)",
247
+ lg: "(min-width: 32rem)",
248
+ xl: "(min-width: 36rem)",
249
+ "2xl": "(min-width: 42rem)",
250
+ "3xl": "(min-width: 48rem)",
251
+ "4xl": "(min-width: 56rem)",
252
+ "5xl": "(min-width: 64rem)",
253
+ "6xl": "(min-width: 72rem)",
254
+ "7xl": "(min-width: 80rem)",
255
+ "8xl": "(min-width: 96rem)",
256
+ "9xl": "(min-width: 100rem)"
257
+ });
258
+ var duration = typestyles.tokens.create("duration", {
259
+ "0": "0s",
260
+ "1": "0.05s",
261
+ "2": "0.1s",
262
+ "3": "0.2s",
263
+ "4": "0.4s",
264
+ "5": "0.8s"
265
+ });
266
+ var borderSize = typestyles.tokens.create("border-size", {
267
+ "0": "0",
268
+ "1": "1px",
269
+ "2": "2px",
270
+ "3": "4px",
271
+ "4": "8px",
272
+ "5": "16px"
273
+ });
274
+ var noise = typestyles.tokens.create("noise", {
275
+ "1": 'url("data:image/svg+xml,")',
276
+ "2": 'url("data:image/svg+xml,")',
277
+ "3": 'url("data:image/svg+xml,")',
278
+ "4": 'url("data:image/svg+xml,")',
279
+ "5": 'url("data:image/svg+xml,")',
280
+ "filter-1": "contrast(1.5) brightness(1.1)",
281
+ "filter-2": "contrast(1.5) brightness(1.1)",
282
+ "filter-3": "contrast(1.5) brightness(1.1)",
283
+ "filter-4": "contrast(1.5) brightness(1.1)",
284
+ "filter-5": "contrast(1.5) brightness(1.1)"
285
+ });
286
+ var colorValues = {};
287
+ var colors = [
288
+ "gray",
289
+ "stone",
290
+ "red",
291
+ "pink",
292
+ "purple",
293
+ "violet",
294
+ "indigo",
295
+ "blue",
296
+ "cyan",
297
+ "teal",
298
+ "green",
299
+ "lime",
300
+ "yellow",
301
+ "orange",
302
+ "choco",
303
+ "brown",
304
+ "sand",
305
+ "camo",
306
+ "jungle"
307
+ ];
308
+ var colorScales = {
309
+ gray: [
310
+ "#f8fafc",
311
+ "#f1f5f9",
312
+ "#e2e8f0",
313
+ "#cbd5e1",
314
+ "#94a3b8",
315
+ "#64748b",
316
+ "#475569",
317
+ "#334155",
318
+ "#1e293b",
319
+ "#0f172a",
320
+ "#020617",
321
+ "#000000",
322
+ "#000000"
323
+ ],
324
+ stone: [
325
+ "#fafaf9",
326
+ "#f5f5f4",
327
+ "#e7e5e4",
328
+ "#d6d3d1",
329
+ "#a8a29e",
330
+ "#78716c",
331
+ "#57534e",
332
+ "#44403c",
333
+ "#292524",
334
+ "#1c1917",
335
+ "#0c0a09",
336
+ "#000000",
337
+ "#000000"
338
+ ],
339
+ red: [
340
+ "#fef2f2",
341
+ "#fee2e2",
342
+ "#fecaca",
343
+ "#fca5a5",
344
+ "#f87171",
345
+ "#ef4444",
346
+ "#dc2626",
347
+ "#b91c1c",
348
+ "#991b1b",
349
+ "#7f1d1d",
350
+ "#450a0a",
351
+ "#000000",
352
+ "#000000"
353
+ ],
354
+ pink: [
355
+ "#fdf2f8",
356
+ "#fce7f3",
357
+ "#fbcfe8",
358
+ "#f9a8d4",
359
+ "#f472b6",
360
+ "#ec4899",
361
+ "#db2777",
362
+ "#be185d",
363
+ "#9d174d",
364
+ "#831843",
365
+ "#500724",
366
+ "#000000",
367
+ "#000000"
368
+ ],
369
+ purple: [
370
+ "#faf5ff",
371
+ "#f3e8ff",
372
+ "#e9d5ff",
373
+ "#d8b4fe",
374
+ "#c084fc",
375
+ "#a855f7",
376
+ "#9333ea",
377
+ "#7e22ce",
378
+ "#6b21a8",
379
+ "#581c87",
380
+ "#3b0764",
381
+ "#000000",
382
+ "#000000"
383
+ ],
384
+ violet: [
385
+ "#f5f3ff",
386
+ "#ede9fe",
387
+ "#ddd6fe",
388
+ "#c4b5fd",
389
+ "#a78bfa",
390
+ "#8b5cf6",
391
+ "#7c3aed",
392
+ "#6d28d9",
393
+ "#5b21b6",
394
+ "#4c1d95",
395
+ "#2e1065",
396
+ "#000000",
397
+ "#000000"
398
+ ],
399
+ indigo: [
400
+ "#eef2ff",
401
+ "#e0e7ff",
402
+ "#c7d2fe",
403
+ "#a5b4fc",
404
+ "#818cf8",
405
+ "#6366f1",
406
+ "#4f46e5",
407
+ "#4338ca",
408
+ "#3730a3",
409
+ "#312e81",
410
+ "#1e1b4b",
411
+ "#000000",
412
+ "#000000"
413
+ ],
414
+ blue: [
415
+ "#eff6ff",
416
+ "#dbeafe",
417
+ "#bfdbfe",
418
+ "#93c5fd",
419
+ "#60a5fa",
420
+ "#3b82f6",
421
+ "#2563eb",
422
+ "#1d4ed8",
423
+ "#1e40af",
424
+ "#1e3a8a",
425
+ "#172554",
426
+ "#000000",
427
+ "#000000"
428
+ ],
429
+ cyan: [
430
+ "#ecfeff",
431
+ "#cffafe",
432
+ "#a5f3fc",
433
+ "#67e8f9",
434
+ "#22d3ee",
435
+ "#06b6d4",
436
+ "#0891b2",
437
+ "#0e7490",
438
+ "#155e75",
439
+ "#164e63",
440
+ "#083344",
441
+ "#000000",
442
+ "#000000"
443
+ ],
444
+ teal: [
445
+ "#f0fdfa",
446
+ "#ccfbf1",
447
+ "#99f6e4",
448
+ "#5eead4",
449
+ "#2dd4bf",
450
+ "#14b8a6",
451
+ "#0d9488",
452
+ "#0f766e",
453
+ "#115e59",
454
+ "#134e4a",
455
+ "#042f2e",
456
+ "#000000",
457
+ "#000000"
458
+ ],
459
+ green: [
460
+ "#f0fdf4",
461
+ "#dcfce7",
462
+ "#bbf7d0",
463
+ "#86efac",
464
+ "#4ade80",
465
+ "#22c55e",
466
+ "#16a34a",
467
+ "#15803d",
468
+ "#166534",
469
+ "#14532d",
470
+ "#052e16",
471
+ "#000000",
472
+ "#000000"
473
+ ],
474
+ lime: [
475
+ "#f7fee7",
476
+ "#ecfccb",
477
+ "#d9f99d",
478
+ "#bef264",
479
+ "#a3e635",
480
+ "#84cc16",
481
+ "#65a30d",
482
+ "#4d7c0f",
483
+ "#3f6212",
484
+ "#365314",
485
+ "#1a2e05",
486
+ "#000000",
487
+ "#000000"
488
+ ],
489
+ yellow: [
490
+ "#fefce8",
491
+ "#fef9c3",
492
+ "#fef08a",
493
+ "#fde047",
494
+ "#facc15",
495
+ "#eab308",
496
+ "#ca8a04",
497
+ "#a16207",
498
+ "#854d0e",
499
+ "#713f12",
500
+ "#422006",
501
+ "#000000",
502
+ "#000000"
503
+ ],
504
+ orange: [
505
+ "#fff7ed",
506
+ "#ffedd5",
507
+ "#fed7aa",
508
+ "#fdba74",
509
+ "#fb923c",
510
+ "#f97316",
511
+ "#ea580c",
512
+ "#c2410c",
513
+ "#9a3412",
514
+ "#7c2d12",
515
+ "#431407",
516
+ "#000000",
517
+ "#000000"
518
+ ],
519
+ choco: [
520
+ "#fefae7",
521
+ "#f7f3d8",
522
+ "#eee4b8",
523
+ "#e2d28a",
524
+ "#d6be66",
525
+ "#cba84a",
526
+ "#bc8f3c",
527
+ "#9f742e",
528
+ "#825a22",
529
+ "#664118",
530
+ "#4a2d0f",
531
+ "#000000",
532
+ "#000000"
533
+ ],
534
+ brown: [
535
+ "#faf8f5",
536
+ "#f0ebe3",
537
+ "#e3d6c8",
538
+ "#d2bba3",
539
+ "#be9d7d",
540
+ "#ab825e",
541
+ "#956843",
542
+ "#7a4f2d",
543
+ "#5f3a1c",
544
+ "#47280f",
545
+ "#2e1605",
546
+ "#000000",
547
+ "#000000"
548
+ ],
549
+ sand: [
550
+ "#fcfbf9",
551
+ "#f5f2ed",
552
+ "#e8e4db",
553
+ "#d6d1c3",
554
+ "#bfb6a3",
555
+ "#a69682",
556
+ "#8d7a65",
557
+ "#756151",
558
+ "#5d4a3e",
559
+ "#47382e",
560
+ "#31241d",
561
+ "#000000",
562
+ "#000000"
563
+ ],
564
+ camo: [
565
+ "#f5f5f0",
566
+ "#e8e8dd",
567
+ "#d4d4c4",
568
+ "#b5b5a2",
569
+ "#989878",
570
+ "#7c7d5e",
571
+ "#626449",
572
+ "#4d4e38",
573
+ "#3b3c2c",
574
+ "#2c2c21",
575
+ "#1c1c14",
576
+ "#000000",
577
+ "#000000"
578
+ ],
579
+ jungle: [
580
+ "#f3f7f2",
581
+ "#e2ebe1",
582
+ "#c5d9c6",
583
+ "#9fc1a3",
584
+ "#7aa67d",
585
+ "#5c8c60",
586
+ "#46734a",
587
+ "#375b3b",
588
+ "#2b472e",
589
+ "#213624",
590
+ "#152217",
591
+ "#000000",
592
+ "#000000"
593
+ ]
594
+ };
595
+ for (const colorName of colors) {
596
+ const scale = colorScales[colorName];
597
+ if (scale) {
598
+ scale.forEach((value, index) => {
599
+ colorValues[`${colorName}-${index}`] = value;
600
+ });
601
+ }
602
+ }
603
+ var color = typestyles.tokens.create("color", colorValues);
604
+ var brand = typestyles.tokens.create("brand", {
605
+ facebook: "#1877f2",
606
+ youtube: "#ff0000",
607
+ twitter: "#1da1f2",
608
+ whatsapp: "#25d366",
609
+ instagram: "#c13584",
610
+ "instagram-yellow": "#fccc63",
611
+ "instagram-red": "#f56040",
612
+ "instagram-magenta": "#c13584",
613
+ "instagram-blue": "#405de6",
614
+ snapchat: "#fffc00",
615
+ google: "#4285f4",
616
+ "google-blue": "#4285f4",
617
+ "google-red": "#ea4335",
618
+ "google-yellow": "#fbbc05",
619
+ "google-green": "#34a853",
620
+ tiktok: "#000000",
621
+ "tiktok-razzmatazz": "#fe2c55",
622
+ "tiktok-splash": "#25f4ee",
623
+ microsoft: "#00a4ef",
624
+ "microsoft-blue": "#00a4ef",
625
+ "microsoft-red": "#f25022",
626
+ "microsoft-green": "#7fba00",
627
+ "microsoft-yellow": "#ffb900",
628
+ pinterest: "#e60023",
629
+ spotify: "#1db954",
630
+ discord: "#5865f2",
631
+ telegram: "#0088cc",
632
+ reddit: "#ff4500",
633
+ amazon: "#ff9900",
634
+ twitch: "#9146ff"
635
+ });
636
+ var font = typestyles.tokens.create("font", {
637
+ "system-ui": "system-ui, sans-serif",
638
+ transitional: "Charter, Bitstream Charter, Sitka Text, Cambria, serif",
639
+ "old-style": "Iowan Old Style, Palatino Linotype, URW Palladio L, P052, serif",
640
+ humanist: "Seravek, Gill Sans Nova, Ubuntu, Calibri, DejaVu Sans, source-sans-pro, sans-serif",
641
+ "geometric-humanist": "Avenir, Montserrat, Corbel, URW Gothic, source-sans-pro, sans-serif",
642
+ "classical-humanist": "Optima, Candara, Noto Sans, source-sans-pro, sans-serif",
643
+ "neo-grotesque": "Inter, Roboto, Helvetica Neue, Arial Nova, Nimbus Sans, Arial, sans-serif",
644
+ "monospace-slab-serif": "Nimbus Mono PS, Courier New, monospace",
645
+ "monospace-code": "Dank Mono, Operator Mono, Inconsolata, Fira Mono, ui-monospace, SF Mono, Monaco, Droid Sans Mono, Source Code Pro, Cascadia Code, Menlo, Consolas, DejaVu Sans Mono, monospace",
646
+ industrial: "Bahnschrift, DIN Alternate, Franklin Gothic Medium, Nimbus Sans Narrow, sans-serif-condensed, sans-serif",
647
+ "rounded-sans": "ui-rounded, Hiragino Maru Gothic ProN, Quicksand, Comfortaa, Manjari, Arial Rounded MT, Arial Rounded MT Bold, Calibri, source-sans-pro, sans-serif",
648
+ "slab-serif": "Rockwell, Rockwell Nova, Roboto Slab, DejaVu Serif, Sitka Small, serif",
649
+ antique: "Superclarendon, Bookman Old Style, URW Bookman, URW Bookman L, Georgia Pro, Georgia, serif",
650
+ didone: "Didot, Bodoni MT, Noto Serif Display, URW Palladio L, P052, Sylfaen, serif",
651
+ handwritten: "Segoe Print, Bradley Hand, Chilanka, TSCu_Comic, casual, cursive",
652
+ sans: 'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
653
+ serif: 'Georgia, Cambria, "Times New Roman", Times, serif',
654
+ mono: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
655
+ });
656
+ var palette = typestyles.tokens.create("palette", {
657
+ "1": "oklch(97% .014 260)",
658
+ "2": "oklch(94% .028 261)",
659
+ "3": "oklch(88% .057 261)",
660
+ "4": "oklch(81% .081 262)",
661
+ "5": "oklch(73% .12 262)",
662
+ "6": "oklch(65% .15 262)",
663
+ "7": "oklch(56% .19 262)",
664
+ "8": "oklch(50% .22 262)",
665
+ "9": "oklch(45% .24 261)",
666
+ "10": "oklch(40% .24 259)",
667
+ "11": "oklch(35% .22 259)",
668
+ "12": "oklch(32% .2 259)",
669
+ "13": "oklch(30% .18 259)",
670
+ "14": "oklch(30% .16 259)",
671
+ "15": "oklch(29% .14 259)",
672
+ "16": "oklch(27% .12 259)"
673
+ });
674
+ var masksEdges = typestyles.tokens.create("masks-edge", {
675
+ "0": "linear-gradient(to right, #000 90%, transparent 90% 100%)",
676
+ "1": "linear-gradient(to right, #000 80%, transparent 80% 100%)",
677
+ "2": "linear-gradient(to right, #000 70%, transparent 70% 100%)",
678
+ "3": "linear-gradient(to right, #000 60%, transparent 60% 100%)",
679
+ "4": "linear-gradient(to right, #000 50%, transparent 50% 100%)"
680
+ });
681
+ var masksCornerCuts = typestyles.tokens.create("masks-corner-cuts", {
682
+ "1": "polygon(0 8%, 8% 0, 100% 0, 100% 100%, 0 100%)",
683
+ "2": "polygon(0 15%, 15% 0, 100% 0, 100% 100%, 0 100%)",
684
+ "3": "polygon(0 22%, 22% 0, 100% 0, 100% 100%, 0 100%)",
685
+ "4": "polygon(0 30%, 30% 0, 100% 0, 100% 100%, 0 100%)",
686
+ "5": "polygon(0 8%, 8% 0, 92% 0, 100% 8%, 100% 100%, 0 100%)",
687
+ "6": "polygon(0 15%, 15% 0, 85% 0, 100% 15%, 100% 100%, 0 100%)"
688
+ });
689
+ function useOpenProps(namespace) {
690
+ return typestyles.tokens.use(namespace);
691
+ }
692
+
693
+ Object.defineProperty(exports, "tokens", {
694
+ enumerable: true,
695
+ get: function () { return typestyles.tokens; }
696
+ });
697
+ exports.animation = animation;
698
+ exports.borderSize = borderSize;
699
+ exports.brand = brand;
700
+ exports.color = color;
701
+ exports.duration = duration;
702
+ exports.easing = easing;
703
+ exports.font = font;
704
+ exports.fontLetterspacing = fontLetterspacing;
705
+ exports.fontLineheight = fontLineheight;
706
+ exports.fontSize = fontSize;
707
+ exports.fontWeight = fontWeight;
708
+ exports.gradient = gradient;
709
+ exports.masksCornerCuts = masksCornerCuts;
710
+ exports.masksEdges = masksEdges;
711
+ exports.media = media;
712
+ exports.noise = noise;
713
+ exports.palette = palette;
714
+ exports.radius = radius;
715
+ exports.ratio = ratio;
716
+ exports.shadow = shadow;
717
+ exports.sizes = sizes;
718
+ exports.useOpenProps = useOpenProps;
719
+ exports.zIndex = zIndex;
720
+ //# sourceMappingURL=index.cjs.map
721
+ //# sourceMappingURL=index.cjs.map