@recanica/tokens 0.0.0-stage → 0.2.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.
@@ -0,0 +1,223 @@
1
+ // GENERATED by @recanica/tokens (scripts/build.mjs) from tokens/*.json. Do not edit.
2
+ export declare const tokens: {
3
+ "color": {
4
+ "light": {
5
+ "background": "#ffffff",
6
+ "foreground": "#0d0d0d",
7
+ "surface": "#fafafa",
8
+ "panel": "#ffffff",
9
+ "card": "#ffffff",
10
+ "cardForeground": "#0d0d0d",
11
+ "popover": "#ffffff",
12
+ "popoverForeground": "#0d0d0d",
13
+ "primary": "#0d0d0d",
14
+ "primaryForeground": "#fafafa",
15
+ "secondary": "#f4f4f4",
16
+ "secondaryForeground": "#161616",
17
+ "muted": "#f4f4f4",
18
+ "mutedForeground": "#737373",
19
+ "accent": "#f4f4f4",
20
+ "accentForeground": "#161616",
21
+ "brand": "#161616",
22
+ "brandForeground": "#ffffff",
23
+ "destructive": "#db4241",
24
+ "destructiveForeground": "#ffffff",
25
+ "success": "#46a16b",
26
+ "warning": "#dda552",
27
+ "border": "#e5e5e5",
28
+ "input": "#e5e5e5",
29
+ "ring": "#737373",
30
+ "sidebar": "#f4f4f4",
31
+ "sidebarForeground": "#737373",
32
+ "sidebarAccent": "#e5e5e5",
33
+ "sidebarBorder": "#e5e5e5",
34
+ "sidebarPrimary": "#0d0d0d",
35
+ "sidebarPrimaryForeground": "#ffffff",
36
+ "sidebarAccentForeground": "#0d0d0d",
37
+ "sidebarRing": "#737373",
38
+ "chart1": "#0d0d0d",
39
+ "chart2": "#404040",
40
+ "chart3": "#737373",
41
+ "chart4": "#a1a1a1",
42
+ "chart5": "#d4d4d4"
43
+ },
44
+ "dark": {
45
+ "background": "#020202",
46
+ "foreground": "#fafafa",
47
+ "surface": "#0d0d0d",
48
+ "panel": "#0d0d0d",
49
+ "card": "#0d0d0d",
50
+ "cardForeground": "#fafafa",
51
+ "popover": "#161616",
52
+ "popoverForeground": "#fafafa",
53
+ "primary": "#fafafa",
54
+ "primaryForeground": "#0d0d0d",
55
+ "secondary": "#161616",
56
+ "secondaryForeground": "#f4f4f4",
57
+ "muted": "#161616",
58
+ "mutedForeground": "#8c8c8c",
59
+ "accent": "#161616",
60
+ "accentForeground": "#fafafa",
61
+ "brand": "#cfd1d4",
62
+ "brandForeground": "#0d0d0d",
63
+ "destructive": "#ea6a6a",
64
+ "destructiveForeground": "#ffffff",
65
+ "success": "#46a16b",
66
+ "warning": "#dda552",
67
+ "border": "#1e1e1e",
68
+ "input": "#262626",
69
+ "ring": "#afb1b4",
70
+ "sidebar": "#020202",
71
+ "sidebarForeground": "#8c8c8c",
72
+ "sidebarAccent": "#161616",
73
+ "sidebarBorder": "#1e1e1e",
74
+ "sidebarPrimary": "#fafafa",
75
+ "sidebarPrimaryForeground": "#0d0d0d",
76
+ "sidebarAccentForeground": "#fafafa",
77
+ "sidebarRing": "#afb1b4",
78
+ "chart1": "#fafafa",
79
+ "chart2": "#cfd1d4",
80
+ "chart3": "#8a8c90",
81
+ "chart4": "#525252",
82
+ "chart5": "#404040"
83
+ }
84
+ },
85
+ "primitive": {
86
+ "gray-0": "#ffffff",
87
+ "gray-50": "#fafafa",
88
+ "gray-100": "#f4f4f4",
89
+ "gray-200": "#e5e5e5",
90
+ "gray-300": "#d4d4d4",
91
+ "gray-400": "#a1a1a1",
92
+ "gray-450": "#8c8c8c",
93
+ "gray-500": "#737373",
94
+ "gray-600": "#525252",
95
+ "gray-700": "#404040",
96
+ "gray-800": "#262626",
97
+ "gray-850": "#1e1e1e",
98
+ "gray-900": "#161616",
99
+ "gray-950": "#0d0d0d",
100
+ "gray-1000": "#020202",
101
+ "silver-50": "#f6f7f8",
102
+ "silver-100": "#e7e8ea",
103
+ "silver-200": "#cfd1d4",
104
+ "silver-300": "#afb1b4",
105
+ "silver-400": "#8a8c90",
106
+ "silver-500": "#67696c",
107
+ "red-400": "#ea6a6a",
108
+ "red-500": "#db4241",
109
+ "green-500": "#46a16b",
110
+ "amber-500": "#dda552"
111
+ },
112
+ "radius": {
113
+ "base": 12,
114
+ "sm": 8,
115
+ "md": 10,
116
+ "lg": 12,
117
+ "xl": 16,
118
+ "2xl": 20,
119
+ "full": 9999
120
+ },
121
+ "spacing": {
122
+ "unit": 4,
123
+ "gutter": 16,
124
+ "section": 64,
125
+ "sectionSm": 48,
126
+ "panel": 28,
127
+ "stack": 40,
128
+ "sidebar": 240,
129
+ "flow": 20,
130
+ "group": 12,
131
+ "insetSm": 16,
132
+ "inset": 20
133
+ },
134
+ "container": {
135
+ "content": 1152,
136
+ "narrow": 768,
137
+ "copy": 640
138
+ },
139
+ "font": {
140
+ "sans": [
141
+ "Geist",
142
+ "ui-sans-serif",
143
+ "system-ui",
144
+ "sans-serif"
145
+ ],
146
+ "mono": [
147
+ "Geist Mono",
148
+ "ui-monospace",
149
+ "monospace"
150
+ ],
151
+ "weight": {
152
+ "light": 300,
153
+ "regular": 400,
154
+ "medium": 500
155
+ }
156
+ },
157
+ "text": {
158
+ "xs": {
159
+ "fontSize": 12,
160
+ "lineHeight": 1.333,
161
+ "letterSpacing": 0
162
+ },
163
+ "sm": {
164
+ "fontSize": 14,
165
+ "lineHeight": 1.43,
166
+ "letterSpacing": 0
167
+ },
168
+ "base": {
169
+ "fontSize": 16,
170
+ "lineHeight": 1.5,
171
+ "letterSpacing": 0
172
+ },
173
+ "heading": {
174
+ "fontSize": 24,
175
+ "lineHeight": 1.25,
176
+ "letterSpacing": -0.015
177
+ },
178
+ "title": {
179
+ "fontSize": 30,
180
+ "lineHeight": 1.2,
181
+ "letterSpacing": -0.02
182
+ },
183
+ "metric": {
184
+ "fontSize": 40,
185
+ "lineHeight": 1,
186
+ "letterSpacing": -0.03
187
+ },
188
+ "displaySm": {
189
+ "fontSize": 36,
190
+ "lineHeight": 1.1,
191
+ "letterSpacing": 0
192
+ },
193
+ "displayMd": {
194
+ "fontSize": 48,
195
+ "lineHeight": 1.05,
196
+ "letterSpacing": 0
197
+ },
198
+ "displayLg": {
199
+ "fontSize": 64,
200
+ "lineHeight": 1,
201
+ "letterSpacing": -0.035
202
+ }
203
+ },
204
+ "duration": {
205
+ "fast": 150,
206
+ "base": 200,
207
+ "slow": 300,
208
+ "slower": 700
209
+ },
210
+ "easing": {
211
+ "outSoft": [
212
+ 0.22,
213
+ 1,
214
+ 0.36,
215
+ 1
216
+ ]
217
+ },
218
+ "shadow": {
219
+ "soft": "0 1px 2px 0 #0000000a, 0 4px 16px -4px #00000014",
220
+ "float": "0 2px 4px 0 #0000000a, 0 16px 40px -8px #00000029"
221
+ }
222
+ };
223
+ export default tokens;
@@ -0,0 +1,223 @@
1
+ // GENERATED by @recanica/tokens (scripts/build.mjs) from tokens/*.json. Do not edit.
2
+ export const tokens = {
3
+ "color": {
4
+ "light": {
5
+ "background": "#ffffff",
6
+ "foreground": "#0d0d0d",
7
+ "surface": "#fafafa",
8
+ "panel": "#ffffff",
9
+ "card": "#ffffff",
10
+ "cardForeground": "#0d0d0d",
11
+ "popover": "#ffffff",
12
+ "popoverForeground": "#0d0d0d",
13
+ "primary": "#0d0d0d",
14
+ "primaryForeground": "#fafafa",
15
+ "secondary": "#f4f4f4",
16
+ "secondaryForeground": "#161616",
17
+ "muted": "#f4f4f4",
18
+ "mutedForeground": "#737373",
19
+ "accent": "#f4f4f4",
20
+ "accentForeground": "#161616",
21
+ "brand": "#161616",
22
+ "brandForeground": "#ffffff",
23
+ "destructive": "#db4241",
24
+ "destructiveForeground": "#ffffff",
25
+ "success": "#46a16b",
26
+ "warning": "#dda552",
27
+ "border": "#e5e5e5",
28
+ "input": "#e5e5e5",
29
+ "ring": "#737373",
30
+ "sidebar": "#f4f4f4",
31
+ "sidebarForeground": "#737373",
32
+ "sidebarAccent": "#e5e5e5",
33
+ "sidebarBorder": "#e5e5e5",
34
+ "sidebarPrimary": "#0d0d0d",
35
+ "sidebarPrimaryForeground": "#ffffff",
36
+ "sidebarAccentForeground": "#0d0d0d",
37
+ "sidebarRing": "#737373",
38
+ "chart1": "#0d0d0d",
39
+ "chart2": "#404040",
40
+ "chart3": "#737373",
41
+ "chart4": "#a1a1a1",
42
+ "chart5": "#d4d4d4"
43
+ },
44
+ "dark": {
45
+ "background": "#020202",
46
+ "foreground": "#fafafa",
47
+ "surface": "#0d0d0d",
48
+ "panel": "#0d0d0d",
49
+ "card": "#0d0d0d",
50
+ "cardForeground": "#fafafa",
51
+ "popover": "#161616",
52
+ "popoverForeground": "#fafafa",
53
+ "primary": "#fafafa",
54
+ "primaryForeground": "#0d0d0d",
55
+ "secondary": "#161616",
56
+ "secondaryForeground": "#f4f4f4",
57
+ "muted": "#161616",
58
+ "mutedForeground": "#8c8c8c",
59
+ "accent": "#161616",
60
+ "accentForeground": "#fafafa",
61
+ "brand": "#cfd1d4",
62
+ "brandForeground": "#0d0d0d",
63
+ "destructive": "#ea6a6a",
64
+ "destructiveForeground": "#ffffff",
65
+ "success": "#46a16b",
66
+ "warning": "#dda552",
67
+ "border": "#1e1e1e",
68
+ "input": "#262626",
69
+ "ring": "#afb1b4",
70
+ "sidebar": "#020202",
71
+ "sidebarForeground": "#8c8c8c",
72
+ "sidebarAccent": "#161616",
73
+ "sidebarBorder": "#1e1e1e",
74
+ "sidebarPrimary": "#fafafa",
75
+ "sidebarPrimaryForeground": "#0d0d0d",
76
+ "sidebarAccentForeground": "#fafafa",
77
+ "sidebarRing": "#afb1b4",
78
+ "chart1": "#fafafa",
79
+ "chart2": "#cfd1d4",
80
+ "chart3": "#8a8c90",
81
+ "chart4": "#525252",
82
+ "chart5": "#404040"
83
+ }
84
+ },
85
+ "primitive": {
86
+ "gray-0": "#ffffff",
87
+ "gray-50": "#fafafa",
88
+ "gray-100": "#f4f4f4",
89
+ "gray-200": "#e5e5e5",
90
+ "gray-300": "#d4d4d4",
91
+ "gray-400": "#a1a1a1",
92
+ "gray-450": "#8c8c8c",
93
+ "gray-500": "#737373",
94
+ "gray-600": "#525252",
95
+ "gray-700": "#404040",
96
+ "gray-800": "#262626",
97
+ "gray-850": "#1e1e1e",
98
+ "gray-900": "#161616",
99
+ "gray-950": "#0d0d0d",
100
+ "gray-1000": "#020202",
101
+ "silver-50": "#f6f7f8",
102
+ "silver-100": "#e7e8ea",
103
+ "silver-200": "#cfd1d4",
104
+ "silver-300": "#afb1b4",
105
+ "silver-400": "#8a8c90",
106
+ "silver-500": "#67696c",
107
+ "red-400": "#ea6a6a",
108
+ "red-500": "#db4241",
109
+ "green-500": "#46a16b",
110
+ "amber-500": "#dda552"
111
+ },
112
+ "radius": {
113
+ "base": 12,
114
+ "sm": 8,
115
+ "md": 10,
116
+ "lg": 12,
117
+ "xl": 16,
118
+ "2xl": 20,
119
+ "full": 9999
120
+ },
121
+ "spacing": {
122
+ "unit": 4,
123
+ "gutter": 16,
124
+ "section": 64,
125
+ "sectionSm": 48,
126
+ "panel": 28,
127
+ "stack": 40,
128
+ "sidebar": 240,
129
+ "flow": 20,
130
+ "group": 12,
131
+ "insetSm": 16,
132
+ "inset": 20
133
+ },
134
+ "container": {
135
+ "content": 1152,
136
+ "narrow": 768,
137
+ "copy": 640
138
+ },
139
+ "font": {
140
+ "sans": [
141
+ "Geist",
142
+ "ui-sans-serif",
143
+ "system-ui",
144
+ "sans-serif"
145
+ ],
146
+ "mono": [
147
+ "Geist Mono",
148
+ "ui-monospace",
149
+ "monospace"
150
+ ],
151
+ "weight": {
152
+ "light": 300,
153
+ "regular": 400,
154
+ "medium": 500
155
+ }
156
+ },
157
+ "text": {
158
+ "xs": {
159
+ "fontSize": 12,
160
+ "lineHeight": 1.333,
161
+ "letterSpacing": 0
162
+ },
163
+ "sm": {
164
+ "fontSize": 14,
165
+ "lineHeight": 1.43,
166
+ "letterSpacing": 0
167
+ },
168
+ "base": {
169
+ "fontSize": 16,
170
+ "lineHeight": 1.5,
171
+ "letterSpacing": 0
172
+ },
173
+ "heading": {
174
+ "fontSize": 24,
175
+ "lineHeight": 1.25,
176
+ "letterSpacing": -0.015
177
+ },
178
+ "title": {
179
+ "fontSize": 30,
180
+ "lineHeight": 1.2,
181
+ "letterSpacing": -0.02
182
+ },
183
+ "metric": {
184
+ "fontSize": 40,
185
+ "lineHeight": 1,
186
+ "letterSpacing": -0.03
187
+ },
188
+ "displaySm": {
189
+ "fontSize": 36,
190
+ "lineHeight": 1.1,
191
+ "letterSpacing": 0
192
+ },
193
+ "displayMd": {
194
+ "fontSize": 48,
195
+ "lineHeight": 1.05,
196
+ "letterSpacing": 0
197
+ },
198
+ "displayLg": {
199
+ "fontSize": 64,
200
+ "lineHeight": 1,
201
+ "letterSpacing": -0.035
202
+ }
203
+ },
204
+ "duration": {
205
+ "fast": 150,
206
+ "base": 200,
207
+ "slow": 300,
208
+ "slower": 700
209
+ },
210
+ "easing": {
211
+ "outSoft": [
212
+ 0.22,
213
+ 1,
214
+ 0.36,
215
+ 1
216
+ ]
217
+ },
218
+ "shadow": {
219
+ "soft": "0 1px 2px 0 #0000000a, 0 4px 16px -4px #00000014",
220
+ "float": "0 2px 4px 0 #0000000a, 0 16px 40px -8px #00000029"
221
+ }
222
+ };
223
+ export default tokens;
@@ -0,0 +1,221 @@
1
+ {
2
+ "color": {
3
+ "light": {
4
+ "background": "#ffffff",
5
+ "foreground": "#0d0d0d",
6
+ "surface": "#fafafa",
7
+ "panel": "#ffffff",
8
+ "card": "#ffffff",
9
+ "cardForeground": "#0d0d0d",
10
+ "popover": "#ffffff",
11
+ "popoverForeground": "#0d0d0d",
12
+ "primary": "#0d0d0d",
13
+ "primaryForeground": "#fafafa",
14
+ "secondary": "#f4f4f4",
15
+ "secondaryForeground": "#161616",
16
+ "muted": "#f4f4f4",
17
+ "mutedForeground": "#737373",
18
+ "accent": "#f4f4f4",
19
+ "accentForeground": "#161616",
20
+ "brand": "#161616",
21
+ "brandForeground": "#ffffff",
22
+ "destructive": "#db4241",
23
+ "destructiveForeground": "#ffffff",
24
+ "success": "#46a16b",
25
+ "warning": "#dda552",
26
+ "border": "#e5e5e5",
27
+ "input": "#e5e5e5",
28
+ "ring": "#737373",
29
+ "sidebar": "#f4f4f4",
30
+ "sidebarForeground": "#737373",
31
+ "sidebarAccent": "#e5e5e5",
32
+ "sidebarBorder": "#e5e5e5",
33
+ "sidebarPrimary": "#0d0d0d",
34
+ "sidebarPrimaryForeground": "#ffffff",
35
+ "sidebarAccentForeground": "#0d0d0d",
36
+ "sidebarRing": "#737373",
37
+ "chart1": "#0d0d0d",
38
+ "chart2": "#404040",
39
+ "chart3": "#737373",
40
+ "chart4": "#a1a1a1",
41
+ "chart5": "#d4d4d4"
42
+ },
43
+ "dark": {
44
+ "background": "#020202",
45
+ "foreground": "#fafafa",
46
+ "surface": "#0d0d0d",
47
+ "panel": "#0d0d0d",
48
+ "card": "#0d0d0d",
49
+ "cardForeground": "#fafafa",
50
+ "popover": "#161616",
51
+ "popoverForeground": "#fafafa",
52
+ "primary": "#fafafa",
53
+ "primaryForeground": "#0d0d0d",
54
+ "secondary": "#161616",
55
+ "secondaryForeground": "#f4f4f4",
56
+ "muted": "#161616",
57
+ "mutedForeground": "#8c8c8c",
58
+ "accent": "#161616",
59
+ "accentForeground": "#fafafa",
60
+ "brand": "#cfd1d4",
61
+ "brandForeground": "#0d0d0d",
62
+ "destructive": "#ea6a6a",
63
+ "destructiveForeground": "#ffffff",
64
+ "success": "#46a16b",
65
+ "warning": "#dda552",
66
+ "border": "#1e1e1e",
67
+ "input": "#262626",
68
+ "ring": "#afb1b4",
69
+ "sidebar": "#020202",
70
+ "sidebarForeground": "#8c8c8c",
71
+ "sidebarAccent": "#161616",
72
+ "sidebarBorder": "#1e1e1e",
73
+ "sidebarPrimary": "#fafafa",
74
+ "sidebarPrimaryForeground": "#0d0d0d",
75
+ "sidebarAccentForeground": "#fafafa",
76
+ "sidebarRing": "#afb1b4",
77
+ "chart1": "#fafafa",
78
+ "chart2": "#cfd1d4",
79
+ "chart3": "#8a8c90",
80
+ "chart4": "#525252",
81
+ "chart5": "#404040"
82
+ }
83
+ },
84
+ "primitive": {
85
+ "gray-0": "#ffffff",
86
+ "gray-50": "#fafafa",
87
+ "gray-100": "#f4f4f4",
88
+ "gray-200": "#e5e5e5",
89
+ "gray-300": "#d4d4d4",
90
+ "gray-400": "#a1a1a1",
91
+ "gray-450": "#8c8c8c",
92
+ "gray-500": "#737373",
93
+ "gray-600": "#525252",
94
+ "gray-700": "#404040",
95
+ "gray-800": "#262626",
96
+ "gray-850": "#1e1e1e",
97
+ "gray-900": "#161616",
98
+ "gray-950": "#0d0d0d",
99
+ "gray-1000": "#020202",
100
+ "silver-50": "#f6f7f8",
101
+ "silver-100": "#e7e8ea",
102
+ "silver-200": "#cfd1d4",
103
+ "silver-300": "#afb1b4",
104
+ "silver-400": "#8a8c90",
105
+ "silver-500": "#67696c",
106
+ "red-400": "#ea6a6a",
107
+ "red-500": "#db4241",
108
+ "green-500": "#46a16b",
109
+ "amber-500": "#dda552"
110
+ },
111
+ "radius": {
112
+ "base": 12,
113
+ "sm": 8,
114
+ "md": 10,
115
+ "lg": 12,
116
+ "xl": 16,
117
+ "2xl": 20,
118
+ "full": 9999
119
+ },
120
+ "spacing": {
121
+ "unit": 4,
122
+ "gutter": 16,
123
+ "section": 64,
124
+ "sectionSm": 48,
125
+ "panel": 28,
126
+ "stack": 40,
127
+ "sidebar": 240,
128
+ "flow": 20,
129
+ "group": 12,
130
+ "insetSm": 16,
131
+ "inset": 20
132
+ },
133
+ "container": {
134
+ "content": 1152,
135
+ "narrow": 768,
136
+ "copy": 640
137
+ },
138
+ "font": {
139
+ "sans": [
140
+ "Geist",
141
+ "ui-sans-serif",
142
+ "system-ui",
143
+ "sans-serif"
144
+ ],
145
+ "mono": [
146
+ "Geist Mono",
147
+ "ui-monospace",
148
+ "monospace"
149
+ ],
150
+ "weight": {
151
+ "light": 300,
152
+ "regular": 400,
153
+ "medium": 500
154
+ }
155
+ },
156
+ "text": {
157
+ "xs": {
158
+ "fontSize": 12,
159
+ "lineHeight": 1.333,
160
+ "letterSpacing": 0
161
+ },
162
+ "sm": {
163
+ "fontSize": 14,
164
+ "lineHeight": 1.43,
165
+ "letterSpacing": 0
166
+ },
167
+ "base": {
168
+ "fontSize": 16,
169
+ "lineHeight": 1.5,
170
+ "letterSpacing": 0
171
+ },
172
+ "heading": {
173
+ "fontSize": 24,
174
+ "lineHeight": 1.25,
175
+ "letterSpacing": -0.015
176
+ },
177
+ "title": {
178
+ "fontSize": 30,
179
+ "lineHeight": 1.2,
180
+ "letterSpacing": -0.02
181
+ },
182
+ "metric": {
183
+ "fontSize": 40,
184
+ "lineHeight": 1,
185
+ "letterSpacing": -0.03
186
+ },
187
+ "displaySm": {
188
+ "fontSize": 36,
189
+ "lineHeight": 1.1,
190
+ "letterSpacing": 0
191
+ },
192
+ "displayMd": {
193
+ "fontSize": 48,
194
+ "lineHeight": 1.05,
195
+ "letterSpacing": 0
196
+ },
197
+ "displayLg": {
198
+ "fontSize": 64,
199
+ "lineHeight": 1,
200
+ "letterSpacing": -0.035
201
+ }
202
+ },
203
+ "duration": {
204
+ "fast": 150,
205
+ "base": 200,
206
+ "slow": 300,
207
+ "slower": 700
208
+ },
209
+ "easing": {
210
+ "outSoft": [
211
+ 0.22,
212
+ 1,
213
+ 0.36,
214
+ 1
215
+ ]
216
+ },
217
+ "shadow": {
218
+ "soft": "0 1px 2px 0 #0000000a, 0 4px 16px -4px #00000014",
219
+ "float": "0 2px 4px 0 #0000000a, 0 16px 40px -8px #00000029"
220
+ }
221
+ }