tokka 0.2.0 → 0.2.2
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/compiler/generators/css.ts +146 -0
- package/compiler/generators/figma.ts +147 -0
- package/compiler/generators/tailwind.ts +106 -0
- package/compiler/generators/typescript.ts +113 -0
- package/compiler/index.ts +45 -0
- package/compiler/loader.ts +92 -0
- package/compiler/resolver.ts +177 -0
- package/compiler/types.ts +118 -0
- package/compiler/validator.ts +194 -0
- package/components/accordion.tsx +55 -0
- package/components/alert-dialog.tsx +138 -0
- package/components/alert.tsx +58 -0
- package/components/aspect-ratio.tsx +5 -0
- package/components/avatar.tsx +47 -0
- package/components/badge.tsx +35 -0
- package/components/breadcrumb.tsx +114 -0
- package/components/button.tsx +56 -0
- package/components/calendar.tsx +63 -0
- package/components/card.tsx +74 -0
- package/components/carousel.tsx +259 -0
- package/components/chart.tsx +9 -0
- package/components/checkbox.tsx +27 -0
- package/components/collapsible.tsx +9 -0
- package/components/combobox.tsx +8 -0
- package/components/command.tsx +152 -0
- package/components/context-menu.tsx +197 -0
- package/components/data-table.tsx +9 -0
- package/components/date-picker.tsx +8 -0
- package/components/dialog.tsx +119 -0
- package/components/drawer.tsx +115 -0
- package/components/dropdown-menu.tsx +197 -0
- package/components/form.tsx +175 -0
- package/components/hover-card.tsx +26 -0
- package/components/input-otp.tsx +68 -0
- package/components/input.tsx +48 -0
- package/components/label.tsx +23 -0
- package/components/lib/utils.ts +6 -0
- package/components/menubar.tsx +233 -0
- package/components/native-select.tsx +29 -0
- package/components/navigation-menu.tsx +127 -0
- package/components/pagination.tsx +116 -0
- package/components/popover.tsx +28 -0
- package/components/progress.tsx +25 -0
- package/components/radio-group.tsx +41 -0
- package/components/resizable.tsx +42 -0
- package/components/scroll-area.tsx +45 -0
- package/components/select.tsx +157 -0
- package/components/separator.tsx +28 -0
- package/components/sheet.tsx +137 -0
- package/components/sidebar.tsx +249 -0
- package/components/skeleton.tsx +15 -0
- package/components/slider.tsx +25 -0
- package/components/sonner.tsx +25 -0
- package/components/spinner.tsx +33 -0
- package/components/switch.tsx +26 -0
- package/components/table.tsx +116 -0
- package/components/tabs.tsx +52 -0
- package/components/textarea.tsx +23 -0
- package/components/toggle-group.tsx +58 -0
- package/components/toggle.tsx +42 -0
- package/components/tooltip.tsx +27 -0
- package/package.json +5 -3
- package/systems/README.md +56 -0
- package/systems/accessible/system.json +17 -0
- package/systems/accessible/tokens/primitives.json +9 -0
- package/systems/accessible/tokens/semantics.json +11 -0
- package/systems/brutalist/system.json +17 -0
- package/systems/brutalist/tokens/primitives.json +10 -0
- package/systems/brutalist/tokens/semantics.json +12 -0
- package/systems/corporate/system.json +20 -0
- package/systems/corporate/tokens/primitives.json +60 -0
- package/systems/corporate/tokens/semantics.json +68 -0
- package/systems/dark-mode/system.json +17 -0
- package/systems/dark-mode/tokens/primitives.json +10 -0
- package/systems/dark-mode/tokens/semantics.json +11 -0
- package/systems/package.json +14 -0
- package/systems/soft-saas/system.json +20 -0
- package/systems/soft-saas/tokens/primitives.json +235 -0
- package/systems/soft-saas/tokens/semantics.json +190 -0
- package/dist/index.js +0 -434
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tokens": [
|
|
3
|
+
{
|
|
4
|
+
"id": "surface.brand",
|
|
5
|
+
"type": "color",
|
|
6
|
+
"description": "Primary brand surface",
|
|
7
|
+
"source": "semantic",
|
|
8
|
+
"references": ["color.navy.500"],
|
|
9
|
+
"value": "220 50% 35%"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "surface.default",
|
|
13
|
+
"type": "color",
|
|
14
|
+
"description": "Default background",
|
|
15
|
+
"source": "semantic",
|
|
16
|
+
"references": ["color.white"],
|
|
17
|
+
"modes": {
|
|
18
|
+
"light": "0 0% 100%",
|
|
19
|
+
"dark": "210 40% 10%"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "text.default",
|
|
24
|
+
"type": "color",
|
|
25
|
+
"description": "Default text",
|
|
26
|
+
"source": "semantic",
|
|
27
|
+
"references": ["color.slate.900"],
|
|
28
|
+
"modes": {
|
|
29
|
+
"light": "210 40% 10%",
|
|
30
|
+
"dark": "210 40% 98%"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"id": "text.on-brand",
|
|
35
|
+
"type": "color",
|
|
36
|
+
"description": "Text on brand surface",
|
|
37
|
+
"source": "semantic",
|
|
38
|
+
"references": ["color.white"],
|
|
39
|
+
"value": "0 0% 100%"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"id": "border.default",
|
|
43
|
+
"type": "color",
|
|
44
|
+
"description": "Default border",
|
|
45
|
+
"source": "semantic",
|
|
46
|
+
"modes": {
|
|
47
|
+
"light": "210 30% 85%",
|
|
48
|
+
"dark": "210 30% 20%"
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "radius.default",
|
|
53
|
+
"type": "radius",
|
|
54
|
+
"description": "Sharp edges",
|
|
55
|
+
"source": "semantic",
|
|
56
|
+
"references": ["radius.none"],
|
|
57
|
+
"value": "0"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "space.default",
|
|
61
|
+
"type": "dimension",
|
|
62
|
+
"description": "Compact spacing",
|
|
63
|
+
"source": "semantic",
|
|
64
|
+
"references": ["space.2"],
|
|
65
|
+
"value": "0.5rem"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "dark-mode",
|
|
3
|
+
"name": "Dark Mode",
|
|
4
|
+
"description": "Optimized dark palette as default - rich darks with vibrant accents",
|
|
5
|
+
"tags": ["dark", "modern", "vibrant"],
|
|
6
|
+
"modes": ["dark", "light"],
|
|
7
|
+
"policies": {
|
|
8
|
+
"radius": "rounded",
|
|
9
|
+
"density": "comfortable",
|
|
10
|
+
"contrast": "high",
|
|
11
|
+
"motion": "subtle"
|
|
12
|
+
},
|
|
13
|
+
"defaults": {
|
|
14
|
+
"font": "inter",
|
|
15
|
+
"iconStyle": "line"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tokens": [
|
|
3
|
+
{"id": "color.slate.950", "type": "color", "description": "Rich dark", "source": "primitive", "value": "222 47% 8%"},
|
|
4
|
+
{"id": "color.slate.50", "type": "color", "description": "Light", "source": "primitive", "value": "210 40% 98%"},
|
|
5
|
+
{"id": "color.purple.500", "type": "color", "description": "Vibrant purple", "source": "primitive", "value": "270 91% 65%"},
|
|
6
|
+
{"id": "color.white", "type": "color", "description": "White", "source": "primitive", "value": "0 0% 100%"},
|
|
7
|
+
{"id": "space.4", "type": "dimension", "description": "Base spacing", "source": "primitive", "value": "1rem"},
|
|
8
|
+
{"id": "radius.md", "type": "radius", "description": "Medium radius", "source": "primitive", "value": "0.5rem"}
|
|
9
|
+
]
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tokens": [
|
|
3
|
+
{"id": "surface.brand", "type": "color", "description": "Brand surface", "source": "semantic", "references": ["color.purple.500"], "modes": {"dark": "270 91% 65%", "light": "270 80% 55%"}},
|
|
4
|
+
{"id": "surface.default", "type": "color", "description": "Background", "source": "semantic", "modes": {"dark": "222 47% 8%", "light": "210 40% 98%"}},
|
|
5
|
+
{"id": "text.default", "type": "color", "description": "Text", "source": "semantic", "modes": {"dark": "210 40% 98%", "light": "222 47% 8%"}},
|
|
6
|
+
{"id": "text.on-brand", "type": "color", "description": "Text on brand", "source": "semantic", "references": ["color.white"], "value": "0 0% 100%"},
|
|
7
|
+
{"id": "border.default", "type": "color", "description": "Border", "source": "semantic", "modes": {"dark": "222 30% 20%", "light": "210 30% 85%"}},
|
|
8
|
+
{"id": "radius.default", "type": "radius", "description": "Default radius", "source": "semantic", "references": ["radius.md"], "value": "0.5rem"},
|
|
9
|
+
{"id": "space.default", "type": "dimension", "description": "Default spacing", "source": "semantic", "references": ["space.4"], "value": "1rem"}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "soft-saas",
|
|
3
|
+
"name": "Soft SaaS",
|
|
4
|
+
"description": "Low contrast, friendly, rounded, medium density - perfect for modern SaaS applications",
|
|
5
|
+
"tags": ["saas", "calm", "rounded", "friendly"],
|
|
6
|
+
"modes": ["light", "dark"],
|
|
7
|
+
"policies": {
|
|
8
|
+
"radius": "rounded",
|
|
9
|
+
"density": "comfortable",
|
|
10
|
+
"contrast": "medium",
|
|
11
|
+
"motion": "subtle"
|
|
12
|
+
},
|
|
13
|
+
"defaults": {
|
|
14
|
+
"font": "inter",
|
|
15
|
+
"iconStyle": "line"
|
|
16
|
+
},
|
|
17
|
+
"figma": {
|
|
18
|
+
"collections": ["Color", "Typography", "Space", "Radius", "Motion"]
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tokens": [
|
|
3
|
+
{
|
|
4
|
+
"id": "color.gray.50",
|
|
5
|
+
"type": "color",
|
|
6
|
+
"description": "Lightest gray",
|
|
7
|
+
"source": "primitive",
|
|
8
|
+
"value": "0 0% 98%"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "color.gray.100",
|
|
12
|
+
"type": "color",
|
|
13
|
+
"description": "Very light gray",
|
|
14
|
+
"source": "primitive",
|
|
15
|
+
"value": "0 0% 96%"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"id": "color.gray.200",
|
|
19
|
+
"type": "color",
|
|
20
|
+
"description": "Light gray",
|
|
21
|
+
"source": "primitive",
|
|
22
|
+
"value": "0 0% 90%"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "color.gray.300",
|
|
26
|
+
"type": "color",
|
|
27
|
+
"description": "Medium-light gray",
|
|
28
|
+
"source": "primitive",
|
|
29
|
+
"value": "0 0% 80%"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"id": "color.gray.400",
|
|
33
|
+
"type": "color",
|
|
34
|
+
"description": "Medium gray",
|
|
35
|
+
"source": "primitive",
|
|
36
|
+
"value": "0 0% 64%"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "color.gray.500",
|
|
40
|
+
"type": "color",
|
|
41
|
+
"description": "Base gray",
|
|
42
|
+
"source": "primitive",
|
|
43
|
+
"value": "0 0% 45%"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"id": "color.gray.600",
|
|
47
|
+
"type": "color",
|
|
48
|
+
"description": "Medium-dark gray",
|
|
49
|
+
"source": "primitive",
|
|
50
|
+
"value": "0 0% 32%"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "color.gray.700",
|
|
54
|
+
"type": "color",
|
|
55
|
+
"description": "Dark gray",
|
|
56
|
+
"source": "primitive",
|
|
57
|
+
"value": "0 0% 21%"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "color.gray.800",
|
|
61
|
+
"type": "color",
|
|
62
|
+
"description": "Very dark gray",
|
|
63
|
+
"source": "primitive",
|
|
64
|
+
"value": "0 0% 15%"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "color.gray.900",
|
|
68
|
+
"type": "color",
|
|
69
|
+
"description": "Darkest gray",
|
|
70
|
+
"source": "primitive",
|
|
71
|
+
"value": "0 0% 10%"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "color.blue.400",
|
|
75
|
+
"type": "color",
|
|
76
|
+
"description": "Light brand blue",
|
|
77
|
+
"source": "primitive",
|
|
78
|
+
"value": "220 90% 65%"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "color.blue.500",
|
|
82
|
+
"type": "color",
|
|
83
|
+
"description": "Brand blue",
|
|
84
|
+
"source": "primitive",
|
|
85
|
+
"value": "220 90% 56%"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "color.blue.600",
|
|
89
|
+
"type": "color",
|
|
90
|
+
"description": "Dark brand blue",
|
|
91
|
+
"source": "primitive",
|
|
92
|
+
"value": "220 90% 48%"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"id": "color.red.500",
|
|
96
|
+
"type": "color",
|
|
97
|
+
"description": "Error red",
|
|
98
|
+
"source": "primitive",
|
|
99
|
+
"value": "0 72% 51%"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"id": "color.red.600",
|
|
103
|
+
"type": "color",
|
|
104
|
+
"description": "Dark error red",
|
|
105
|
+
"source": "primitive",
|
|
106
|
+
"value": "0 72% 45%"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"id": "color.green.500",
|
|
110
|
+
"type": "color",
|
|
111
|
+
"description": "Success green",
|
|
112
|
+
"source": "primitive",
|
|
113
|
+
"value": "142 71% 45%"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"id": "color.green.600",
|
|
117
|
+
"type": "color",
|
|
118
|
+
"description": "Dark success green",
|
|
119
|
+
"source": "primitive",
|
|
120
|
+
"value": "142 71% 39%"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "color.amber.500",
|
|
124
|
+
"type": "color",
|
|
125
|
+
"description": "Warning amber",
|
|
126
|
+
"source": "primitive",
|
|
127
|
+
"value": "38 92% 50%"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "color.white",
|
|
131
|
+
"type": "color",
|
|
132
|
+
"description": "Pure white",
|
|
133
|
+
"source": "primitive",
|
|
134
|
+
"value": "0 0% 100%"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"id": "color.black",
|
|
138
|
+
"type": "color",
|
|
139
|
+
"description": "Pure black",
|
|
140
|
+
"source": "primitive",
|
|
141
|
+
"value": "0 0% 0%"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"id": "space.0",
|
|
145
|
+
"type": "dimension",
|
|
146
|
+
"description": "Zero spacing",
|
|
147
|
+
"source": "primitive",
|
|
148
|
+
"value": "0"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"id": "space.1",
|
|
152
|
+
"type": "dimension",
|
|
153
|
+
"description": "Extra small spacing",
|
|
154
|
+
"source": "primitive",
|
|
155
|
+
"value": "0.25rem"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"id": "space.2",
|
|
159
|
+
"type": "dimension",
|
|
160
|
+
"description": "Small spacing",
|
|
161
|
+
"source": "primitive",
|
|
162
|
+
"value": "0.5rem"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"id": "space.3",
|
|
166
|
+
"type": "dimension",
|
|
167
|
+
"description": "Medium spacing",
|
|
168
|
+
"source": "primitive",
|
|
169
|
+
"value": "0.75rem"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"id": "space.4",
|
|
173
|
+
"type": "dimension",
|
|
174
|
+
"description": "Base spacing",
|
|
175
|
+
"source": "primitive",
|
|
176
|
+
"value": "1rem"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "space.6",
|
|
180
|
+
"type": "dimension",
|
|
181
|
+
"description": "Large spacing",
|
|
182
|
+
"source": "primitive",
|
|
183
|
+
"value": "1.5rem"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"id": "space.8",
|
|
187
|
+
"type": "dimension",
|
|
188
|
+
"description": "Extra large spacing",
|
|
189
|
+
"source": "primitive",
|
|
190
|
+
"value": "2rem"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "radius.sm",
|
|
194
|
+
"type": "radius",
|
|
195
|
+
"description": "Small radius",
|
|
196
|
+
"source": "primitive",
|
|
197
|
+
"value": "0.25rem"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"id": "radius.md",
|
|
201
|
+
"type": "radius",
|
|
202
|
+
"description": "Medium radius",
|
|
203
|
+
"source": "primitive",
|
|
204
|
+
"value": "0.5rem"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"id": "radius.lg",
|
|
208
|
+
"type": "radius",
|
|
209
|
+
"description": "Large radius",
|
|
210
|
+
"source": "primitive",
|
|
211
|
+
"value": "0.75rem"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "shadow.sm",
|
|
215
|
+
"type": "shadow",
|
|
216
|
+
"description": "Small shadow",
|
|
217
|
+
"source": "primitive",
|
|
218
|
+
"value": "0 1px 2px 0 rgb(0 0 0 / 0.05)"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"id": "shadow.md",
|
|
222
|
+
"type": "shadow",
|
|
223
|
+
"description": "Medium shadow",
|
|
224
|
+
"source": "primitive",
|
|
225
|
+
"value": "0 4px 6px -1px rgb(0 0 0 / 0.1)"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "shadow.lg",
|
|
229
|
+
"type": "shadow",
|
|
230
|
+
"description": "Large shadow",
|
|
231
|
+
"source": "primitive",
|
|
232
|
+
"value": "0 10px 15px -3px rgb(0 0 0 / 0.1)"
|
|
233
|
+
}
|
|
234
|
+
]
|
|
235
|
+
}
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tokens": [
|
|
3
|
+
{
|
|
4
|
+
"id": "surface.brand",
|
|
5
|
+
"type": "color",
|
|
6
|
+
"description": "Primary brand surface",
|
|
7
|
+
"source": "semantic",
|
|
8
|
+
"references": ["color.blue.500"],
|
|
9
|
+
"modes": {
|
|
10
|
+
"light": "220 90% 56%",
|
|
11
|
+
"dark": "220 85% 52%"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "surface.default",
|
|
16
|
+
"type": "color",
|
|
17
|
+
"description": "Default background surface",
|
|
18
|
+
"source": "semantic",
|
|
19
|
+
"references": ["color.white"],
|
|
20
|
+
"modes": {
|
|
21
|
+
"light": "0 0% 100%",
|
|
22
|
+
"dark": "0 0% 10%"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "surface.secondary",
|
|
27
|
+
"type": "color",
|
|
28
|
+
"description": "Secondary surface",
|
|
29
|
+
"source": "semantic",
|
|
30
|
+
"references": ["color.gray.100"],
|
|
31
|
+
"modes": {
|
|
32
|
+
"light": "0 0% 96%",
|
|
33
|
+
"dark": "0 0% 15%"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"id": "surface.muted",
|
|
38
|
+
"type": "color",
|
|
39
|
+
"description": "Muted background",
|
|
40
|
+
"source": "semantic",
|
|
41
|
+
"references": ["color.gray.100"],
|
|
42
|
+
"modes": {
|
|
43
|
+
"light": "0 0% 96%",
|
|
44
|
+
"dark": "0 0% 18%"
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "surface.accent",
|
|
49
|
+
"type": "color",
|
|
50
|
+
"description": "Accent surface",
|
|
51
|
+
"source": "semantic",
|
|
52
|
+
"references": ["color.gray.100"],
|
|
53
|
+
"modes": {
|
|
54
|
+
"light": "0 0% 96%",
|
|
55
|
+
"dark": "0 0% 22%"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"id": "surface.card",
|
|
60
|
+
"type": "color",
|
|
61
|
+
"description": "Card surface",
|
|
62
|
+
"source": "semantic",
|
|
63
|
+
"references": ["color.white"],
|
|
64
|
+
"modes": {
|
|
65
|
+
"light": "0 0% 100%",
|
|
66
|
+
"dark": "0 0% 12%"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "surface.popover",
|
|
71
|
+
"type": "color",
|
|
72
|
+
"description": "Popover surface",
|
|
73
|
+
"source": "semantic",
|
|
74
|
+
"references": ["color.white"],
|
|
75
|
+
"modes": {
|
|
76
|
+
"light": "0 0% 100%",
|
|
77
|
+
"dark": "0 0% 14%"
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "surface.destructive",
|
|
82
|
+
"type": "color",
|
|
83
|
+
"description": "Destructive action surface",
|
|
84
|
+
"source": "semantic",
|
|
85
|
+
"references": ["color.red.500"],
|
|
86
|
+
"modes": {
|
|
87
|
+
"light": "0 72% 51%",
|
|
88
|
+
"dark": "0 62% 45%"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "text.default",
|
|
93
|
+
"type": "color",
|
|
94
|
+
"description": "Default text color",
|
|
95
|
+
"source": "semantic",
|
|
96
|
+
"references": ["color.gray.900"],
|
|
97
|
+
"modes": {
|
|
98
|
+
"light": "0 0% 10%",
|
|
99
|
+
"dark": "0 0% 98%"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "text.muted",
|
|
104
|
+
"type": "color",
|
|
105
|
+
"description": "Muted text color",
|
|
106
|
+
"source": "semantic",
|
|
107
|
+
"references": ["color.gray.500"],
|
|
108
|
+
"modes": {
|
|
109
|
+
"light": "0 0% 45%",
|
|
110
|
+
"dark": "0 0% 64%"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "text.on-brand",
|
|
115
|
+
"type": "color",
|
|
116
|
+
"description": "Text on brand surface",
|
|
117
|
+
"source": "semantic",
|
|
118
|
+
"references": ["color.white"],
|
|
119
|
+
"value": "0 0% 100%"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"id": "text.on-destructive",
|
|
123
|
+
"type": "color",
|
|
124
|
+
"description": "Text on destructive surface",
|
|
125
|
+
"source": "semantic",
|
|
126
|
+
"references": ["color.white"],
|
|
127
|
+
"value": "0 0% 100%"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"id": "border.default",
|
|
131
|
+
"type": "color",
|
|
132
|
+
"description": "Default border color",
|
|
133
|
+
"source": "semantic",
|
|
134
|
+
"references": ["color.gray.200"],
|
|
135
|
+
"modes": {
|
|
136
|
+
"light": "0 0% 90%",
|
|
137
|
+
"dark": "0 0% 20%"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"id": "border.input",
|
|
142
|
+
"type": "color",
|
|
143
|
+
"description": "Input border color",
|
|
144
|
+
"source": "semantic",
|
|
145
|
+
"references": ["color.gray.300"],
|
|
146
|
+
"modes": {
|
|
147
|
+
"light": "0 0% 80%",
|
|
148
|
+
"dark": "0 0% 25%"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"id": "focus.ring",
|
|
153
|
+
"type": "color",
|
|
154
|
+
"description": "Focus ring color",
|
|
155
|
+
"source": "semantic",
|
|
156
|
+
"references": ["color.blue.500"],
|
|
157
|
+
"modes": {
|
|
158
|
+
"light": "220 90% 56%",
|
|
159
|
+
"dark": "220 85% 52%"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "icon.default",
|
|
164
|
+
"type": "color",
|
|
165
|
+
"description": "Default icon color",
|
|
166
|
+
"source": "semantic",
|
|
167
|
+
"references": ["color.gray.600"],
|
|
168
|
+
"modes": {
|
|
169
|
+
"light": "0 0% 32%",
|
|
170
|
+
"dark": "0 0% 80%"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"id": "radius.default",
|
|
175
|
+
"type": "radius",
|
|
176
|
+
"description": "Default border radius",
|
|
177
|
+
"source": "semantic",
|
|
178
|
+
"references": ["radius.md"],
|
|
179
|
+
"value": "0.5rem"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"id": "space.default",
|
|
183
|
+
"type": "dimension",
|
|
184
|
+
"description": "Default spacing",
|
|
185
|
+
"source": "semantic",
|
|
186
|
+
"references": ["space.4"],
|
|
187
|
+
"value": "1rem"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}
|