@youcan/celeste 0.10.2 → 0.10.3
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/LICENSE +17 -5
- package/ai/component-registry.json +10430 -0
- package/ai/component-registry.md +3200 -0
- package/ai/icons.md +142 -0
- package/ai/tokens.md +434 -0
- package/package.json +8 -4
package/ai/tokens.md
ADDED
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
# Celeste Design Tokens
|
|
2
|
+
|
|
3
|
+
> Generated from `@youcan/celeste-tokens@0.10.3`. Do not edit.
|
|
4
|
+
|
|
5
|
+
**347 tokens.** Use them as CSS custom properties: `var(--color-text-sub-600)`.
|
|
6
|
+
|
|
7
|
+
**70 are semantic** — they change automatically under `[data-theme="dark"]`.
|
|
8
|
+
Always prefer a semantic token over the primitive it resolves to: `--color-text-sub-600`
|
|
9
|
+
adapts to dark mode, `--color-neutral-600` does not.
|
|
10
|
+
|
|
11
|
+
Dark mode is applied by setting `data-theme="dark"` on an ancestor, or `data-theme="system"`
|
|
12
|
+
to follow the OS. Never hard-code a dark colour.
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## animation
|
|
17
|
+
|
|
18
|
+
- `--animation-extra-fast`: 100ms
|
|
19
|
+
- `--animation-extra-slow`: 500ms
|
|
20
|
+
- `--animation-fast`: 200ms
|
|
21
|
+
- `--animation-normal`: 300ms
|
|
22
|
+
- `--animation-slow`: 400ms
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## color
|
|
27
|
+
|
|
28
|
+
### Semantic — prefer these
|
|
29
|
+
|
|
30
|
+
- `--color-bg-soft-200`: #ebebeb → #333333 in dark
|
|
31
|
+
- `--color-bg-strong-950`: #171717 → #ffffff in dark
|
|
32
|
+
- `--color-bg-sub-300`: #d1d1d1 → #5c5c5c in dark
|
|
33
|
+
- `--color-bg-surface-800`: #292929 → #ebebeb in dark
|
|
34
|
+
- `--color-bg-weak-50`: #f7f7f7 → #1c1c1c in dark
|
|
35
|
+
- `--color-bg-white-0`: #ffffff → #171717 in dark
|
|
36
|
+
- `--color-icon-disabled-300`: #d1d1d1 → #5c5c5c in dark
|
|
37
|
+
- `--color-icon-soft-400`: #a3a3a3 → #7b7b7b in dark
|
|
38
|
+
- `--color-icon-strong-950`: #171717 → #ffffff in dark
|
|
39
|
+
- `--color-icon-sub-600`: #5c5c5c → #a3a3a3 in dark
|
|
40
|
+
- `--color-icon-white-0`: #ffffff → #171717 in dark
|
|
41
|
+
- `--color-illustration-soft-200`: #ebebeb → #292929 in dark
|
|
42
|
+
- `--color-illustration-strong-400`: #a3a3a3 → #5c5c5c in dark
|
|
43
|
+
- `--color-illustration-sub-300`: #d1d1d1 → #333333 in dark
|
|
44
|
+
- `--color-illustration-weak-100`: #f5f5f5 → #1c1c1c in dark
|
|
45
|
+
- `--color-illustration-white-0`: #ffffff → #171717 in dark
|
|
46
|
+
- `--color-overlay-overlay`: rgba(2, 13, 23, 0.24) → rgba(82, 88, 102, 0.32) in dark
|
|
47
|
+
- `--color-social-amazon`: #353e47 → #ffffff in dark
|
|
48
|
+
- `--color-social-apple`: #000000 → #ffffff in dark
|
|
49
|
+
- `--color-social-github`: #24292f → #ffffff in dark
|
|
50
|
+
- `--color-social-notion`: #1e2226 → #ffffff in dark
|
|
51
|
+
- `--color-social-tidal`: #000000 → #ffffff in dark
|
|
52
|
+
- `--color-social-twitter`: #010101 → #ffffff in dark
|
|
53
|
+
- `--color-social-zendesk`: #16140d → #ffffff in dark
|
|
54
|
+
- `--color-state-away-base`: #f6b51e → #e6a819 in dark
|
|
55
|
+
- `--color-state-away-dark`: #624c18 → #ffd268 in dark
|
|
56
|
+
- `--color-state-away-light`: #ffecc0 → rgba(251, 198, 75, 0.24) in dark
|
|
57
|
+
- `--color-state-away-lighter`: #fffaeb → rgba(251, 198, 75, 0.16) in dark
|
|
58
|
+
- `--color-state-error-base`: #fb3748 → #e93544 in dark
|
|
59
|
+
- `--color-state-error-dark`: #681219 → #ff6875 in dark
|
|
60
|
+
- `--color-state-error-light`: #ffc0c5 → rgba(251, 55, 72, 0.24) in dark
|
|
61
|
+
- `--color-state-error-lighter`: #ffebec → rgba(251, 55, 72, 0.16) in dark
|
|
62
|
+
- `--color-state-faded-dark`: #292929 → #d1d1d1 in dark
|
|
63
|
+
- `--color-state-faded-light`: #ebebeb → rgba(163, 163, 163, 0.24) in dark
|
|
64
|
+
- `--color-state-faded-lighter`: #f5f5f5 → rgba(163, 163, 163, 0.16) in dark
|
|
65
|
+
- `--color-state-feature-dark`: #351a75 → #8c71f6 in dark
|
|
66
|
+
- `--color-state-feature-light`: #cac0ff → rgba(120, 77, 239, 0.24) in dark
|
|
67
|
+
- `--color-state-feature-lighter`: #efebff → rgba(120, 77, 239, 0.16) in dark
|
|
68
|
+
- `--color-state-highlighted-base`: #fb4ba3 → #e9358f in dark
|
|
69
|
+
- `--color-state-highlighted-dark`: #68123d → #ff68b3 in dark
|
|
70
|
+
- `--color-state-highlighted-light`: #ffc0df → rgba(251, 75, 163, 0.24) in dark
|
|
71
|
+
- `--color-state-highlighted-lighter`: #ffebf4 → rgba(251, 75, 163, 0.16) in dark
|
|
72
|
+
- `--color-state-information-dark`: #122368 → #6895ff in dark
|
|
73
|
+
- `--color-state-information-light`: #c0d5ff → rgba(71, 108, 255, 0.24) in dark
|
|
74
|
+
- `--color-state-information-lighter`: #ebf1ff → rgba(71, 108, 255, 0.16) in dark
|
|
75
|
+
- `--color-state-stable-base`: #22d3bb → #1daf9c in dark
|
|
76
|
+
- `--color-state-stable-dark`: #0b463e → #3fdec9 in dark
|
|
77
|
+
- `--color-state-stable-light`: #c2f5ee → rgba(34, 211, 187, 0.24) in dark
|
|
78
|
+
- `--color-state-stable-lighter`: #e4fbf8 → rgba(34, 211, 187, 0.16) in dark
|
|
79
|
+
- `--color-state-success-base`: #1fc16b → #1daf61 in dark
|
|
80
|
+
- `--color-state-success-dark`: #0b4627 → #3ee089 in dark
|
|
81
|
+
- `--color-state-success-light`: #c2f5da → rgba(31, 193, 107, 0.16) in dark
|
|
82
|
+
- `--color-state-success-lighter`: #e0faec → rgba(31, 193, 107, 0.1) in dark
|
|
83
|
+
- `--color-state-verified-base`: #47c2ff → #35ade9 in dark
|
|
84
|
+
- `--color-state-verified-dark`: #124b68 → #68cdff in dark
|
|
85
|
+
- `--color-state-verified-light`: #c0eaff → rgba(71, 194, 255, 0.24) in dark
|
|
86
|
+
- `--color-state-verified-lighter`: #ebf8ff → rgba(71, 194, 255, 0.16) in dark
|
|
87
|
+
- `--color-state-warning-base`: #ff8447 → #e97135 in dark
|
|
88
|
+
- `--color-state-warning-dark`: #682f12 → #ff9a68 in dark
|
|
89
|
+
- `--color-state-warning-light`: #ffd5c0 → rgba(255, 145, 71, 0.24) in dark
|
|
90
|
+
- `--color-state-warning-lighter`: #fff1eb → rgba(255, 145, 71, 0.16) in dark
|
|
91
|
+
- `--color-stroke-soft-200`: #ebebeb → #333333 in dark
|
|
92
|
+
- `--color-stroke-strong-950`: #171717 → #ffffff in dark
|
|
93
|
+
- `--color-stroke-sub-300`: #d1d1d1 → #5c5c5c in dark
|
|
94
|
+
- `--color-stroke-white-0`: #ffffff → #171717 in dark
|
|
95
|
+
- `--color-text-disabled-300`: #d1d1d1 → #5c5c5c in dark
|
|
96
|
+
- `--color-text-soft-400`: #a3a3a3 → #7b7b7b in dark
|
|
97
|
+
- `--color-text-strong-950`: #171717 → #ffffff in dark
|
|
98
|
+
- `--color-text-sub-600`: #5c5c5c → #a3a3a3 in dark
|
|
99
|
+
- `--color-text-white-0`: #ffffff → #171717 in dark
|
|
100
|
+
|
|
101
|
+
### Primitive — fixed values
|
|
102
|
+
|
|
103
|
+
- `--color-black-alpha-10`: rgba(23, 23, 23, 0.1)
|
|
104
|
+
- `--color-black-alpha-16`: rgba(23, 23, 23, 0.16)
|
|
105
|
+
- `--color-black-alpha-24`: rgba(23, 23, 23, 0.24)
|
|
106
|
+
- `--color-blue-100`: #d5e2ff
|
|
107
|
+
- `--color-blue-200`: #c0d5ff
|
|
108
|
+
- `--color-blue-300`: #97baff
|
|
109
|
+
- `--color-blue-400`: #6895ff
|
|
110
|
+
- `--color-blue-50`: #ebf1ff
|
|
111
|
+
- `--color-blue-500`: #335cff
|
|
112
|
+
- `--color-blue-600`: #3559e9
|
|
113
|
+
- `--color-blue-700`: #2547d0
|
|
114
|
+
- `--color-blue-800`: #1f3bad
|
|
115
|
+
- `--color-blue-900`: #182f8b
|
|
116
|
+
- `--color-blue-950`: #122368
|
|
117
|
+
- `--color-blue-alpha-10`: rgba(71, 108, 255, 0.1)
|
|
118
|
+
- `--color-blue-alpha-16`: rgba(71, 108, 255, 0.16)
|
|
119
|
+
- `--color-blue-alpha-24`: rgba(71, 108, 255, 0.24)
|
|
120
|
+
- `--color-brand-100`: #ffd6e9
|
|
121
|
+
- `--color-brand-200`: #ffc2dd
|
|
122
|
+
- `--color-brand-300`: #ff99c7
|
|
123
|
+
- `--color-brand-400`: #ff66ab
|
|
124
|
+
- `--color-brand-50`: #ffebf4
|
|
125
|
+
- `--color-brand-500`: #e1116f
|
|
126
|
+
- `--color-brand-600`: #cb0f64
|
|
127
|
+
- `--color-brand-700`: #b40e59
|
|
128
|
+
- `--color-brand-800`: #9e0c4e
|
|
129
|
+
- `--color-brand-900`: #870a43
|
|
130
|
+
- `--color-brand-950`: #681239
|
|
131
|
+
- `--color-green-100`: #d0fbe9
|
|
132
|
+
- `--color-green-200`: #c2f5da
|
|
133
|
+
- `--color-green-300`: #84ebb4
|
|
134
|
+
- `--color-green-400`: #3ee089
|
|
135
|
+
- `--color-green-50`: #e0faec
|
|
136
|
+
- `--color-green-500`: #1fc16b
|
|
137
|
+
- `--color-green-600`: #1daf61
|
|
138
|
+
- `--color-green-700`: #178c4e
|
|
139
|
+
- `--color-green-800`: #1a7544
|
|
140
|
+
- `--color-green-900`: #16643b
|
|
141
|
+
- `--color-green-950`: #0b4627
|
|
142
|
+
- `--color-green-alpha-10`: rgba(31, 193, 107, 0.1)
|
|
143
|
+
- `--color-green-alpha-16`: rgba(31, 193, 107, 0.16)
|
|
144
|
+
- `--color-green-alpha-24`: rgba(31, 193, 107, 0.24)
|
|
145
|
+
- `--color-neutral-0`: #ffffff
|
|
146
|
+
- `--color-neutral-100`: #f5f5f5
|
|
147
|
+
- `--color-neutral-200`: #ebebeb
|
|
148
|
+
- `--color-neutral-300`: #d1d1d1
|
|
149
|
+
- `--color-neutral-400`: #a3a3a3
|
|
150
|
+
- `--color-neutral-50`: #f7f7f7
|
|
151
|
+
- `--color-neutral-500`: #7b7b7b
|
|
152
|
+
- `--color-neutral-600`: #5c5c5c
|
|
153
|
+
- `--color-neutral-700`: #333333
|
|
154
|
+
- `--color-neutral-800`: #292929
|
|
155
|
+
- `--color-neutral-900`: #1c1c1c
|
|
156
|
+
- `--color-neutral-950`: #171717
|
|
157
|
+
- `--color-neutral-alpha-10`: rgba(163, 163, 163, 0.1)
|
|
158
|
+
- `--color-neutral-alpha-16`: rgba(163, 163, 163, 0.16)
|
|
159
|
+
- `--color-neutral-alpha-24`: rgba(163, 163, 163, 0.24)
|
|
160
|
+
- `--color-orange-100`: #ffe3d5
|
|
161
|
+
- `--color-orange-200`: #ffd5c0
|
|
162
|
+
- `--color-orange-300`: #ffba97
|
|
163
|
+
- `--color-orange-400`: #ff9a68
|
|
164
|
+
- `--color-orange-50`: #fff1eb
|
|
165
|
+
- `--color-orange-500`: #ff8447
|
|
166
|
+
- `--color-orange-600`: #e97135
|
|
167
|
+
- `--color-orange-700`: #d05e25
|
|
168
|
+
- `--color-orange-800`: #ad4e1f
|
|
169
|
+
- `--color-orange-900`: #8b3e18
|
|
170
|
+
- `--color-orange-950`: #682f12
|
|
171
|
+
- `--color-orange-alpha-10`: rgba(255, 145, 71, 0.1)
|
|
172
|
+
- `--color-orange-alpha-16`: rgba(255, 145, 71, 0.16)
|
|
173
|
+
- `--color-orange-alpha-24`: rgba(255, 145, 71, 0.24)
|
|
174
|
+
- `--color-pink-100`: #ffd5ea
|
|
175
|
+
- `--color-pink-200`: #ffc0df
|
|
176
|
+
- `--color-pink-300`: #ff97cb
|
|
177
|
+
- `--color-pink-400`: #ff68b3
|
|
178
|
+
- `--color-pink-50`: #ffebf4
|
|
179
|
+
- `--color-pink-500`: #fb4ba3
|
|
180
|
+
- `--color-pink-600`: #e9358f
|
|
181
|
+
- `--color-pink-700`: #d0257a
|
|
182
|
+
- `--color-pink-800`: #ad1f66
|
|
183
|
+
- `--color-pink-900`: #8b1852
|
|
184
|
+
- `--color-pink-950`: #68123d
|
|
185
|
+
- `--color-pink-alpha-10`: rgba(251, 75, 163, 0.1)
|
|
186
|
+
- `--color-pink-alpha-16`: rgba(251, 75, 163, 0.16)
|
|
187
|
+
- `--color-pink-alpha-24`: rgba(251, 75, 163, 0.24)
|
|
188
|
+
- `--color-primary-alpha-10`: rgba(251, 75, 163, 0.1)
|
|
189
|
+
- `--color-primary-alpha-16`: rgba(251, 75, 163, 0.16)
|
|
190
|
+
- `--color-primary-alpha-24`: rgba(251, 75, 163, 0.24)
|
|
191
|
+
- `--color-primary-base`: #e1116f
|
|
192
|
+
- `--color-primary-dark`: #cb0f64
|
|
193
|
+
- `--color-primary-darker`: #b40e59
|
|
194
|
+
- `--color-purple-100`: #dcd5ff
|
|
195
|
+
- `--color-purple-200`: #cac0ff
|
|
196
|
+
- `--color-purple-300`: #a897ff
|
|
197
|
+
- `--color-purple-400`: #8c71f6
|
|
198
|
+
- `--color-purple-50`: #efebff
|
|
199
|
+
- `--color-purple-500`: #7d52f4
|
|
200
|
+
- `--color-purple-600`: #693ee0
|
|
201
|
+
- `--color-purple-700`: #5b2cc9
|
|
202
|
+
- `--color-purple-800`: #4c25a7
|
|
203
|
+
- `--color-purple-900`: #3d1d86
|
|
204
|
+
- `--color-purple-950`: #351a75
|
|
205
|
+
- `--color-purple-alpha-10`: rgba(120, 77, 239, 0.1)
|
|
206
|
+
- `--color-purple-alpha-16`: rgba(120, 77, 239, 0.16)
|
|
207
|
+
- `--color-purple-alpha-24`: rgba(120, 77, 239, 0.24)
|
|
208
|
+
- `--color-red-100`: #ffd5d8
|
|
209
|
+
- `--color-red-200`: #ffc0c5
|
|
210
|
+
- `--color-red-300`: #ff97a0
|
|
211
|
+
- `--color-red-400`: #ff6875
|
|
212
|
+
- `--color-red-50`: #ffebec
|
|
213
|
+
- `--color-red-500`: #fb3748
|
|
214
|
+
- `--color-red-600`: #e93544
|
|
215
|
+
- `--color-red-700`: #d02533
|
|
216
|
+
- `--color-red-800`: #ad1f2b
|
|
217
|
+
- `--color-red-900`: #8b1822
|
|
218
|
+
- `--color-red-950`: #681219
|
|
219
|
+
- `--color-red-alpha-10`: rgba(251, 55, 72, 0.1)
|
|
220
|
+
- `--color-red-alpha-16`: rgba(251, 55, 72, 0.16)
|
|
221
|
+
- `--color-red-alpha-24`: rgba(251, 55, 72, 0.24)
|
|
222
|
+
- `--color-sky-100`: #d5f1ff
|
|
223
|
+
- `--color-sky-200`: #c0eaff
|
|
224
|
+
- `--color-sky-300`: #97dcff
|
|
225
|
+
- `--color-sky-400`: #68cdff
|
|
226
|
+
- `--color-sky-50`: #ebf8ff
|
|
227
|
+
- `--color-sky-500`: #47c2ff
|
|
228
|
+
- `--color-sky-600`: #35ade9
|
|
229
|
+
- `--color-sky-700`: #2597d0
|
|
230
|
+
- `--color-sky-800`: #1f7ead
|
|
231
|
+
- `--color-sky-900`: #18658b
|
|
232
|
+
- `--color-sky-950`: #124b68
|
|
233
|
+
- `--color-sky-alpha-10`: rgba(71, 194, 255, 0.1)
|
|
234
|
+
- `--color-sky-alpha-16`: rgba(71, 194, 255, 0.16)
|
|
235
|
+
- `--color-sky-alpha-24`: rgba(71, 194, 255, 0.24)
|
|
236
|
+
- `--color-state-faded-base`: #7b7b7b
|
|
237
|
+
- `--color-state-feature-base`: #7d52f4
|
|
238
|
+
- `--color-state-information-base`: #335cff
|
|
239
|
+
- `--color-static-black`: #171717
|
|
240
|
+
- `--color-static-white`: #ffffff
|
|
241
|
+
- `--color-teal-100`: #d0fbf5
|
|
242
|
+
- `--color-teal-200`: #c2f5ee
|
|
243
|
+
- `--color-teal-300`: #84ebdd
|
|
244
|
+
- `--color-teal-400`: #3fdec9
|
|
245
|
+
- `--color-teal-50`: #e4fbf8
|
|
246
|
+
- `--color-teal-500`: #22d3bb
|
|
247
|
+
- `--color-teal-600`: #1daf9c
|
|
248
|
+
- `--color-teal-700`: #178c7d
|
|
249
|
+
- `--color-teal-800`: #1a7569
|
|
250
|
+
- `--color-teal-900`: #16645a
|
|
251
|
+
- `--color-teal-950`: #0b463e
|
|
252
|
+
- `--color-teal-alpha-10`: rgba(34, 211, 187, 0.1)
|
|
253
|
+
- `--color-teal-alpha-16`: rgba(34, 211, 187, 0.16)
|
|
254
|
+
- `--color-teal-alpha-24`: rgba(34, 211, 187, 0.24)
|
|
255
|
+
- `--color-white-alpha-10`: rgba(255, 255, 255, 0.1)
|
|
256
|
+
- `--color-white-alpha-16`: rgba(255, 255, 255, 0.16)
|
|
257
|
+
- `--color-white-alpha-24`: rgba(255, 255, 255, 0.24)
|
|
258
|
+
- `--color-yellow-100`: #ffefcc
|
|
259
|
+
- `--color-yellow-200`: #ffecc0
|
|
260
|
+
- `--color-yellow-300`: #ffe097
|
|
261
|
+
- `--color-yellow-400`: #ffd268
|
|
262
|
+
- `--color-yellow-50`: #fffaeb
|
|
263
|
+
- `--color-yellow-500`: #f6b51e
|
|
264
|
+
- `--color-yellow-600`: #e6a819
|
|
265
|
+
- `--color-yellow-700`: #c99a2c
|
|
266
|
+
- `--color-yellow-800`: #a78025
|
|
267
|
+
- `--color-yellow-900`: #86661d
|
|
268
|
+
- `--color-yellow-950`: #624c18
|
|
269
|
+
- `--color-yellow-alpha-10`: rgba(251, 198, 75, 0.1)
|
|
270
|
+
- `--color-yellow-alpha-16`: rgba(251, 198, 75, 0.16)
|
|
271
|
+
- `--color-yellow-alpha-24`: rgba(251, 198, 75, 0.24)
|
|
272
|
+
|
|
273
|
+
---
|
|
274
|
+
|
|
275
|
+
## docs
|
|
276
|
+
|
|
277
|
+
- `--docs-label`: 500 18px/32px InterVariable, Cairo, sans-serif
|
|
278
|
+
- `--docs-paragraph`: 400 18px/32px InterVariable, Cairo, sans-serif
|
|
279
|
+
|
|
280
|
+
---
|
|
281
|
+
|
|
282
|
+
## font
|
|
283
|
+
|
|
284
|
+
- `--font-families-cairo`: Cairo
|
|
285
|
+
- `--font-families-display`: InterDisplay, Cairo, sans-serif
|
|
286
|
+
- `--font-families-geist-mono`: 'Geist Mono'
|
|
287
|
+
- `--font-families-inter`: InterVariable
|
|
288
|
+
- `--font-families-inter-display`: InterDisplay
|
|
289
|
+
- `--font-families-mono`: 'Geist Mono', monospace
|
|
290
|
+
- `--font-families-sans`: InterVariable, Cairo, sans-serif
|
|
291
|
+
- `--font-size-0`: 11px
|
|
292
|
+
- `--font-size-1`: 12px
|
|
293
|
+
- `--font-size-10`: 56px
|
|
294
|
+
- `--font-size-2`: 14px
|
|
295
|
+
- `--font-size-3`: 16px
|
|
296
|
+
- `--font-size-4`: 18px
|
|
297
|
+
- `--font-size-5`: 20px
|
|
298
|
+
- `--font-size-6`: 24px
|
|
299
|
+
- `--font-size-7`: 32px
|
|
300
|
+
- `--font-size-8`: 40px
|
|
301
|
+
- `--font-size-9`: 48px
|
|
302
|
+
- `--font-weights-display-0`: 500
|
|
303
|
+
- `--font-weights-sans-0`: 400
|
|
304
|
+
- `--font-weights-sans-1`: 500
|
|
305
|
+
|
|
306
|
+
---
|
|
307
|
+
|
|
308
|
+
## label
|
|
309
|
+
|
|
310
|
+
- `--label-lg`: 500 18px/24px InterVariable, Cairo, sans-serif
|
|
311
|
+
- `--label-md`: 500 16px/24px InterVariable, Cairo, sans-serif
|
|
312
|
+
- `--label-sm`: 500 14px/20px InterVariable, Cairo, sans-serif
|
|
313
|
+
- `--label-xl`: 500 24px/32px InterVariable, Cairo, sans-serif
|
|
314
|
+
- `--label-xs`: 500 12px/16px InterVariable, Cairo, sans-serif
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## letter
|
|
319
|
+
|
|
320
|
+
- `--letter-spacing-0`: -0.01em
|
|
321
|
+
- `--letter-spacing-1`: -0.005em
|
|
322
|
+
- `--letter-spacing-2`: 0em
|
|
323
|
+
- `--letter-spacing-3`: -0.015em
|
|
324
|
+
- `--letter-spacing-4`: -0.011000000000000001em
|
|
325
|
+
- `--letter-spacing-5`: -0.006em
|
|
326
|
+
- `--letter-spacing-6`: 0.06em
|
|
327
|
+
- `--letter-spacing-7`: 0.04em
|
|
328
|
+
- `--letter-spacing-8`: 0.02em
|
|
329
|
+
|
|
330
|
+
---
|
|
331
|
+
|
|
332
|
+
## line
|
|
333
|
+
|
|
334
|
+
- `--line-heights-0`: 64px
|
|
335
|
+
- `--line-heights-1`: 56px
|
|
336
|
+
- `--line-heights-2`: 48px
|
|
337
|
+
- `--line-heights-3`: 40px
|
|
338
|
+
- `--line-heights-4`: 32px
|
|
339
|
+
- `--line-heights-5`: 28px
|
|
340
|
+
- `--line-heights-6`: 24px
|
|
341
|
+
- `--line-heights-7`: 20px
|
|
342
|
+
- `--line-heights-8`: 16px
|
|
343
|
+
- `--line-heights-9`: 12px
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## paragraph
|
|
348
|
+
|
|
349
|
+
- `--paragraph-indent-0`: 0px
|
|
350
|
+
- `--paragraph-lg`: 400 18px/24px InterVariable, Cairo, sans-serif
|
|
351
|
+
- `--paragraph-md`: 400 16px/24px InterVariable, Cairo, sans-serif
|
|
352
|
+
- `--paragraph-sm`: 400 14px/20px InterVariable, Cairo, sans-serif
|
|
353
|
+
- `--paragraph-spacing-0`: 0
|
|
354
|
+
- `--paragraph-xl`: 400 24px/32px InterVariable, Cairo, sans-serif
|
|
355
|
+
- `--paragraph-xs`: 400 12px/16px InterVariable, Cairo, sans-serif
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
## radius
|
|
360
|
+
|
|
361
|
+
- `--radius-10`: 10px
|
|
362
|
+
- `--radius-12`: 12px
|
|
363
|
+
- `--radius-16`: 16px
|
|
364
|
+
- `--radius-20`: 20px
|
|
365
|
+
- `--radius-24`: 24px
|
|
366
|
+
- `--radius-4`: 4px
|
|
367
|
+
- `--radius-6`: 6px
|
|
368
|
+
- `--radius-8`: 8px
|
|
369
|
+
- `--radius-full`: 999px
|
|
370
|
+
|
|
371
|
+
---
|
|
372
|
+
|
|
373
|
+
## shadow
|
|
374
|
+
|
|
375
|
+
- `--shadow-buttons-error-focus`: 0 0 0 2px #ffffff, 0 0 0 4px #fb37481a
|
|
376
|
+
- `--shadow-buttons-important-focus`: 0 0 0 2px #ffffff, 0 0 0 4px #99a0ae29
|
|
377
|
+
- `--shadow-buttons-primary-focus`: 0 0 0 2px #ffffff, 0 0 0 4px #fb4ba31a
|
|
378
|
+
- `--shadow-fancy-buttons-error`: 0 1px 2px 0 #0e121b3d, 0 0 0 1px #fb3748
|
|
379
|
+
- `--shadow-fancy-buttons-neutral`: 0 1px 2px 0 #1b1c1d7a, 0 0 0 1px #242628
|
|
380
|
+
- `--shadow-fancy-buttons-primary`: 0 1px 2px 0 #0e121b3d, 0 0 0 1px #e1116f
|
|
381
|
+
- `--shadow-fancy-buttons-stroke`: 0 1px 3px 0 #0e121b1f, 0 0 0 1px #e1e4ea
|
|
382
|
+
- `--shadow-regular-md`: 0 16px 32px -12px #0e121b1a
|
|
383
|
+
- `--shadow-regular-xs`: 0 1px 2px 0 #0a0d1408
|
|
384
|
+
- `--shadow-toggle-switch`: 0 6px 10px 0 #0e121b0f, 0 2px 4px 0 #0e121b08
|
|
385
|
+
|
|
386
|
+
---
|
|
387
|
+
|
|
388
|
+
## spacing
|
|
389
|
+
|
|
390
|
+
- `--spacing-0`: 0
|
|
391
|
+
- `--spacing-10`: 10px
|
|
392
|
+
- `--spacing-12`: 12px
|
|
393
|
+
- `--spacing-14`: 14px
|
|
394
|
+
- `--spacing-16`: 16px
|
|
395
|
+
- `--spacing-2`: 2px
|
|
396
|
+
- `--spacing-20`: 20px
|
|
397
|
+
- `--spacing-24`: 24px
|
|
398
|
+
- `--spacing-28`: 28px
|
|
399
|
+
- `--spacing-32`: 32px
|
|
400
|
+
- `--spacing-36`: 36px
|
|
401
|
+
- `--spacing-4`: 4px
|
|
402
|
+
- `--spacing-40`: 40px
|
|
403
|
+
- `--spacing-44`: 40px
|
|
404
|
+
- `--spacing-48`: 48px
|
|
405
|
+
- `--spacing-6`: 6px
|
|
406
|
+
- `--spacing-8`: 8px
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## subheading
|
|
411
|
+
|
|
412
|
+
- `--subheading-md`: 500 16px/24px InterVariable, Cairo, sans-serif
|
|
413
|
+
- `--subheading-sm`: 500 14px/20px InterVariable, Cairo, sans-serif
|
|
414
|
+
- `--subheading-xs`: 500 12px/16px InterVariable, Cairo, sans-serif
|
|
415
|
+
- `--subheading-xxs`: 500 11px/12px InterVariable, Cairo, sans-serif
|
|
416
|
+
|
|
417
|
+
---
|
|
418
|
+
|
|
419
|
+
## text
|
|
420
|
+
|
|
421
|
+
- `--text-case-none`: none
|
|
422
|
+
- `--text-case-uppercase`: uppercase
|
|
423
|
+
- `--text-decoration-none`: none
|
|
424
|
+
|
|
425
|
+
---
|
|
426
|
+
|
|
427
|
+
## title
|
|
428
|
+
|
|
429
|
+
- `--title-h1-title`: 500 56px/64px InterDisplay, Cairo, sans-serif
|
|
430
|
+
- `--title-h2-title`: 500 48px/56px InterDisplay, Cairo, sans-serif
|
|
431
|
+
- `--title-h3-title`: 500 40px/48px InterDisplay, Cairo, sans-serif
|
|
432
|
+
- `--title-h4-title`: 500 32px/40px InterDisplay, Cairo, sans-serif
|
|
433
|
+
- `--title-h5-title`: 500 24px/32px InterDisplay, Cairo, sans-serif
|
|
434
|
+
- `--title-h6-title`: 500 20px/28px InterDisplay, Cairo, sans-serif
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@youcan/celeste",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.3",
|
|
5
5
|
"author": "YouCan <tech@youcan.shop>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"module": "./dist/es/index.js",
|
|
24
24
|
"types": "./dist/index.d.ts",
|
|
25
25
|
"files": [
|
|
26
|
+
"ai",
|
|
26
27
|
"dist",
|
|
27
28
|
"src"
|
|
28
29
|
],
|
|
@@ -51,8 +52,8 @@
|
|
|
51
52
|
"reka-ui": "^2.10.1",
|
|
52
53
|
"tinycolor2": "^1.6.0",
|
|
53
54
|
"vue-sonner": "^2.0.9",
|
|
54
|
-
"@youcan/celeste-icons": "0.10.
|
|
55
|
-
"@youcan/celeste-tokens": "0.10.
|
|
55
|
+
"@youcan/celeste-icons": "0.10.3",
|
|
56
|
+
"@youcan/celeste-tokens": "0.10.3"
|
|
56
57
|
},
|
|
57
58
|
"devDependencies": {
|
|
58
59
|
"@chromatic-com/storybook": "^5.3.0",
|
|
@@ -81,15 +82,18 @@
|
|
|
81
82
|
"rimraf": "^6.1.3",
|
|
82
83
|
"sass": "^1.102.0",
|
|
83
84
|
"storybook": "^10.5.7",
|
|
85
|
+
"tsx": "^4.23.11",
|
|
84
86
|
"unocss": "^66.7.5",
|
|
85
87
|
"vite": "^8.2.1",
|
|
86
88
|
"vite-plugin-dts": "^5.0.3",
|
|
87
89
|
"vitest": "^4.1.10",
|
|
90
|
+
"vue-component-meta": "^3.3.11",
|
|
88
91
|
"vue-docgen-api": "^4.79.2",
|
|
89
92
|
"vue-tsc": "^3.3.9"
|
|
90
93
|
},
|
|
91
94
|
"scripts": {
|
|
92
|
-
"
|
|
95
|
+
"codegen:registry": "tsx scripts/component-registry/index.ts",
|
|
96
|
+
"build": "rimraf dist && pnpm run codegen:registry && vue-tsc --declaration --emitDeclarationOnly -p tsconfig.build.json && vite build",
|
|
93
97
|
"build-only": "vite build",
|
|
94
98
|
"watch": "vite build --watch",
|
|
95
99
|
"type-check": "vue-tsc -p tsconfig.check.json --noEmit",
|