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