@phcdevworks/spectre-tokens 0.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,330 @@
1
+ {
2
+ "colors": {
3
+ "brand": {
4
+ "50": "#f5f0ff",
5
+ "100": "#ebe2ff",
6
+ "200": "#d7c6ff",
7
+ "300": "#bfa1ff",
8
+ "400": "#a37aff",
9
+ "500": "#8652ff",
10
+ "600": "#6c32e6",
11
+ "700": "#5626b4",
12
+ "800": "#3d1b7f",
13
+ "900": "#241147"
14
+ },
15
+ "neutral": {
16
+ "50": "#f8fafc",
17
+ "100": "#f1f5f9",
18
+ "200": "#e2e8f0",
19
+ "300": "#cbd5f5",
20
+ "400": "#94a3b8",
21
+ "500": "#64748b",
22
+ "600": "#475569",
23
+ "700": "#334155",
24
+ "800": "#1e293b",
25
+ "900": "#0f172a"
26
+ },
27
+ "accent": {
28
+ "50": "#e5fff8",
29
+ "100": "#b8ffed",
30
+ "200": "#89ffe1",
31
+ "300": "#59ffd6",
32
+ "400": "#29ffca",
33
+ "500": "#03e6b3",
34
+ "600": "#00b389",
35
+ "700": "#008060",
36
+ "800": "#004d38",
37
+ "900": "#002a20"
38
+ },
39
+ "success": {
40
+ "50": "#f0fdf4",
41
+ "100": "#dcfce7",
42
+ "200": "#bbf7d0",
43
+ "300": "#86efac",
44
+ "400": "#4ade80",
45
+ "500": "#22c55e",
46
+ "600": "#16a34a",
47
+ "700": "#15803d",
48
+ "800": "#166534",
49
+ "900": "#14532d"
50
+ },
51
+ "warning": {
52
+ "50": "#fffbeb",
53
+ "100": "#fef3c7",
54
+ "200": "#fde68a",
55
+ "300": "#fcd34d",
56
+ "400": "#fbbf24",
57
+ "500": "#f59e0b",
58
+ "600": "#d97706",
59
+ "700": "#b45309",
60
+ "800": "#92400e",
61
+ "900": "#78350f"
62
+ },
63
+ "error": {
64
+ "50": "#fef2f2",
65
+ "100": "#fee2e2",
66
+ "200": "#fecaca",
67
+ "300": "#fca5a5",
68
+ "400": "#f87171",
69
+ "500": "#ef4444",
70
+ "600": "#dc2626",
71
+ "700": "#b91c1c",
72
+ "800": "#991b1b",
73
+ "900": "#7f1d1d"
74
+ },
75
+ "info": {
76
+ "50": "#eff6ff",
77
+ "100": "#dbeafe",
78
+ "200": "#bfdbfe",
79
+ "300": "#93c5fd",
80
+ "400": "#60a5fa",
81
+ "500": "#3b82f6",
82
+ "600": "#2563eb",
83
+ "700": "#1d4ed8",
84
+ "800": "#1e40af",
85
+ "900": "#1e3a8a"
86
+ },
87
+ "focus": {
88
+ "primary": "#8652ff",
89
+ "error": "#ef4444",
90
+ "info": "#3b82f6"
91
+ }
92
+ },
93
+ "opacity": {
94
+ "disabled": "0.38",
95
+ "hover": "0.92",
96
+ "active": "0.84",
97
+ "focus": "1",
98
+ "overlay": "0.5",
99
+ "tooltip": "0.95"
100
+ },
101
+ "accessibility": {
102
+ "focusRing": {
103
+ "width": "2px",
104
+ "offset": "2px",
105
+ "style": "solid"
106
+ },
107
+ "minTouchTarget": "44px",
108
+ "minTextSize": "16px"
109
+ },
110
+ "buttons": {
111
+ "primary": {
112
+ "bg": "#8652ff",
113
+ "bgHover": "#6c32e6",
114
+ "bgActive": "#5626b4",
115
+ "bgDisabled": "#cbd5f5",
116
+ "text": "#ffffff",
117
+ "textDisabled": "#94a3b8"
118
+ },
119
+ "secondary": {
120
+ "bg": "#ffffff",
121
+ "bgHover": "#f1f5f9",
122
+ "bgActive": "#e2e8f0",
123
+ "bgDisabled": "#f8fafc",
124
+ "text": "#8652ff",
125
+ "textDisabled": "#94a3b8",
126
+ "border": "#8652ff",
127
+ "borderDisabled": "#cbd5f5"
128
+ },
129
+ "ghost": {
130
+ "bg": "transparent",
131
+ "bgHover": "#f5f0ff",
132
+ "bgActive": "#ebe2ff",
133
+ "bgDisabled": "transparent",
134
+ "text": "#8652ff",
135
+ "textDisabled": "#94a3b8"
136
+ },
137
+ "danger": {
138
+ "bg": "#ef4444",
139
+ "bgHover": "#dc2626",
140
+ "bgActive": "#b91c1c",
141
+ "bgDisabled": "#fecaca",
142
+ "text": "#ffffff",
143
+ "textDisabled": "#94a3b8"
144
+ },
145
+ "success": {
146
+ "bg": "#22c55e",
147
+ "bgHover": "#16a34a",
148
+ "bgActive": "#15803d",
149
+ "bgDisabled": "#bbf7d0",
150
+ "text": "#ffffff",
151
+ "textDisabled": "#94a3b8"
152
+ }
153
+ },
154
+ "forms": {
155
+ "default": {
156
+ "bg": "#ffffff",
157
+ "border": "#cbd5f5",
158
+ "text": "#0f172a",
159
+ "placeholder": "#94a3b8"
160
+ },
161
+ "hover": {
162
+ "border": "#8652ff"
163
+ },
164
+ "focus": {
165
+ "border": "#8652ff",
166
+ "ring": "#8652ff"
167
+ },
168
+ "valid": {
169
+ "border": "#22c55e",
170
+ "bg": "#f0fdf4",
171
+ "text": "#15803d"
172
+ },
173
+ "invalid": {
174
+ "border": "#ef4444",
175
+ "bg": "#fef2f2",
176
+ "text": "#b91c1c"
177
+ },
178
+ "disabled": {
179
+ "bg": "#f8fafc",
180
+ "border": "#e2e8f0",
181
+ "text": "#94a3b8"
182
+ }
183
+ },
184
+ "spacing": {
185
+ "none": "0rem",
186
+ "3xs": "0.125rem",
187
+ "2xs": "0.25rem",
188
+ "xs": "0.5rem",
189
+ "sm": "0.75rem",
190
+ "md": "1rem",
191
+ "lg": "1.5rem",
192
+ "xl": "2rem",
193
+ "2xl": "3rem",
194
+ "3xl": "4rem"
195
+ },
196
+ "radii": {
197
+ "none": "0",
198
+ "sm": "2px",
199
+ "md": "4px",
200
+ "lg": "8px",
201
+ "pill": "999px"
202
+ },
203
+ "typography": {
204
+ "families": {
205
+ "sans": "'Inter', 'Helvetica Neue', Arial, sans-serif",
206
+ "serif": "'Spectre Serif', 'Georgia', serif",
207
+ "mono": "'JetBrains Mono', 'SFMono-Regular', Consolas, monospace"
208
+ },
209
+ "scale": {
210
+ "xs": {
211
+ "fontSize": "0.75rem",
212
+ "lineHeight": "1.25rem",
213
+ "fontWeight": 400,
214
+ "letterSpacing": "0.02em"
215
+ },
216
+ "sm": {
217
+ "fontSize": "0.875rem",
218
+ "lineHeight": "1.5rem",
219
+ "fontWeight": 400
220
+ },
221
+ "md": {
222
+ "fontSize": "1rem",
223
+ "lineHeight": "1.75rem",
224
+ "fontWeight": 500
225
+ },
226
+ "lg": {
227
+ "fontSize": "1.25rem",
228
+ "lineHeight": "2rem",
229
+ "fontWeight": 600
230
+ },
231
+ "xl": {
232
+ "fontSize": "1.5rem",
233
+ "lineHeight": "2.125rem",
234
+ "fontWeight": 600
235
+ },
236
+ "2xl": {
237
+ "fontSize": "1.875rem",
238
+ "lineHeight": "2.5rem",
239
+ "fontWeight": 700
240
+ },
241
+ "3xl": {
242
+ "fontSize": "2.25rem",
243
+ "lineHeight": "2.75rem",
244
+ "fontWeight": 700
245
+ }
246
+ }
247
+ },
248
+ "shadows": {
249
+ "none": "none",
250
+ "sm": "0 1px 2px 0 rgba(15, 23, 42, 0.08)",
251
+ "md": "0 3px 8px -1px rgba(15, 23, 42, 0.1)",
252
+ "lg": "0 8px 20px -4px rgba(15, 23, 42, 0.18)"
253
+ },
254
+ "breakpoints": {
255
+ "sm": "640px",
256
+ "md": "768px",
257
+ "lg": "1024px",
258
+ "xl": "1280px",
259
+ "2xl": "1536px"
260
+ },
261
+ "zIndex": {
262
+ "base": "0",
263
+ "dropdown": "1000",
264
+ "sticky": "1100",
265
+ "fixed": "1200",
266
+ "overlay": "1300",
267
+ "modal": "1400",
268
+ "popover": "1500",
269
+ "tooltip": "1600"
270
+ },
271
+ "transitions": {
272
+ "duration": {
273
+ "instant": "75ms",
274
+ "fast": "150ms",
275
+ "base": "200ms",
276
+ "moderate": "300ms",
277
+ "slow": "500ms",
278
+ "slower": "700ms"
279
+ },
280
+ "easing": {
281
+ "linear": "linear",
282
+ "in": "cubic-bezier(0.4, 0, 1, 1)",
283
+ "out": "cubic-bezier(0, 0, 0.2, 1)",
284
+ "inOut": "cubic-bezier(0.4, 0, 0.2, 1)",
285
+ "spring": "cubic-bezier(0.34, 1.56, 0.64, 1)"
286
+ }
287
+ },
288
+ "animations": {
289
+ "fadeIn": {
290
+ "duration": "200ms",
291
+ "easing": "cubic-bezier(0, 0, 0.2, 1)",
292
+ "keyframes": "fade-in"
293
+ },
294
+ "fadeOut": {
295
+ "duration": "150ms",
296
+ "easing": "cubic-bezier(0.4, 0, 1, 1)",
297
+ "keyframes": "fade-out"
298
+ },
299
+ "slideUp": {
300
+ "duration": "300ms",
301
+ "easing": "cubic-bezier(0, 0, 0.2, 1)",
302
+ "keyframes": "slide-up"
303
+ },
304
+ "slideDown": {
305
+ "duration": "300ms",
306
+ "easing": "cubic-bezier(0, 0, 0.2, 1)",
307
+ "keyframes": "slide-down"
308
+ },
309
+ "scaleIn": {
310
+ "duration": "200ms",
311
+ "easing": "cubic-bezier(0.34, 1.56, 0.64, 1)",
312
+ "keyframes": "scale-in"
313
+ },
314
+ "bounce": {
315
+ "duration": "500ms",
316
+ "easing": "cubic-bezier(0.34, 1.56, 0.64, 1)",
317
+ "keyframes": "bounce"
318
+ },
319
+ "shake": {
320
+ "duration": "400ms",
321
+ "easing": "cubic-bezier(0.4, 0, 0.2, 1)",
322
+ "keyframes": "shake"
323
+ },
324
+ "pulse": {
325
+ "duration": "1500ms",
326
+ "easing": "cubic-bezier(0.4, 0, 0.2, 1)",
327
+ "keyframes": "pulse"
328
+ }
329
+ }
330
+ }