@plus-vben5/design 1.0.0-beta.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,446 @@
1
+ .dark,
2
+ .dark[data-theme='custom'],
3
+ .dark[data-theme='default'] {
4
+ /* Default background color of <body />...etc */
5
+ --background: 222.34deg 10.43% 12.27%;
6
+
7
+ /* 主体区域背景色 */
8
+ --background-deep: 220deg 13.06% 9%;
9
+ --foreground: 0 0% 95%;
10
+
11
+ /* Background color for <Card /> */
12
+ --card: 222.34deg 10.43% 12.27%;
13
+
14
+ /* --card: 222.2 84% 4.9%; */
15
+ --card-foreground: 210 40% 98%;
16
+
17
+ /* Background color for popovers such as <DropdownMenu />, <HoverCard />, <Popover /> */
18
+
19
+ /* --popover: 222.82deg 8.43% 12.27%; */
20
+
21
+ /* 弹出层的背景色与主题区域背景色太过接近 */
22
+ --popover: 0 0% 14.2%;
23
+ --popover-foreground: 210 40% 98%;
24
+
25
+ /* Muted backgrounds such as <TabsList />, <Skeleton /> and <Switch /> */
26
+
27
+ /* --muted: 220deg 6.82% 17.25%; */
28
+
29
+ /* --muted-foreground: 215 20.2% 65.1%; */
30
+
31
+ --muted: 240 3.7% 15.9%;
32
+ --muted-foreground: 240 5% 64.9%;
33
+
34
+ /* 主题颜色 */
35
+
36
+ /* --primary: 245 82% 67%; */
37
+ --primary-foreground: 0 0% 98%;
38
+
39
+ /* Used for destructive actions such as <Button variant="destructive"> */
40
+
41
+ --destructive: 359.21 68.47% 56.47%;
42
+ --destructive-foreground: 0 0% 98%;
43
+
44
+ /* Used for success actions such as <message> */
45
+
46
+ --info: 180, 1.54%, 12.75%;
47
+ --info-foreground: 220, 4%, 58%;
48
+
49
+ /* Used for success actions such as <message> */
50
+
51
+ --success: 144 57% 58%;
52
+ --success-foreground: 0 0% 98%;
53
+
54
+ /* Used for warning actions such as <message> */
55
+
56
+ --warning: 42 84% 61%;
57
+ --warning-foreground: 0 0% 98%;
58
+
59
+ /* 颜色次要 */
60
+ --secondary: 240 5% 17%;
61
+ --secondary-foreground: 0 0% 98%;
62
+
63
+ /* Used for accents such as hover effects on <DropdownMenuItem>, <SelectItem>...etc */
64
+ --accent: 216 5% 19%;
65
+ --accent-dark: 240 0% 22%;
66
+ --accent-darker: 240 0% 26%;
67
+ --accent-lighter: 216 5% 12%;
68
+ --accent-hover: 216 5% 24%;
69
+ --accent-foreground: 0 0% 98%;
70
+
71
+ /* Darker color */
72
+ --heavy: 216 5% 24%;
73
+ --heavy-foreground: var(--accent-foreground);
74
+
75
+ /* Default border color */
76
+ --border: 240 3.7% 22%;
77
+
78
+ /* Border color for inputs such as <Input />, <Select />, <Textarea /> */
79
+ --input: 0deg 0% 100% / 10%;
80
+ --input-placeholder: 218deg 11% 65%;
81
+ --input-background: 0deg 0% 100% / 5%;
82
+
83
+ /* Used for focus ring */
84
+ --ring: 222.2 84% 4.9%;
85
+
86
+ /* 基本圆角大小 */
87
+ --radius: 0.5rem;
88
+
89
+ /* ============= Custom ============= */
90
+
91
+ /* 遮罩颜色 */
92
+ --overlay: 0deg 0% 0% / 40%;
93
+ --overlay-content: 0deg 0% 0% / 40%;
94
+
95
+ /* 基本文字大小 */
96
+ --font-size-base: 16px;
97
+
98
+ /* =============component & UI============= */
99
+
100
+ --sidebar: 222.34deg 10.43% 12.27%;
101
+ --sidebar-deep: 220deg 13.06% 9%;
102
+ --menu: var(--sidebar);
103
+
104
+ /* header */
105
+ --header: 222.34deg 10.43% 12.27%;
106
+
107
+ color-scheme: dark;
108
+ }
109
+
110
+ .dark[data-theme='violet'],
111
+ [data-theme='violet'] .dark {
112
+ --background: 224 71.4% 4.1%;
113
+ --background-deep: var(--background);
114
+ --foreground: 210 20% 98%;
115
+ --card: 224 71.4% 4.1%;
116
+ --card-foreground: 210 20% 98%;
117
+ --popover: 224 71.4% 4.1%;
118
+ --popover-foreground: 210 20% 98%;
119
+ --primary-foreground: 210 20% 98%;
120
+ --secondary: 215 27.9% 16.9%;
121
+ --secondary-foreground: 210 20% 98%;
122
+ --muted: 215 27.9% 16.9%;
123
+ --muted-foreground: 217.9 10.6% 64.9%;
124
+ --accent: 215 27.9% 16.9%;
125
+ --accent-foreground: 210 20% 98%;
126
+ --destructive: 359.21 68.47% 56.47%;
127
+ --destructive-foreground: 210 20% 98%;
128
+ --border: 215 27.9% 16.9%;
129
+ --input: 215 27.9% 16.9%;
130
+ --ring: 263.4 70% 50.4%;
131
+ --sidebar: 224 71.4% 4.1%;
132
+ --sidebar-deep: 224 71.4% 4.1%;
133
+ --header: 224 71.4% 4.1%;
134
+ }
135
+
136
+ .dark[data-theme='pink'],
137
+ [data-theme='pink'] .dark {
138
+ --background: 20 14.3% 4.1%;
139
+ --background-deep: var(--background);
140
+ --foreground: 0 0% 95%;
141
+ --card: 0 0% 9%;
142
+ --card-foreground: 0 0% 95%;
143
+ --popover: 0 0% 9%;
144
+ --popover-foreground: 0 0% 95%;
145
+ --primary-foreground: 355.7 100% 97.3%;
146
+ --secondary: 240 3.7% 15.9%;
147
+ --secondary-foreground: 0 0% 98%;
148
+ --muted: 0 0% 15%;
149
+ --muted-foreground: 240 5% 64.9%;
150
+ --accent: 12 6.5% 15.1%;
151
+ --accent-foreground: 0 0% 98%;
152
+ --destructive: 359.21 68.47% 56.47%;
153
+ --destructive-foreground: 0 85.7% 97.3%;
154
+ --border: 240 3.7% 15.9%;
155
+ --input: 240 3.7% 15.9%;
156
+ --ring: 346.8 77.2% 49.8%;
157
+ --sidebar: 20 14.3% 4.1%;
158
+ --sidebar-deep: 20 14.3% 4.1%;
159
+ --header: 20 14.3% 4.1%;
160
+ }
161
+
162
+ .dark[data-theme='rose'],
163
+ [data-theme='rose'] .dark {
164
+ --background: 0 0% 3.9%;
165
+ --background-deep: var(--background);
166
+ --foreground: 0 0% 98%;
167
+ --card: 0 0% 3.9%;
168
+ --card-foreground: 0 0% 98%;
169
+ --popover: 0 0% 3.9%;
170
+ --popover-foreground: 0 0% 98%;
171
+ --primary-foreground: 0 85.7% 97.3%;
172
+ --secondary: 0 0% 14.9%;
173
+ --secondary-foreground: 0 0% 98%;
174
+ --muted: 0 0% 14.9%;
175
+ --muted-foreground: 0 0% 63.9%;
176
+ --accent: 0 0% 14.9%;
177
+ --accent-foreground: 0 0% 98%;
178
+ --destructive: 359.21 68.47% 56.47%;
179
+ --destructive-foreground: 0 0% 98%;
180
+ --border: 0 0% 14.9%;
181
+ --input: 0 0% 14.9%;
182
+ --ring: 0 72.2% 50.6%;
183
+ --sidebar: 0 0% 3.9%;
184
+ --sidebar-deep: 0 0% 3.9%;
185
+ --header: 0 0% 3.9%;
186
+ }
187
+
188
+ .dark[data-theme='sky-blue'],
189
+ [data-theme='sky-blue'] .dark {
190
+ --background: 222.2 84% 4.9%;
191
+ --background-deep: var(--background);
192
+ --foreground: 210 40% 98%;
193
+ --card: 222.2 84% 4.9%;
194
+ --card-foreground: 210 40% 98%;
195
+ --popover: 222.2 84% 4.9%;
196
+ --popover-foreground: 210 40% 98%;
197
+ --primary-foreground: 210 20% 98%;
198
+ --secondary: 217.2 32.6% 17.5%;
199
+ --secondary-foreground: 210 40% 98%;
200
+ --muted: 217.2 32.6% 17.5%;
201
+ --muted-foreground: 215 20.2% 65.1%;
202
+ --accent: 217.2 32.6% 17.5%;
203
+ --accent-foreground: 210 40% 98%;
204
+ --destructive: 359.21 68.47% 56.47%;
205
+ --destructive-foreground: 210 40% 98%;
206
+ --border: 217.2 32.6% 17.5%;
207
+ --input: 217.2 32.6% 17.5%;
208
+ --ring: 224.3 76.3% 48%;
209
+ --sidebar: 222.2 84% 4.9%;
210
+ --sidebar-deep: 222.2 84% 4.9%;
211
+ --header: 222.2 84% 4.9%;
212
+ }
213
+
214
+ .dark[data-theme='deep-blue'],
215
+ [data-theme='deep-blue'] .dark {
216
+ --background: 222.2 84% 4.9%;
217
+ --background-deep: var(--background);
218
+ --foreground: 210 40% 98%;
219
+ --card: 222.2 84% 4.9%;
220
+ --card-foreground: 210 40% 98%;
221
+ --popover: 222.2 84% 4.9%;
222
+ --popover-foreground: 210 40% 98%;
223
+ --primary-foreground: 210 20% 98%;
224
+ --secondary: 217.2 32.6% 17.5%;
225
+ --secondary-foreground: 210 40% 98%;
226
+ --muted: 217.2 32.6% 17.5%;
227
+ --muted-foreground: 215 20.2% 65.1%;
228
+ --accent: 217.2 32.6% 17.5%;
229
+ --accent-foreground: 210 40% 98%;
230
+ --destructive: 359.21 68.47% 56.47%;
231
+ --destructive-foreground: 210 40% 98%;
232
+ --border: 217.2 32.6% 17.5%;
233
+ --input: 217.2 32.6% 17.5%;
234
+ --ring: 224.3 76.3% 48%;
235
+ --sidebar: 222.2 84% 4.9%;
236
+ --sidebar-deep: 222.2 84% 4.9%;
237
+ --header: 222.2 84% 4.9%;
238
+ }
239
+
240
+ .dark[data-theme='green'],
241
+ [data-theme='green'] .dark {
242
+ --background: 20 14.3% 4.1%;
243
+ --background-deep: var(--background);
244
+ --foreground: 0 0% 95%;
245
+ --card: 24 9.8% 6%;
246
+ --card-foreground: 0 0% 95%;
247
+ --popover: 0 0% 9%;
248
+ --popover-foreground: 0 0% 95%;
249
+ --primary-foreground: 210 20% 98%;
250
+ --secondary: 240 3.7% 15.9%;
251
+ --secondary-foreground: 0 0% 98%;
252
+ --muted: 0 0% 15%;
253
+ --muted-foreground: 240 5% 64.9%;
254
+ --accent: 12 6.5% 15.1%;
255
+ --accent-foreground: 0 0% 98%;
256
+ --destructive: 359.21 68.47% 56.47%;
257
+ --destructive-foreground: 0 85.7% 97.3%;
258
+ --border: 240 3.7% 15.9%;
259
+ --input: 240 3.7% 15.9%;
260
+ --ring: 142.4 71.8% 29.2%;
261
+ --sidebar: 20 14.3% 4.1%;
262
+ --sidebar-deep: 20 14.3% 4.1%;
263
+ --header: 20 14.3% 4.1%;
264
+ }
265
+
266
+ .dark[data-theme='deep-green'],
267
+ [data-theme='deep-green'] .dark {
268
+ --background: 20 14.3% 4.1%;
269
+ --background-deep: var(--background);
270
+ --foreground: 0 0% 95%;
271
+ --card: 24 9.8% 6%;
272
+ --card-foreground: 0 0% 95%;
273
+ --popover: 0 0% 9%;
274
+ --popover-foreground: 0 0% 95%;
275
+ --primary-foreground: 210 20% 98%;
276
+ --secondary: 240 3.7% 15.9%;
277
+ --secondary-foreground: 0 0% 98%;
278
+ --muted: 0 0% 15%;
279
+ --muted-foreground: 240 5% 64.9%;
280
+ --accent: 12 6.5% 15.1%;
281
+ --accent-foreground: 0 0% 98%;
282
+ --destructive: 359.21 68.47% 56.47%;
283
+ --destructive-foreground: 0 85.7% 97.3%;
284
+ --border: 240 3.7% 15.9%;
285
+ --input: 240 3.7% 15.9%;
286
+ --ring: 142.4 71.8% 29.2%;
287
+ --sidebar: 20 14.3% 4.1%;
288
+ --sidebar-deep: 20 14.3% 4.1%;
289
+ --header: 20 14.3% 4.1%;
290
+ }
291
+
292
+ .dark[data-theme='orange'],
293
+ [data-theme='orange'] .dark {
294
+ --background: 20 14.3% 4.1%;
295
+ --background-deep: var(--background);
296
+ --foreground: 60 9.1% 97.8%;
297
+ --card: 20 14.3% 4.1%;
298
+ --card-foreground: 60 9.1% 97.8%;
299
+ --popover: 20 14.3% 4.1%;
300
+ --popover-foreground: 60 9.1% 97.8%;
301
+ --primary-foreground: 60 9.1% 97.8%;
302
+ --secondary: 12 6.5% 15.1%;
303
+ --secondary-foreground: 60 9.1% 97.8%;
304
+ --muted: 12 6.5% 15.1%;
305
+ --muted-foreground: 24 5.4% 63.9%;
306
+ --accent: 12 6.5% 15.1%;
307
+ --accent-foreground: 60 9.1% 97.8%;
308
+ --destructive: 0 72.2% 50.6%;
309
+ --destructive-foreground: 60 9.1% 97.8%;
310
+ --border: 12 6.5% 15.1%;
311
+ --input: 12 6.5% 15.1%;
312
+ --ring: 20.5 90.2% 48.2%;
313
+ --sidebar: 20 14.3% 4.1%;
314
+ --sidebar-deep: 20 14.3% 4.1%;
315
+ --header: 20 14.3% 4.1%;
316
+ }
317
+
318
+ .dark[data-theme='yellow'],
319
+ [data-theme='yellow'] .dark {
320
+ --background: 20 14.3% 4.1%;
321
+ --background-deep: var(--background);
322
+ --foreground: 60 9.1% 97.8%;
323
+ --card: 20 14.3% 4.1%;
324
+ --card-foreground: 60 9.1% 97.8%;
325
+ --popover: 20 14.3% 4.1%;
326
+ --popover-foreground: 60 9.1% 97.8%;
327
+ --primary-foreground: 26 83.3% 14.1%;
328
+ --secondary: 12 6.5% 15.1%;
329
+ --secondary-foreground: 60 9.1% 97.8%;
330
+ --muted: 12 6.5% 15.1%;
331
+ --muted-foreground: 24 5.4% 63.9%;
332
+ --accent: 12 6.5% 15.1%;
333
+ --accent-foreground: 60 9.1% 97.8%;
334
+ --destructive: 359.21 68.47% 56.47%;
335
+ --destructive-foreground: 60 9.1% 97.8%;
336
+ --border: 12 6.5% 15.1%;
337
+ --input: 12 6.5% 15.1%;
338
+ --ring: 35.5 91.7% 32.9%;
339
+ --sidebar: 20 14.3% 4.1%;
340
+ --sidebar-deep: 20 14.3% 4.1%;
341
+ --header: 20 14.3% 4.1%;
342
+ }
343
+
344
+ .dark[data-theme='zinc'],
345
+ [data-theme='zinc'] .dark {
346
+ --background: 240 10% 3.9%;
347
+ --background-deep: var(--background);
348
+ --foreground: 0 0% 98%;
349
+ --card: 240 10% 3.9%;
350
+ --card-foreground: 0 0% 98%;
351
+ --popover: 240 10% 3.9%;
352
+ --popover-foreground: 0 0% 98%;
353
+ --primary-foreground: 240 5.9% 10%;
354
+ --secondary: 240 3.7% 15.9%;
355
+ --secondary-foreground: 0 0% 98%;
356
+ --muted: 240 3.7% 15.9%;
357
+ --muted-foreground: 240 5% 64.9%;
358
+ --accent: 240 3.7% 15.9%;
359
+ --accent-foreground: 0 0% 98%;
360
+ --destructive: 359.21 68.47% 56.47%;
361
+ --destructive-foreground: 0 0% 98%;
362
+ --border: 240 3.7% 15.9%;
363
+ --input: 240 3.7% 15.9%;
364
+ --ring: 240 4.9% 83.9%;
365
+ --sidebar: 240 10% 3.9%;
366
+ --sidebar-deep: 240 10% 3.9%;
367
+ --header: 240 10% 3.9%;
368
+ }
369
+
370
+ .dark[data-theme='neutral'],
371
+ [data-theme='neutral'] .dark {
372
+ --background: 0 0% 3.9%;
373
+ --background-deep: var(--background);
374
+ --foreground: 0 0% 98%;
375
+ --card: 0 0% 3.9%;
376
+ --card-foreground: 0 0% 98%;
377
+ --popover: 0 0% 3.9%;
378
+ --popover-foreground: 0 0% 98%;
379
+ --primary-foreground: 0 0% 9%;
380
+ --secondary: 0 0% 14.9%;
381
+ --secondary-foreground: 0 0% 98%;
382
+ --muted: 0 0% 14.9%;
383
+ --muted-foreground: 0 0% 63.9%;
384
+ --accent: 0 0% 14.9%;
385
+ --accent-foreground: 0 0% 98%;
386
+ --destructive: 359.21 68.47% 56.47%;
387
+ --destructive-foreground: 0 0% 98%;
388
+ --border: 0 0% 14.9%;
389
+ --input: 0 0% 14.9%;
390
+ --ring: 0 0% 83.1%;
391
+ --sidebar: 0 0% 3.9%;
392
+ --sidebar-deep: 0 0% 3.9%;
393
+ --header: 0 0% 3.9%;
394
+ }
395
+
396
+ .dark[data-theme='slate'],
397
+ [data-theme='slate'] .dark {
398
+ --background: 222.2 84% 4.9%;
399
+ --background-deep: var(--background);
400
+ --foreground: 210 40% 98%;
401
+ --card: 222.2 84% 4.9%;
402
+ --card-foreground: 210 40% 98%;
403
+ --popover: 222.2 84% 4.9%;
404
+ --popover-foreground: 210 40% 98%;
405
+ --primary-foreground: 222.2 47.4% 11.2%;
406
+ --secondary: 217.2 32.6% 17.5%;
407
+ --secondary-foreground: 210 40% 98%;
408
+ --muted: 217.2 32.6% 17.5%;
409
+ --muted-foreground: 215 20.2% 65.1%;
410
+ --accent: 217.2 32.6% 17.5%;
411
+ --accent-foreground: 210 40% 98%;
412
+ --destructive: 359.21 68.47% 56.47%;
413
+ --destructive-foreground: 210 40% 98%;
414
+ --border: 217.2 32.6% 17.5%;
415
+ --input: 217.2 32.6% 17.5%;
416
+ --ring: 212.7 26.8% 83.9;
417
+ --sidebar: 222.2 84% 4.9%;
418
+ --sidebar-deep: 222.2 84% 4.9%;
419
+ --header: 222.2 84% 4.9%;
420
+ }
421
+
422
+ .dark[data-theme='gray'],
423
+ [data-theme='gray'] .dark {
424
+ --background: 224 71.4% 4.1%;
425
+ --background-deep: var(--background);
426
+ --foreground: 210 20% 98%;
427
+ --card: 224 71.4% 4.1%;
428
+ --card-foreground: 210 20% 98%;
429
+ --popover: 224 71.4% 4.1%;
430
+ --popover-foreground: 210 20% 98%;
431
+ --primary-foreground: 220.9 39.3% 11%;
432
+ --secondary: 215 27.9% 16.9%;
433
+ --secondary-foreground: 210 20% 98%;
434
+ --muted: 215 27.9% 16.9%;
435
+ --muted-foreground: 217.9 10.6% 64.9%;
436
+ --accent: 215 27.9% 16.9%;
437
+ --accent-foreground: 210 20% 98%;
438
+ --destructive: 359.21 68.47% 56.47%;
439
+ --destructive-foreground: 210 20% 98%;
440
+ --border: 215 27.9% 16.9%;
441
+ --input: 215 27.9% 16.9%;
442
+ --ring: 216 12.2% 83.9%;
443
+ --sidebar: 224 71.4% 4.1%;
444
+ --sidebar-deep: 224 71.4% 4.1%;
445
+ --header: 224 71.4% 4.1%;
446
+ }