sigma-ui 1.0.16 → 1.0.19
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/__generated/registry-schemes/colors/blue.json +34 -70
- package/__generated/registry-schemes/colors/frosted-glass.json +54 -0
- package/__generated/registry-schemes/colors/grayscale.json +54 -0
- package/__generated/registry-schemes/colors/green.json +34 -70
- package/__generated/registry-schemes/colors/orange.json +35 -71
- package/__generated/registry-schemes/colors/red.json +33 -69
- package/__generated/registry-schemes/colors/rose.json +33 -69
- package/__generated/registry-schemes/colors/yellow.json +34 -70
- package/__generated/registry-schemes/style-system/css/button.json +1 -1
- package/__generated/registry-schemes/style-system/css/card-lightbox.json +1 -1
- package/__generated/registry-schemes/style-system/css/combobox.json +2 -2
- package/__generated/registry-schemes/style-system/css/context-menu.json +2 -2
- package/__generated/registry-schemes/style-system/css/dropdown-menu.json +2 -2
- package/__generated/registry-schemes/style-system/css/input.json +1 -1
- package/__generated/registry-schemes/style-system/css/menubar.json +2 -2
- package/__generated/registry-schemes/style-system/css/navigation-menu.json +1 -1
- package/__generated/registry-schemes/style-system/css/number-field.json +1 -1
- package/__generated/registry-schemes/style-system/css/popover.json +1 -1
- package/__generated/registry-schemes/style-system/css/select.json +2 -2
- package/__generated/registry-schemes/style-system/css/sheet.json +1 -1
- package/__generated/registry-schemes/style-system/css/switch.json +1 -1
- package/__generated/registry-schemes/style-system/css/tabs.json +1 -1
- package/__generated/registry-schemes/style-system/css/tags-input.json +1 -1
- package/__generated/registry-schemes/style-system/css/textarea.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/button.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/card-lightbox.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/combobox.json +2 -2
- package/__generated/registry-schemes/style-system/tailwind/context-menu.json +2 -2
- package/__generated/registry-schemes/style-system/tailwind/dropdown-menu.json +2 -2
- package/__generated/registry-schemes/style-system/tailwind/input.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/menubar.json +2 -2
- package/__generated/registry-schemes/style-system/tailwind/navigation-menu.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/number-field.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/popover.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/select.json +2 -2
- package/__generated/registry-schemes/style-system/tailwind/switch.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/tabs.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/tags-input.json +1 -1
- package/__generated/registry-schemes/style-system/tailwind/textarea.json +1 -1
- package/dist/index.js +367 -12
- package/dist/index.js.map +1 -1
- package/package.json +10 -1
- package/__generated/registry-schemes/colors/gray.json +0 -90
- package/__generated/registry-schemes/colors/index.json +0 -829
- package/__generated/registry-schemes/colors/violet.json +0 -90
- package/__generated/registry-schemes/colors/zinc.json +0 -90
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"name": "TabsTrigger.vue",
|
|
20
|
-
"content": "<script setup lang=\"ts\">\nimport { TabsTrigger, type TabsTriggerProps, useForwardProps } from 'reka-ui';\nimport { cn } from '@ui/utils';\n\nconst props = defineProps<TabsTriggerProps>();\n\nconst forwardedProps = useForwardProps(props);\n</script>\n\n<template>\n <TabsTrigger\n v-bind=\"forwardedProps\"\n :class=\"cn(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 h-full text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-
|
|
20
|
+
"content": "<script setup lang=\"ts\">\nimport { TabsTrigger, type TabsTriggerProps, useForwardProps } from 'reka-ui';\nimport { cn } from '@ui/utils';\n\nconst props = defineProps<TabsTriggerProps>();\n\nconst forwardedProps = useForwardProps(props);\n</script>\n\n<template>\n <TabsTrigger\n v-bind=\"forwardedProps\"\n :class=\"cn(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 h-full text-sm font-medium ring-offset-background transition-all focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-input data-[state=active]:text-foreground data-[state=active]:shadow-sm',\n $attrs.class ?? '',\n )\"\n >\n <slot />\n </TabsTrigger>\n</template>\n"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "index.ts",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"files": [
|
|
8
8
|
{
|
|
9
9
|
"name": "TagsInput.vue",
|
|
10
|
-
"content": "<script setup lang=\"ts\">\nimport { TagsInputRoot, type TagsInputRootEmits, type TagsInputRootProps, useForwardPropsEmits } from 'reka-ui';\nimport { cn } from '@ui/utils';\n\nconst props = defineProps<TagsInputRootProps>();\nconst emits = defineEmits<TagsInputRootEmits>();\n\nconst forwarded = useForwardPropsEmits(props, emits);\n</script>\n\n<template>\n <TagsInputRoot\n v-bind=\"forwarded\"\n :class=\"cn('flex flex-wrap gap-2 items-center rounded-md border border-
|
|
10
|
+
"content": "<script setup lang=\"ts\">\nimport { TagsInputRoot, type TagsInputRootEmits, type TagsInputRootProps, useForwardPropsEmits } from 'reka-ui';\nimport { cn } from '@ui/utils';\n\nconst props = defineProps<TagsInputRootProps>();\nconst emits = defineEmits<TagsInputRootEmits>();\n\nconst forwarded = useForwardPropsEmits(props, emits);\n</script>\n\n<template>\n <TagsInputRoot\n v-bind=\"forwarded\"\n :class=\"cn('flex flex-wrap gap-2 items-center rounded-md border border-border bg-input px-3 py-2 text-sm', $attrs.class ?? '')\"\n >\n <slot />\n </TagsInputRoot>\n</template>\n"
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
"name": "TagsInputInput.vue",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"files": [
|
|
6
6
|
{
|
|
7
7
|
"name": "Textarea.vue",
|
|
8
|
-
"content": "<script setup lang=\"ts\">\nimport { cn } from '@ui/utils';\n\nconst props = defineProps<{\n modelValue?: string | number;\n}>();\n\nconst model = defineModel<string | number>();\n</script>\n\n<template>\n <textarea\n v-model=\"model\"\n :class=\"cn('flex min-h-20 w-full rounded-md border border-
|
|
8
|
+
"content": "<script setup lang=\"ts\">\nimport { cn } from '@ui/utils';\n\nconst props = defineProps<{\n modelValue?: string | number;\n}>();\n\nconst model = defineModel<string | number>();\n</script>\n\n<template>\n <textarea\n v-model=\"model\"\n :class=\"cn('flex min-h-20 w-full rounded-md border border-border bg-input px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', $attrs.class ?? '')\"\n autocomplete=\"off\"\n />\n</template>\n"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"name": "index.ts",
|
package/dist/index.js
CHANGED
|
@@ -104,7 +104,7 @@ function resolveImport(importPath, config) {
|
|
|
104
104
|
// src/schemas/index.ts
|
|
105
105
|
import { z } from "zod";
|
|
106
106
|
var DEFAULT_TYPESCRIPT_CONFIG = "tsconfig.json";
|
|
107
|
-
var DEFAULT_TAILWIND_BASE_COLOR = "
|
|
107
|
+
var DEFAULT_TAILWIND_BASE_COLOR = "grayscale";
|
|
108
108
|
var commonFields = {
|
|
109
109
|
styleSystem: z.string(),
|
|
110
110
|
baseColor: z.string().default(DEFAULT_TAILWIND_BASE_COLOR),
|
|
@@ -299,18 +299,373 @@ function handleError(error) {
|
|
|
299
299
|
import fs2 from "node:fs";
|
|
300
300
|
import path3 from "pathe";
|
|
301
301
|
|
|
302
|
-
// ../../apps/docs/src/lib/registry/
|
|
303
|
-
var
|
|
304
|
-
{
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
302
|
+
// ../../apps/docs/src/lib/registry/themes.ts
|
|
303
|
+
var themes = [
|
|
304
|
+
{
|
|
305
|
+
name: "grayscale",
|
|
306
|
+
label: "Grayscale",
|
|
307
|
+
previewColor: "#52525b",
|
|
308
|
+
cssVars: {
|
|
309
|
+
light: {
|
|
310
|
+
"background": "0 0% 100%",
|
|
311
|
+
"foreground": "240 10% 3.9%",
|
|
312
|
+
"muted": "240 4.8% 95.9%",
|
|
313
|
+
"muted-foreground": "240 3.8% 46.1%",
|
|
314
|
+
"popover": "0 0% 100%",
|
|
315
|
+
"popover-foreground": "240 10% 3.9%",
|
|
316
|
+
"card": "0 0% 100%",
|
|
317
|
+
"card-foreground": "240 10% 3.9%",
|
|
318
|
+
"border": "240 5.9% 90%",
|
|
319
|
+
"input": "0 0% 100%",
|
|
320
|
+
"primary": "240 5.9% 10%",
|
|
321
|
+
"primary-foreground": "0 0% 98%",
|
|
322
|
+
"secondary": "240 4.8% 95.9%",
|
|
323
|
+
"secondary-foreground": "240 5.9% 10%",
|
|
324
|
+
"destructive": "0 84.2% 60.2%",
|
|
325
|
+
"destructive-foreground": "0 0% 98%",
|
|
326
|
+
"ring": "240 5.9% 10%"
|
|
327
|
+
},
|
|
328
|
+
dark: {
|
|
329
|
+
"background": "240 10% 3.9%",
|
|
330
|
+
"foreground": "0 0% 98%",
|
|
331
|
+
"muted": "240 3.7% 15.9%",
|
|
332
|
+
"muted-foreground": "240 5% 64.9%",
|
|
333
|
+
"popover": "240 10% 3.9%",
|
|
334
|
+
"popover-foreground": "0 0% 98%",
|
|
335
|
+
"card": "240 10% 3.9%",
|
|
336
|
+
"card-foreground": "0 0% 98%",
|
|
337
|
+
"border": "240 3.7% 15.9%",
|
|
338
|
+
"input": "240 10% 3.9%",
|
|
339
|
+
"primary": "0 0% 98%",
|
|
340
|
+
"primary-foreground": "240 5.9% 10%",
|
|
341
|
+
"secondary": "240 3.7% 15.9%",
|
|
342
|
+
"secondary-foreground": "0 0% 98%",
|
|
343
|
+
"destructive": "0 62.8% 30.6%",
|
|
344
|
+
"destructive-foreground": "0 0% 98%",
|
|
345
|
+
"ring": "240 4.9% 83.9%"
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
name: "frosted-glass",
|
|
351
|
+
label: "Frosted glass",
|
|
352
|
+
previewColor: "#587aa9",
|
|
353
|
+
cssVars: {
|
|
354
|
+
light: {
|
|
355
|
+
"background": "0 0% 100%",
|
|
356
|
+
"foreground": "224 71.4% 4.1%",
|
|
357
|
+
"muted": "220 14.3% 95.9%",
|
|
358
|
+
"muted-foreground": "220 8.9% 46.1%",
|
|
359
|
+
"popover": "0 0% 100% / 10%",
|
|
360
|
+
"popover-foreground": "224 71.4% 4.1%",
|
|
361
|
+
"card": "0 0% 100% / 10%",
|
|
362
|
+
"card-foreground": "224 71.4% 4.1%",
|
|
363
|
+
"border": "220 13% 91%",
|
|
364
|
+
"input": "0 0% 100%",
|
|
365
|
+
"primary": "220.9 39.3% 11%",
|
|
366
|
+
"primary-foreground": "210 20% 98%",
|
|
367
|
+
"secondary": "220 14.3% 95.9%",
|
|
368
|
+
"secondary-foreground": "220.9 39.3% 11%",
|
|
369
|
+
"destructive": "0 84.2% 60.2%",
|
|
370
|
+
"destructive-foreground": "210 20% 98%",
|
|
371
|
+
"ring": "224 71.4% 4.1%"
|
|
372
|
+
},
|
|
373
|
+
dark: {
|
|
374
|
+
"background": "224 71.4% 4.1%",
|
|
375
|
+
"foreground": "210 20% 98%",
|
|
376
|
+
"muted": "215 27.9% 16.9%",
|
|
377
|
+
"muted-foreground": "217.9 10.6% 64.9%",
|
|
378
|
+
"popover": "224 71.4% 4.1% / 20%",
|
|
379
|
+
"popover-foreground": "210 20% 98%",
|
|
380
|
+
"card": "215 27.9% 16.9% / 30%",
|
|
381
|
+
"card-foreground": "210 20% 98%",
|
|
382
|
+
"border": "215 27.9% 16.9%",
|
|
383
|
+
"input": "224 71.4% 4.1% / 50%",
|
|
384
|
+
"primary": "210 20% 98%",
|
|
385
|
+
"primary-foreground": "220.9 39.3% 11%",
|
|
386
|
+
"secondary": "215 27.9% 16.9% / 50%",
|
|
387
|
+
"secondary-foreground": "210 20% 98%",
|
|
388
|
+
"destructive": "0 62.8% 30.6%",
|
|
389
|
+
"destructive-foreground": "210 20% 98%",
|
|
390
|
+
"ring": "216 12.2% 83.9%"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
name: "red",
|
|
396
|
+
label: "Red",
|
|
397
|
+
previewColor: "#dc2626",
|
|
398
|
+
cssVars: {
|
|
399
|
+
light: {
|
|
400
|
+
"background": "0 0% 100%",
|
|
401
|
+
"foreground": "0 0% 3.9%",
|
|
402
|
+
"muted": "0 0% 96.1%",
|
|
403
|
+
"muted-foreground": "0 0% 45.1%",
|
|
404
|
+
"popover": "0 0% 100%",
|
|
405
|
+
"popover-foreground": "0 0% 3.9%",
|
|
406
|
+
"card": "0 0% 100%",
|
|
407
|
+
"card-foreground": "0 0% 3.9%",
|
|
408
|
+
"border": "0 0% 89.8%",
|
|
409
|
+
"input": "0 0% 100%",
|
|
410
|
+
"primary": "0 72.2% 50.6%",
|
|
411
|
+
"primary-foreground": "0 85.7% 97.3%",
|
|
412
|
+
"secondary": "0 0% 96.1%",
|
|
413
|
+
"secondary-foreground": "0 0% 9%",
|
|
414
|
+
"destructive": "0 84.2% 60.2%",
|
|
415
|
+
"destructive-foreground": "0 0% 98%",
|
|
416
|
+
"ring": "0 72.2% 50.6%"
|
|
417
|
+
},
|
|
418
|
+
dark: {
|
|
419
|
+
"background": "0 0% 3.9%",
|
|
420
|
+
"foreground": "0 0% 98%",
|
|
421
|
+
"muted": "0 0% 14.9%",
|
|
422
|
+
"muted-foreground": "0 0% 63.9%",
|
|
423
|
+
"popover": "0 0% 3.9%",
|
|
424
|
+
"popover-foreground": "0 0% 98%",
|
|
425
|
+
"card": "0 0% 3.9%",
|
|
426
|
+
"card-foreground": "0 0% 98%",
|
|
427
|
+
"border": "0 0% 14.9%",
|
|
428
|
+
"input": "0 0% 3.9%",
|
|
429
|
+
"primary": "0 72.2% 50.6%",
|
|
430
|
+
"primary-foreground": "0 85.7% 97.3%",
|
|
431
|
+
"secondary": "0 0% 14.9%",
|
|
432
|
+
"secondary-foreground": "0 0% 98%",
|
|
433
|
+
"destructive": "0 62.8% 30.6%",
|
|
434
|
+
"destructive-foreground": "0 0% 98%",
|
|
435
|
+
"ring": "0 72.2% 50.6%"
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
name: "rose",
|
|
441
|
+
label: "Rose",
|
|
442
|
+
previewColor: "#e11d48",
|
|
443
|
+
cssVars: {
|
|
444
|
+
light: {
|
|
445
|
+
"background": "0 0% 100%",
|
|
446
|
+
"foreground": "240 10% 3.9%",
|
|
447
|
+
"muted": "240 4.8% 95.9%",
|
|
448
|
+
"muted-foreground": "240 3.8% 46.1%",
|
|
449
|
+
"popover": "0 0% 100%",
|
|
450
|
+
"popover-foreground": "240 10% 3.9%",
|
|
451
|
+
"card": "0 0% 100%",
|
|
452
|
+
"card-foreground": "240 10% 3.9%",
|
|
453
|
+
"border": "240 5.9% 90%",
|
|
454
|
+
"input": "0 0% 100%",
|
|
455
|
+
"primary": "346.8 77.2% 49.8%",
|
|
456
|
+
"primary-foreground": "355.7 100% 97.3%",
|
|
457
|
+
"secondary": "240 4.8% 95.9%",
|
|
458
|
+
"secondary-foreground": "240 5.9% 10%",
|
|
459
|
+
"destructive": "0 84.2% 60.2%",
|
|
460
|
+
"destructive-foreground": "0 0% 98%",
|
|
461
|
+
"ring": "346.8 77.2% 49.8%"
|
|
462
|
+
},
|
|
463
|
+
dark: {
|
|
464
|
+
"background": "20 14.3% 4.1%",
|
|
465
|
+
"foreground": "0 0% 95%",
|
|
466
|
+
"muted": "0 0% 15%",
|
|
467
|
+
"muted-foreground": "240 5% 64.9%",
|
|
468
|
+
"popover": "0 0% 9%",
|
|
469
|
+
"popover-foreground": "0 0% 95%",
|
|
470
|
+
"card": "24 9.8% 10%",
|
|
471
|
+
"card-foreground": "0 0% 95%",
|
|
472
|
+
"border": "240 3.7% 15.9%",
|
|
473
|
+
"input": "20 14.3% 4.1%",
|
|
474
|
+
"primary": "346.8 77.2% 49.8%",
|
|
475
|
+
"primary-foreground": "355.7 100% 97.3%",
|
|
476
|
+
"secondary": "240 3.7% 15.9%",
|
|
477
|
+
"secondary-foreground": "0 0% 98%",
|
|
478
|
+
"destructive": "0 62.8% 30.6%",
|
|
479
|
+
"destructive-foreground": "0 85.7% 97.3%",
|
|
480
|
+
"ring": "346.8 77.2% 49.8%"
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
name: "orange",
|
|
486
|
+
label: "Orange",
|
|
487
|
+
previewColor: "#ea580c",
|
|
488
|
+
cssVars: {
|
|
489
|
+
light: {
|
|
490
|
+
"background": "0 0% 100%",
|
|
491
|
+
"foreground": "20 14.3% 4.1%",
|
|
492
|
+
"muted": "60 4.8% 95.9%",
|
|
493
|
+
"muted-foreground": "25 5.3% 44.7%",
|
|
494
|
+
"popover": "0 0% 100%",
|
|
495
|
+
"popover-foreground": "20 14.3% 4.1%",
|
|
496
|
+
"card": "0 0% 100%",
|
|
497
|
+
"card-foreground": "20 14.3% 4.1%",
|
|
498
|
+
"border": "20 5.9% 90%",
|
|
499
|
+
"input": "0 0% 100%",
|
|
500
|
+
"primary": "24.6 95% 53.1%",
|
|
501
|
+
"primary-foreground": "60 9.1% 97.8%",
|
|
502
|
+
"secondary": "60 4.8% 95.9%",
|
|
503
|
+
"secondary-foreground": "24 9.8% 10%",
|
|
504
|
+
"destructive": "0 84.2% 60.2%",
|
|
505
|
+
"destructive-foreground": "60 9.1% 97.8%",
|
|
506
|
+
"ring": "24.6 95% 53.1%"
|
|
507
|
+
},
|
|
508
|
+
dark: {
|
|
509
|
+
"background": "20 14.3% 4.1%",
|
|
510
|
+
"foreground": "60 9.1% 97.8%",
|
|
511
|
+
"muted": "12 6.5% 15.1%",
|
|
512
|
+
"muted-foreground": "24 5.4% 63.9%",
|
|
513
|
+
"popover": "20 14.3% 4.1%",
|
|
514
|
+
"popover-foreground": "60 9.1% 97.8%",
|
|
515
|
+
"card": "20 14.3% 4.1%",
|
|
516
|
+
"card-foreground": "60 9.1% 97.8%",
|
|
517
|
+
"border": "12 6.5% 15.1%",
|
|
518
|
+
"input": "20 14.3% 4.1%",
|
|
519
|
+
"primary": "20.5 90.2% 48.2%",
|
|
520
|
+
"primary-foreground": "60 9.1% 97.8%",
|
|
521
|
+
"secondary": "12 6.5% 15.1%",
|
|
522
|
+
"secondary-foreground": "60 9.1% 97.8%",
|
|
523
|
+
"destructive": "0 72.2% 50.6%",
|
|
524
|
+
"destructive-foreground": "60 9.1% 97.8%",
|
|
525
|
+
"ring": "20.5 90.2% 48.2%"
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
name: "green",
|
|
531
|
+
label: "Green",
|
|
532
|
+
previewColor: "#16a34a",
|
|
533
|
+
cssVars: {
|
|
534
|
+
light: {
|
|
535
|
+
"background": "0 0% 100%",
|
|
536
|
+
"foreground": "240 10% 3.9%",
|
|
537
|
+
"muted": "240 4.8% 95.9%",
|
|
538
|
+
"muted-foreground": "240 3.8% 46.1%",
|
|
539
|
+
"popover": "0 0% 100%",
|
|
540
|
+
"popover-foreground": "240 10% 3.9%",
|
|
541
|
+
"card": "0 0% 100%",
|
|
542
|
+
"card-foreground": "240 10% 3.9%",
|
|
543
|
+
"border": "240 5.9% 90%",
|
|
544
|
+
"input": "0 0% 100%",
|
|
545
|
+
"primary": "142.1 76.2% 36.3%",
|
|
546
|
+
"primary-foreground": "355.7 100% 97.3%",
|
|
547
|
+
"secondary": "240 4.8% 95.9%",
|
|
548
|
+
"secondary-foreground": "240 5.9% 10%",
|
|
549
|
+
"destructive": "0 84.2% 60.2%",
|
|
550
|
+
"destructive-foreground": "0 0% 98%",
|
|
551
|
+
"ring": "142.1 76.2% 36.3%"
|
|
552
|
+
},
|
|
553
|
+
dark: {
|
|
554
|
+
"background": "20 14.3% 4.1%",
|
|
555
|
+
"foreground": "0 0% 95%",
|
|
556
|
+
"muted": "0 0% 15%",
|
|
557
|
+
"muted-foreground": "240 5% 64.9%",
|
|
558
|
+
"popover": "0 0% 9%",
|
|
559
|
+
"popover-foreground": "0 0% 95%",
|
|
560
|
+
"card": "24 9.8% 10%",
|
|
561
|
+
"card-foreground": "0 0% 95%",
|
|
562
|
+
"border": "240 3.7% 15.9%",
|
|
563
|
+
"input": "20 14.3% 4.1%",
|
|
564
|
+
"primary": "142.1 70.6% 45.3%",
|
|
565
|
+
"primary-foreground": "144.9 80.4% 10%",
|
|
566
|
+
"secondary": "240 3.7% 15.9%",
|
|
567
|
+
"secondary-foreground": "0 0% 98%",
|
|
568
|
+
"destructive": "0 62.8% 30.6%",
|
|
569
|
+
"destructive-foreground": "0 85.7% 97.3%",
|
|
570
|
+
"ring": "142.4 71.8% 29.2%"
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
name: "blue",
|
|
576
|
+
label: "Blue",
|
|
577
|
+
previewColor: "#2563eb",
|
|
578
|
+
cssVars: {
|
|
579
|
+
light: {
|
|
580
|
+
"background": "0 0% 100%",
|
|
581
|
+
"foreground": "222.2 84% 4.9%",
|
|
582
|
+
"muted": "210 40% 96.1%",
|
|
583
|
+
"muted-foreground": "215.4 16.3% 46.9%",
|
|
584
|
+
"popover": "0 0% 100%",
|
|
585
|
+
"popover-foreground": "222.2 84% 4.9%",
|
|
586
|
+
"card": "0 0% 100%",
|
|
587
|
+
"card-foreground": "222.2 84% 4.9%",
|
|
588
|
+
"border": "214.3 31.8% 91.4%",
|
|
589
|
+
"input": "0 0% 100%",
|
|
590
|
+
"primary": "221.2 83.2% 53.3%",
|
|
591
|
+
"primary-foreground": "210 40% 98%",
|
|
592
|
+
"secondary": "210 40% 96.1%",
|
|
593
|
+
"secondary-foreground": "222.2 47.4% 11.2%",
|
|
594
|
+
"destructive": "0 84.2% 60.2%",
|
|
595
|
+
"destructive-foreground": "210 40% 98%",
|
|
596
|
+
"ring": "221.2 83.2% 53.3%"
|
|
597
|
+
},
|
|
598
|
+
dark: {
|
|
599
|
+
"background": "222.2 84% 4.9%",
|
|
600
|
+
"foreground": "210 40% 98%",
|
|
601
|
+
"muted": "217.2 32.6% 17.5%",
|
|
602
|
+
"muted-foreground": "215 20.2% 65.1%",
|
|
603
|
+
"popover": "222.2 84% 4.9%",
|
|
604
|
+
"popover-foreground": "210 40% 98%",
|
|
605
|
+
"card": "222.2 84% 4.9%",
|
|
606
|
+
"card-foreground": "210 40% 98%",
|
|
607
|
+
"border": "217.2 32.6% 17.5%",
|
|
608
|
+
"input": "222.2 84% 4.9%",
|
|
609
|
+
"primary": "217.2 91.2% 59.8%",
|
|
610
|
+
"primary-foreground": "222.2 47.4% 11.2%",
|
|
611
|
+
"secondary": "217.2 32.6% 17.5%",
|
|
612
|
+
"secondary-foreground": "210 40% 98%",
|
|
613
|
+
"destructive": "0 62.8% 30.6%",
|
|
614
|
+
"destructive-foreground": "210 40% 98%",
|
|
615
|
+
"ring": "224.3 76.3% 48%"
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
name: "yellow",
|
|
621
|
+
label: "Yellow",
|
|
622
|
+
previewColor: "#ca8a04",
|
|
623
|
+
cssVars: {
|
|
624
|
+
light: {
|
|
625
|
+
"background": "0 0% 100%",
|
|
626
|
+
"foreground": "20 14.3% 4.1%",
|
|
627
|
+
"muted": "60 4.8% 95.9%",
|
|
628
|
+
"muted-foreground": "25 5.3% 44.7%",
|
|
629
|
+
"popover": "0 0% 100%",
|
|
630
|
+
"popover-foreground": "20 14.3% 4.1%",
|
|
631
|
+
"card": "0 0% 100%",
|
|
632
|
+
"card-foreground": "20 14.3% 4.1%",
|
|
633
|
+
"border": "20 5.9% 90%",
|
|
634
|
+
"input": "0 0% 100%",
|
|
635
|
+
"primary": "47.9 95.8% 53.1%",
|
|
636
|
+
"primary-foreground": "26 83.3% 14.1%",
|
|
637
|
+
"secondary": "60 4.8% 95.9%",
|
|
638
|
+
"secondary-foreground": "24 9.8% 10%",
|
|
639
|
+
"destructive": "0 84.2% 60.2%",
|
|
640
|
+
"destructive-foreground": "60 9.1% 97.8%",
|
|
641
|
+
"ring": "20 14.3% 4.1%"
|
|
642
|
+
},
|
|
643
|
+
dark: {
|
|
644
|
+
"background": "20 14.3% 4.1%",
|
|
645
|
+
"foreground": "60 9.1% 97.8%",
|
|
646
|
+
"muted": "12 6.5% 15.1%",
|
|
647
|
+
"muted-foreground": "24 5.4% 63.9%",
|
|
648
|
+
"popover": "20 14.3% 4.1%",
|
|
649
|
+
"popover-foreground": "60 9.1% 97.8%",
|
|
650
|
+
"card": "20 14.3% 4.1%",
|
|
651
|
+
"card-foreground": "60 9.1% 97.8%",
|
|
652
|
+
"border": "12 6.5% 15.1%",
|
|
653
|
+
"input": "20 14.3% 4.1%",
|
|
654
|
+
"primary": "47.9 95.8% 53.1%",
|
|
655
|
+
"primary-foreground": "26 83.3% 14.1%",
|
|
656
|
+
"secondary": "12 6.5% 15.1%",
|
|
657
|
+
"secondary-foreground": "60 9.1% 97.8%",
|
|
658
|
+
"destructive": "0 62.8% 30.6%",
|
|
659
|
+
"destructive-foreground": "60 9.1% 97.8%",
|
|
660
|
+
"ring": "35.5 91.7% 32.9%"
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
}
|
|
313
664
|
];
|
|
665
|
+
var baseColors = themes.map((theme) => ({
|
|
666
|
+
name: theme.name,
|
|
667
|
+
label: theme.label
|
|
668
|
+
}));
|
|
314
669
|
|
|
315
670
|
// src/utils/registry/index.ts
|
|
316
671
|
var REGISTRY_PATH = new URL("../__generated/registry-schemes/", import.meta.url);
|