diff --git a/apps/www/scripts/build-registry.ts b/apps/www/scripts/build-registry.ts index f1db1621..3faae061 100644 --- a/apps/www/scripts/build-registry.ts +++ b/apps/www/scripts/build-registry.ts @@ -286,7 +286,7 @@ for (const baseColor of ['slate', 'gray', 'zinc', 'neutral', 'stone', 'lime']) { const color = scale ? colorsData[resolvedBase].find( (item: any) => item.scale === Number.parseInt(scale), - ) + ) : colorsData[resolvedBase] if (color) base.cssVars[mode][key] = color.hslChannel diff --git a/apps/www/static/registry/colors/gray.json b/apps/www/static/registry/colors/gray.json index 8a1d9438..1f5c04f6 100644 --- a/apps/www/static/registry/colors/gray.json +++ b/apps/www/static/registry/colors/gray.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 224 71.4% 4.1%;\n \n --muted: 220 14.3% 95.9%;\n --muted-foreground: 220 8.9% 46.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 224 71.4% 4.1%;\n \n --card: 0 0% 100%;\n --card-foreground: 224 71.4% 4.1%;\n \n --border: 220 13% 91%;\n --input: 220 13% 91%;\n \n --primary: 220.9 39.3% 11%;\n --primary-foreground: 210 20% 98%;\n \n --secondary: 220 14.3% 95.9%;\n --secondary-foreground: 220.9 39.3% 11%;\n \n --accent: 220 14.3% 95.9%;\n --accent-foreground: 220.9 39.3% 11%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 20% 98%;\n \n --ring: 224 71.4% 4.1%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 224 71.4% 4.1%;\n --foreground: 210 20% 98%;\n \n --muted: 215 27.9% 16.9%;\n --muted-foreground: 217.9 10.6% 64.9%;\n \n --popover: 224 71.4% 4.1%;\n --popover-foreground: 210 20% 98%;\n \n --card: 224 71.4% 4.1%;\n --card-foreground: 210 20% 98%;\n \n --border: 215 27.9% 16.9%;\n --input: 215 27.9% 16.9%;\n \n --primary: 210 20% 98%;\n --primary-foreground: 220.9 39.3% 11%;\n \n --secondary: 215 27.9% 16.9%;\n --secondary-foreground: 210 20% 98%;\n \n --accent: 215 27.9% 16.9%;\n --accent-foreground: 210 20% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 20% 98%;\n \n --ring: 216 12.2% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/colors/index.json b/apps/www/static/registry/colors/index.json index c25158ef..6b70773e 100644 --- a/apps/www/static/registry/colors/index.json +++ b/apps/www/static/registry/colors/index.json @@ -1996,4 +1996,4 @@ "hslChannel": "343.1 87.7% 15.9%" } ] -} \ No newline at end of file +} diff --git a/apps/www/static/registry/colors/lime.json b/apps/www/static/registry/colors/lime.json index e36faf45..cec9a36d 100644 --- a/apps/www/static/registry/colors/lime.json +++ b/apps/www/static/registry/colors/lime.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 89.3 80.4% 10%;\n \n --muted: 79.6 89.1% 89.2%;\n --muted-foreground: 83.7 80.5% 44.3%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 89.3 80.4% 10%;\n \n --card: 0 0% 100%;\n --card-foreground: 89.3 80.4% 10%;\n \n --border: 80.9 88.5% 79.6%;\n --input: 80.9 88.5% 79.6%;\n \n --primary: 87.6 61.2% 20.2%;\n --primary-foreground: 78.3 92% 95.1%;\n \n --secondary: 79.6 89.1% 89.2%;\n --secondary-foreground: 87.6 61.2% 20.2%;\n \n --accent: 79.6 89.1% 89.2%;\n --accent-foreground: 87.6 61.2% 20.2%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 78.3 92% 95.1%;\n \n --ring: 89.3 80.4% 10%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 89.3 80.4% 10%;\n --foreground: 78.3 92% 95.1%;\n \n --muted: 86.3 69% 22.7%;\n --muted-foreground: 82.7 78% 55.5%;\n \n --popover: 89.3 80.4% 10%;\n --popover-foreground: 78.3 92% 95.1%;\n \n --card: 89.3 80.4% 10%;\n --card-foreground: 78.3 92% 95.1%;\n \n --border: 86.3 69% 22.7%;\n --input: 86.3 69% 22.7%;\n \n --primary: 78.3 92% 95.1%;\n --primary-foreground: 87.6 61.2% 20.2%;\n \n --secondary: 86.3 69% 22.7%;\n --secondary-foreground: 78.3 92% 95.1%;\n \n --accent: 86.3 69% 22.7%;\n --accent-foreground: 78.3 92% 95.1%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 78.3 92% 95.1%;\n \n --ring: 82 84.5% 67.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/colors/neutral.json b/apps/www/static/registry/colors/neutral.json index 3deb3deb..0a65056e 100644 --- a/apps/www/static/registry/colors/neutral.json +++ b/apps/www/static/registry/colors/neutral.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 0 0% 3.9%;\n \n --muted: 0 0% 96.1%;\n --muted-foreground: 0 0% 45.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 0 0% 3.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 0 0% 3.9%;\n \n --border: 0 0% 89.8%;\n --input: 0 0% 89.8%;\n \n --primary: 0 0% 9%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 0 0% 96.1%;\n --secondary-foreground: 0 0% 9%;\n \n --accent: 0 0% 96.1%;\n --accent-foreground: 0 0% 9%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 0 0% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 0 0% 3.9%;\n --foreground: 0 0% 98%;\n \n --muted: 0 0% 14.9%;\n --muted-foreground: 0 0% 63.9%;\n \n --popover: 0 0% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --card: 0 0% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --border: 0 0% 14.9%;\n --input: 0 0% 14.9%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 0 0% 9%;\n \n --secondary: 0 0% 14.9%;\n --secondary-foreground: 0 0% 98%;\n \n --accent: 0 0% 14.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 0 0% 83.1%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/colors/slate.json b/apps/www/static/registry/colors/slate.json index 19a86b72..bf5be7ff 100644 --- a/apps/www/static/registry/colors/slate.json +++ b/apps/www/static/registry/colors/slate.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n \n --muted: 210 40% 96.1%;\n --muted-foreground: 215.4 16.3% 46.9%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n \n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n \n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n \n --secondary: 210 40% 96.1%;\n --secondary-foreground: 222.2 47.4% 11.2%;\n \n --accent: 210 40% 96.1%;\n --accent-foreground: 222.2 47.4% 11.2%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n \n --ring: 222.2 84% 4.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n \n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n \n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n \n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n \n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n \n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n \n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n \n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 40% 98%;\n \n --ring: 212.7 26.8% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/colors/stone.json b/apps/www/static/registry/colors/stone.json index bd31d945..d31a29ae 100644 --- a/apps/www/static/registry/colors/stone.json +++ b/apps/www/static/registry/colors/stone.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 20 14.3% 4.1%;\n \n --muted: 60 4.8% 95.9%;\n --muted-foreground: 25 5.3% 44.7%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 20 14.3% 4.1%;\n \n --card: 0 0% 100%;\n --card-foreground: 20 14.3% 4.1%;\n \n --border: 20 5.9% 90%;\n --input: 20 5.9% 90%;\n \n --primary: 24 9.8% 10%;\n --primary-foreground: 60 9.1% 97.8%;\n \n --secondary: 60 4.8% 95.9%;\n --secondary-foreground: 24 9.8% 10%;\n \n --accent: 60 4.8% 95.9%;\n --accent-foreground: 24 9.8% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 60 9.1% 97.8%;\n \n --ring: 20 14.3% 4.1%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 20 14.3% 4.1%;\n --foreground: 60 9.1% 97.8%;\n \n --muted: 12 6.5% 15.1%;\n --muted-foreground: 24 5.4% 63.9%;\n \n --popover: 20 14.3% 4.1%;\n --popover-foreground: 60 9.1% 97.8%;\n \n --card: 20 14.3% 4.1%;\n --card-foreground: 60 9.1% 97.8%;\n \n --border: 12 6.5% 15.1%;\n --input: 12 6.5% 15.1%;\n \n --primary: 60 9.1% 97.8%;\n --primary-foreground: 24 9.8% 10%;\n \n --secondary: 12 6.5% 15.1%;\n --secondary-foreground: 60 9.1% 97.8%;\n \n --accent: 12 6.5% 15.1%;\n --accent-foreground: 60 9.1% 97.8%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 60 9.1% 97.8%;\n \n --ring: 24 5.7% 82.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/colors/zinc.json b/apps/www/static/registry/colors/zinc.json index 72484fec..9fcf1311 100644 --- a/apps/www/static/registry/colors/zinc.json +++ b/apps/www/static/registry/colors/zinc.json @@ -89,4 +89,4 @@ }, "inlineColorsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n", "cssVarsTemplate": "@tailwind base;\n@tailwind components;\n@tailwind utilities;\n \n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 240 10% 3.9%;\n \n --muted: 240 4.8% 95.9%;\n --muted-foreground: 240 3.8% 46.1%;\n \n --popover: 0 0% 100%;\n --popover-foreground: 240 10% 3.9%;\n \n --card: 0 0% 100%;\n --card-foreground: 240 10% 3.9%;\n \n --border: 240 5.9% 90%;\n --input: 240 5.9% 90%;\n \n --primary: 240 5.9% 10%;\n --primary-foreground: 0 0% 98%;\n \n --secondary: 240 4.8% 95.9%;\n --secondary-foreground: 240 5.9% 10%;\n \n --accent: 240 4.8% 95.9%;\n --accent-foreground: 240 5.9% 10%;\n \n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 240 10% 3.9%;\n \n --radius: 0.5rem;\n }\n \n .dark {\n --background: 240 10% 3.9%;\n --foreground: 0 0% 98%;\n \n --muted: 240 3.7% 15.9%;\n --muted-foreground: 240 5% 64.9%;\n \n --popover: 240 10% 3.9%;\n --popover-foreground: 0 0% 98%;\n \n --card: 240 10% 3.9%;\n --card-foreground: 0 0% 98%;\n \n --border: 240 3.7% 15.9%;\n --input: 240 3.7% 15.9%;\n \n --primary: 0 0% 98%;\n --primary-foreground: 240 5.9% 10%;\n \n --secondary: 240 3.7% 15.9%;\n --secondary-foreground: 0 0% 98%;\n \n --accent: 240 3.7% 15.9%;\n --accent-foreground: 0 0% 98%;\n \n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 0 0% 98%;\n \n --ring: 240 4.9% 83.9%;\n }\n}\n \n@layer base {\n * {\n @apply border-border;\n }\n body {\n @apply bg-background text-foreground;\n }\n}" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/index.json b/apps/www/static/registry/index.json index b15521b1..c1f718a5 100644 --- a/apps/www/static/registry/index.json +++ b/apps/www/static/registry/index.json @@ -608,4 +608,4 @@ ], "type": "components:ui" } -] \ No newline at end of file +] diff --git a/apps/www/static/registry/styles/default/accordion.json b/apps/www/static/registry/styles/default/accordion.json index 32b57e7b..439a0273 100644 --- a/apps/www/static/registry/styles/default/accordion.json +++ b/apps/www/static/registry/styles/default/accordion.json @@ -29,4 +29,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/alert-dialog.json b/apps/www/static/registry/styles/default/alert-dialog.json index 3910076a..71a568cb 100644 --- a/apps/www/static/registry/styles/default/alert-dialog.json +++ b/apps/www/static/registry/styles/default/alert-dialog.json @@ -50,4 +50,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/alert.json b/apps/www/static/registry/styles/default/alert.json index 2155bad8..cb71706d 100644 --- a/apps/www/static/registry/styles/default/alert.json +++ b/apps/www/static/registry/styles/default/alert.json @@ -23,4 +23,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/aspect-ratio.json b/apps/www/static/registry/styles/default/aspect-ratio.json index 53980c68..faa6759c 100644 --- a/apps/www/static/registry/styles/default/aspect-ratio.json +++ b/apps/www/static/registry/styles/default/aspect-ratio.json @@ -15,4 +15,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/avatar.json b/apps/www/static/registry/styles/default/avatar.json index 6051b428..a781d79b 100644 --- a/apps/www/static/registry/styles/default/avatar.json +++ b/apps/www/static/registry/styles/default/avatar.json @@ -25,4 +25,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/badge.json b/apps/www/static/registry/styles/default/badge.json index d94584f2..542dbe93 100644 --- a/apps/www/static/registry/styles/default/badge.json +++ b/apps/www/static/registry/styles/default/badge.json @@ -15,4 +15,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/breadcrumb.json b/apps/www/static/registry/styles/default/breadcrumb.json index b597e1d3..e3141670 100644 --- a/apps/www/static/registry/styles/default/breadcrumb.json +++ b/apps/www/static/registry/styles/default/breadcrumb.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/button.json b/apps/www/static/registry/styles/default/button.json index de7618f5..56823358 100644 --- a/apps/www/static/registry/styles/default/button.json +++ b/apps/www/static/registry/styles/default/button.json @@ -15,4 +15,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/calendar.json b/apps/www/static/registry/styles/default/calendar.json index 2303b0b5..1f54998a 100644 --- a/apps/www/static/registry/styles/default/calendar.json +++ b/apps/www/static/registry/styles/default/calendar.json @@ -15,4 +15,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/card.json b/apps/www/static/registry/styles/default/card.json index b1c1ca0c..90590800 100644 --- a/apps/www/static/registry/styles/default/card.json +++ b/apps/www/static/registry/styles/default/card.json @@ -35,4 +35,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/checkbox.json b/apps/www/static/registry/styles/default/checkbox.json index a6aa8254..3eeed53d 100644 --- a/apps/www/static/registry/styles/default/checkbox.json +++ b/apps/www/static/registry/styles/default/checkbox.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/collapsible.json b/apps/www/static/registry/styles/default/collapsible.json index 6cce817e..72149eaf 100644 --- a/apps/www/static/registry/styles/default/collapsible.json +++ b/apps/www/static/registry/styles/default/collapsible.json @@ -25,4 +25,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/context-menu.json b/apps/www/static/registry/styles/default/context-menu.json index 5d486263..f8e3d87f 100644 --- a/apps/www/static/registry/styles/default/context-menu.json +++ b/apps/www/static/registry/styles/default/context-menu.json @@ -73,4 +73,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/data-table.json b/apps/www/static/registry/styles/default/data-table.json index 15c42af0..fea94d9b 100644 --- a/apps/www/static/registry/styles/default/data-table.json +++ b/apps/www/static/registry/styles/default/data-table.json @@ -13,4 +13,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/date-picker.json b/apps/www/static/registry/styles/default/date-picker.json index ed4b86c5..4aaa7837 100644 --- a/apps/www/static/registry/styles/default/date-picker.json +++ b/apps/www/static/registry/styles/default/date-picker.json @@ -13,4 +13,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/dialog.json b/apps/www/static/registry/styles/default/dialog.json index 1601bae5..fdcada8d 100644 --- a/apps/www/static/registry/styles/default/dialog.json +++ b/apps/www/static/registry/styles/default/dialog.json @@ -41,4 +41,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/dropdown-menu.json b/apps/www/static/registry/styles/default/dropdown-menu.json index 72ec6533..6a7e0285 100644 --- a/apps/www/static/registry/styles/default/dropdown-menu.json +++ b/apps/www/static/registry/styles/default/dropdown-menu.json @@ -69,4 +69,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/hover-card.json b/apps/www/static/registry/styles/default/hover-card.json index c35bf896..5e606403 100644 --- a/apps/www/static/registry/styles/default/hover-card.json +++ b/apps/www/static/registry/styles/default/hover-card.json @@ -25,4 +25,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/input.json b/apps/www/static/registry/styles/default/input.json index 33cd20ea..9b13d1ad 100644 --- a/apps/www/static/registry/styles/default/input.json +++ b/apps/www/static/registry/styles/default/input.json @@ -15,4 +15,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/kbd.json b/apps/www/static/registry/styles/default/kbd.json index db9ad268..8a10d8bd 100644 --- a/apps/www/static/registry/styles/default/kbd.json +++ b/apps/www/static/registry/styles/default/kbd.json @@ -13,4 +13,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/label.json b/apps/www/static/registry/styles/default/label.json index ce93da47..18cbb25b 100644 --- a/apps/www/static/registry/styles/default/label.json +++ b/apps/www/static/registry/styles/default/label.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/menubar.json b/apps/www/static/registry/styles/default/menubar.json index 3a37f6ab..3c02abca 100644 --- a/apps/www/static/registry/styles/default/menubar.json +++ b/apps/www/static/registry/styles/default/menubar.json @@ -73,4 +73,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/navigation-menu.json b/apps/www/static/registry/styles/default/navigation-menu.json index 3aa97c8d..0a03b0d3 100644 --- a/apps/www/static/registry/styles/default/navigation-menu.json +++ b/apps/www/static/registry/styles/default/navigation-menu.json @@ -45,4 +45,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/popover.json b/apps/www/static/registry/styles/default/popover.json index a911d0a7..fc7d645a 100644 --- a/apps/www/static/registry/styles/default/popover.json +++ b/apps/www/static/registry/styles/default/popover.json @@ -25,4 +25,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/progress.json b/apps/www/static/registry/styles/default/progress.json index 29acceb5..5e8d482a 100644 --- a/apps/www/static/registry/styles/default/progress.json +++ b/apps/www/static/registry/styles/default/progress.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/radio-group.json b/apps/www/static/registry/styles/default/radio-group.json index 80dffba8..d212cded 100644 --- a/apps/www/static/registry/styles/default/radio-group.json +++ b/apps/www/static/registry/styles/default/radio-group.json @@ -21,4 +21,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/scroll-area.json b/apps/www/static/registry/styles/default/scroll-area.json index 4b2efc5d..406885ce 100644 --- a/apps/www/static/registry/styles/default/scroll-area.json +++ b/apps/www/static/registry/styles/default/scroll-area.json @@ -21,4 +21,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/select.json b/apps/www/static/registry/styles/default/select.json index 285f7f16..cb83e4fe 100644 --- a/apps/www/static/registry/styles/default/select.json +++ b/apps/www/static/registry/styles/default/select.json @@ -49,4 +49,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/separator.json b/apps/www/static/registry/styles/default/separator.json index 1c4cd911..b7836856 100644 --- a/apps/www/static/registry/styles/default/separator.json +++ b/apps/www/static/registry/styles/default/separator.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/sheet.json b/apps/www/static/registry/styles/default/sheet.json index 599eecb2..95667fde 100644 --- a/apps/www/static/registry/styles/default/sheet.json +++ b/apps/www/static/registry/styles/default/sheet.json @@ -45,4 +45,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/skeleton.json b/apps/www/static/registry/styles/default/skeleton.json index 2c0fd3ef..4a9bdfb8 100644 --- a/apps/www/static/registry/styles/default/skeleton.json +++ b/apps/www/static/registry/styles/default/skeleton.json @@ -15,4 +15,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/slider.json b/apps/www/static/registry/styles/default/slider.json index 6b489789..79df3f45 100644 --- a/apps/www/static/registry/styles/default/slider.json +++ b/apps/www/static/registry/styles/default/slider.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/switch.json b/apps/www/static/registry/styles/default/switch.json index 8f5006b1..2c94598a 100644 --- a/apps/www/static/registry/styles/default/switch.json +++ b/apps/www/static/registry/styles/default/switch.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/table.json b/apps/www/static/registry/styles/default/table.json index fb0d4341..8bec41dc 100644 --- a/apps/www/static/registry/styles/default/table.json +++ b/apps/www/static/registry/styles/default/table.json @@ -47,4 +47,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/tabs.json b/apps/www/static/registry/styles/default/tabs.json index 3f89a0b7..9767a0ef 100644 --- a/apps/www/static/registry/styles/default/tabs.json +++ b/apps/www/static/registry/styles/default/tabs.json @@ -29,4 +29,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/textarea.json b/apps/www/static/registry/styles/default/textarea.json index 7ceaf393..bee96c78 100644 --- a/apps/www/static/registry/styles/default/textarea.json +++ b/apps/www/static/registry/styles/default/textarea.json @@ -15,4 +15,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/toggle.json b/apps/www/static/registry/styles/default/toggle.json index 9fdd7c9c..1e9cf6a8 100644 --- a/apps/www/static/registry/styles/default/toggle.json +++ b/apps/www/static/registry/styles/default/toggle.json @@ -17,4 +17,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/default/tooltip.json b/apps/www/static/registry/styles/default/tooltip.json index 2acd60ea..0ae4f52f 100644 --- a/apps/www/static/registry/styles/default/tooltip.json +++ b/apps/www/static/registry/styles/default/tooltip.json @@ -29,4 +29,4 @@ } ], "type": "components:ui" -} \ No newline at end of file +} diff --git a/apps/www/static/registry/styles/index.json b/apps/www/static/registry/styles/index.json index e4116ca9..3617dfb4 100644 --- a/apps/www/static/registry/styles/index.json +++ b/apps/www/static/registry/styles/index.json @@ -3,4 +3,4 @@ "name": "default", "label": "Default" } -] \ No newline at end of file +] diff --git a/packages/cli/src/commands/add.ts b/packages/cli/src/commands/add.ts index be3494db..e9dd5e93 100644 --- a/packages/cli/src/commands/add.ts +++ b/packages/cli/src/commands/add.ts @@ -57,7 +57,7 @@ export const add = new Command() const config = await getConfig(cwd) if (!config) { logger.warn( - `Configuration is missing. Please run ${chalk.green( 'init' )} to create a components.json file.`, + `Configuration is missing. Please run ${chalk.green('init')} to create a components.json file.`, ) process.exit(1) } @@ -139,7 +139,7 @@ export const add = new Command() } for (const file of item.files) { - let filePath = path.resolve(targetDir, file.name) + const filePath = path.resolve(targetDir, file.name) // Run transformers. const content = await transform({ diff --git a/packages/cli/src/commands/init.ts b/packages/cli/src/commands/init.ts index 35d1a6ee..693d4445 100644 --- a/packages/cli/src/commands/init.ts +++ b/packages/cli/src/commands/init.ts @@ -112,8 +112,8 @@ export async function promptForConfig( name: 'framework', message: `Which ${highlight('framework')} are you using?`, choices: [ - {title: 'Nuxt', value: 'nuxt'}, - {title: 'Vite + Vue', value: 'vue'}, + { title: 'Nuxt', value: 'nuxt' }, + { title: 'Vite + Vue', value: 'vue' }, ], }, { @@ -140,7 +140,7 @@ export async function promptForConfig( type: 'text', name: 'tailwindCss', message: `Where is your ${highlight('Tailwind CSS')} file?`, - initial: (prev,values) => defaultConfig?.tailwind.css ?? values.framework === 'nuxt' ? DEFAULT_TAILWIND_CSS_NUXT : DEFAULT_TAILWIND_CSS + initial: (prev, values) => defaultConfig?.tailwind.css ?? values.framework === 'nuxt' ? DEFAULT_TAILWIND_CSS_NUXT : DEFAULT_TAILWIND_CSS, }, { type: 'toggle', @@ -271,7 +271,7 @@ export async function runInit(cwd: string, config: Config) { const packageManager = await getPackageManager(cwd) // TODO: add support for other icon libraries. - const deps = PROJECT_DEPENDENCIES.base.concat( + const deps = PROJECT_DEPENDENCIES.base.concat( config.framework === 'nuxt' ? PROJECT_DEPENDENCIES.nuxt : PROJECT_DEPENDENCIES.vue, ).concat( config.style === 'new-york' ? [] : ['lucide-vue-next'],