diff --git a/apps/www/src/lib/registry/default/block/Sidebar01.vue b/apps/www/src/lib/registry/default/block/Sidebar01.vue new file mode 100644 index 00000000..10affaf2 --- /dev/null +++ b/apps/www/src/lib/registry/default/block/Sidebar01.vue @@ -0,0 +1,217 @@ + + + + + diff --git a/apps/www/src/lib/registry/default/block/Sidebar07.vue b/apps/www/src/lib/registry/default/block/Sidebar07.vue new file mode 100644 index 00000000..43209aa9 --- /dev/null +++ b/apps/www/src/lib/registry/default/block/Sidebar07.vue @@ -0,0 +1,463 @@ + + + + + diff --git a/apps/www/src/lib/registry/default/ui/button/index.ts b/apps/www/src/lib/registry/default/ui/button/index.ts index 2ed708eb..bd85f732 100644 --- a/apps/www/src/lib/registry/default/ui/button/index.ts +++ b/apps/www/src/lib/registry/default/ui/button/index.ts @@ -3,26 +3,26 @@ import { cva, type VariantProps } from 'class-variance-authority' export { default as Button } from './Button.vue' export const buttonVariants = cva( - 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50', + 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', { variants: { variant: { - default: 'bg-primary text-primary-foreground hover:bg-primary/90', + default: + 'bg-primary text-primary-foreground shadow hover:bg-primary/90', destructive: - 'bg-destructive text-destructive-foreground hover:bg-destructive/90', + 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90', outline: - 'border border-input bg-background hover:bg-accent hover:text-accent-foreground', + 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground', secondary: - 'bg-secondary text-secondary-foreground hover:bg-secondary/80', + 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground', link: 'text-primary underline-offset-4 hover:underline', }, size: { - default: 'h-10 px-4 py-2', - xs: 'h-7 rounded px-2', - sm: 'h-9 rounded-md px-3', - lg: 'h-11 rounded-md px-8', - icon: 'h-10 w-10', + default: 'h-9 px-4 py-2', + sm: 'h-8 rounded-md px-3 text-xs', + lg: 'h-10 rounded-md px-8', + icon: 'h-9 w-9', }, }, defaultVariants: { diff --git a/apps/www/src/lib/registry/default/ui/dropdown-menu/DropdownMenuItem.vue b/apps/www/src/lib/registry/default/ui/dropdown-menu/DropdownMenuItem.vue index 86a30e65..32a2cbd5 100644 --- a/apps/www/src/lib/registry/default/ui/dropdown-menu/DropdownMenuItem.vue +++ b/apps/www/src/lib/registry/default/ui/dropdown-menu/DropdownMenuItem.vue @@ -18,7 +18,7 @@ const forwardedProps = useForwardProps(delegatedProps) +export const iframeHeight = '800px' +export const description + = 'A simple sidebar with navigation grouped by section.' + + + + + diff --git a/apps/www/src/lib/registry/new-york/block/Sidebar07.vue b/apps/www/src/lib/registry/new-york/block/Sidebar07.vue new file mode 100644 index 00000000..6e25bd63 --- /dev/null +++ b/apps/www/src/lib/registry/new-york/block/Sidebar07.vue @@ -0,0 +1,463 @@ + + + + + diff --git a/apps/www/src/lib/registry/new-york/ui/dropdown-menu/DropdownMenuItem.vue b/apps/www/src/lib/registry/new-york/ui/dropdown-menu/DropdownMenuItem.vue index 86a30e65..32a2cbd5 100644 --- a/apps/www/src/lib/registry/new-york/ui/dropdown-menu/DropdownMenuItem.vue +++ b/apps/www/src/lib/registry/new-york/ui/dropdown-menu/DropdownMenuItem.vue @@ -18,7 +18,7 @@ const forwardedProps = useForwardProps(delegatedProps) \nimport type { HTMLAttributes } from 'vue'\nimport { cn } from '@/lib/utils'\nimport { ChevronRight } from 'lucide-vue-next'\n\nconst props = defineProps<{\n class?: HTMLAttributes['class']\n}>()\n\n\n\n" + "content": "\n\n\n" }, { "name": "index.ts", diff --git a/apps/www/src/public/registry/styles/default/button.json b/apps/www/src/public/registry/styles/default/button.json index 5c197898..93b128c4 100644 --- a/apps/www/src/public/registry/styles/default/button.json +++ b/apps/www/src/public/registry/styles/default/button.json @@ -11,7 +11,7 @@ }, { "name": "index.ts", - "content": "import { cva, type VariantProps } from 'class-variance-authority'\n\nexport { default as Button } from './Button.vue'\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50',\n {\n variants: {\n variant: {\n default: 'bg-primary text-primary-foreground hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground hover:bg-destructive/90',\n outline:\n 'border border-input bg-background hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-10 px-4 py-2',\n xs: 'h-7 rounded px-2',\n sm: 'h-9 rounded-md px-3',\n lg: 'h-11 rounded-md px-8',\n icon: 'h-10 w-10',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport type ButtonVariants = VariantProps\n" + "content": "import { cva, type VariantProps } from 'class-variance-authority'\n\nexport { default as Button } from './Button.vue'\n\nexport const buttonVariants = cva(\n 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n {\n variants: {\n variant: {\n default:\n 'bg-primary text-primary-foreground shadow hover:bg-primary/90',\n destructive:\n 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90',\n outline:\n 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground',\n secondary:\n 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80',\n ghost: 'hover:bg-accent hover:text-accent-foreground',\n link: 'text-primary underline-offset-4 hover:underline',\n },\n size: {\n default: 'h-9 px-4 py-2',\n sm: 'h-8 rounded-md px-3 text-xs',\n lg: 'h-10 rounded-md px-8',\n icon: 'h-9 w-9',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport type ButtonVariants = VariantProps\n" } ], "type": "components:ui" diff --git a/apps/www/src/public/registry/styles/default/dropdown-menu.json b/apps/www/src/public/registry/styles/default/dropdown-menu.json index 583ab876..68812dde 100644 --- a/apps/www/src/public/registry/styles/default/dropdown-menu.json +++ b/apps/www/src/public/registry/styles/default/dropdown-menu.json @@ -23,7 +23,7 @@ }, { "name": "DropdownMenuItem.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "DropdownMenuLabel.vue", diff --git a/apps/www/src/public/registry/styles/default/sidebar.json b/apps/www/src/public/registry/styles/default/sidebar.json new file mode 100644 index 00000000..341caa7a --- /dev/null +++ b/apps/www/src/public/registry/styles/default/sidebar.json @@ -0,0 +1,125 @@ +{ + "name": "sidebar", + "dependencies": [ + "@vueuse/core" + ], + "registryDependencies": [ + "Sheet.vue", + "SheetContent.vue", + "utils", + "Input.vue", + "Tooltip.vue", + "TooltipContent.vue", + "TooltipTrigger.vue", + "Skeleton.vue", + "Separator.vue", + "Button.vue" + ], + "files": [ + { + "name": "Sidebar.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarContent.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarFooter.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroup.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroupAction.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroupContent.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroupLabel.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarHeader.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarInput.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarInset.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenu.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuAction.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuBadge.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuButton.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuButtonChild.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuItem.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSkeleton.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSub.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSubButton.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSubItem.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarProvider.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarRail.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarSeparator.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import { cva, type VariantProps } from 'class-variance-authority'\n\nexport { default as Sidebar } from './Sidebar.vue'\nexport { default as SidebarContent } from './SidebarContent.vue'\nexport { default as SidebarFooter } from './SidebarFooter.vue'\nexport { default as SidebarGroup } from './SidebarGroup.vue'\nexport { default as SidebarGroupAction } from './SidebarGroupAction.vue'\nexport { default as SidebarGroupContent } from './SidebarGroupContent.vue'\nexport { default as SidebarGroupLabel } from './SidebarGroupLabel.vue'\nexport { default as SidebarHeader } from './SidebarHeader.vue'\nexport { default as SidebarInput } from './SidebarInput.vue'\nexport { default as SidebarInset } from './SidebarInset.vue'\nexport { default as SidebarMenu } from './SidebarMenu.vue'\nexport { default as SidebarMenuAction } from './SidebarMenuAction.vue'\nexport { default as SidebarMenuBadge } from './SidebarMenuBadge.vue'\nexport { default as SidebarMenuButton } from './SidebarMenuButton.vue'\nexport { default as SidebarMenuItem } from './SidebarMenuItem.vue'\nexport { default as SidebarMenuSkeleton } from './SidebarMenuSkeleton.vue'\nexport { default as SidebarMenuSub } from './SidebarMenuSub.vue'\nexport { default as SidebarMenuSubButton } from './SidebarMenuSubButton.vue'\nexport { default as SidebarMenuSubItem } from './SidebarMenuSubItem.vue'\nexport { default as SidebarProvider } from './SidebarProvider.vue'\nexport { default as SidebarRail } from './SidebarRail.vue'\nexport { default as SidebarSeparator } from './SidebarSeparator.vue'\nexport { default as SidebarTrigger } from './SidebarTrigger.vue'\n\nexport { useSidebar } from './utils'\n\nexport const sidebarMenuButtonVariants = cva(\n 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',\n outline:\n 'bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]',\n },\n size: {\n default: 'h-8 text-sm',\n sm: 'h-7 text-xs',\n lg: 'h-12 text-sm group-data-[collapsible=icon]:!p-0',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport type SidebarMenuButtonVariants = VariantProps\n" + }, + { + "name": "utils.ts", + "content": "import type { ComputedRef, Ref } from 'vue'\nimport { createContext } from 'radix-vue'\n\nexport const SIDEBAR_COOKIE_NAME = 'sidebar:state'\nexport const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7\nexport const SIDEBAR_WIDTH = '16rem'\nexport const SIDEBAR_WIDTH_MOBILE = '18rem'\nexport const SIDEBAR_WIDTH_ICON = '3rem'\nexport const SIDEBAR_KEYBOARD_SHORTCUT = 'b'\n\nexport const [useSidebar, provideSidebarContext] = createContext<{\n state: ComputedRef<'expanded' | 'collapsed'>\n open: Ref\n setOpen: (value: boolean) => void\n isMobile: Ref\n openMobile: Ref\n setOpenMobile: (value: boolean) => void\n toggleSidebar: () => void\n}>('Sidebar')\n" + } + ], + "type": "components:ui" +} diff --git a/apps/www/src/public/registry/styles/new-york/dropdown-menu.json b/apps/www/src/public/registry/styles/new-york/dropdown-menu.json index 57284063..75d18a63 100644 --- a/apps/www/src/public/registry/styles/new-york/dropdown-menu.json +++ b/apps/www/src/public/registry/styles/new-york/dropdown-menu.json @@ -23,7 +23,7 @@ }, { "name": "DropdownMenuItem.vue", - "content": "\n\n\n" + "content": "\n\n\n" }, { "name": "DropdownMenuLabel.vue", diff --git a/apps/www/src/public/registry/styles/new-york/sidebar.json b/apps/www/src/public/registry/styles/new-york/sidebar.json new file mode 100644 index 00000000..8fc29331 --- /dev/null +++ b/apps/www/src/public/registry/styles/new-york/sidebar.json @@ -0,0 +1,125 @@ +{ + "name": "sidebar", + "dependencies": [ + "@vueuse/core" + ], + "registryDependencies": [ + "Sheet.vue", + "SheetContent.vue", + "utils", + "Input.vue", + "Tooltip.vue", + "TooltipContent.vue", + "TooltipTrigger.vue", + "Skeleton.vue", + "Separator.vue", + "Button.vue" + ], + "files": [ + { + "name": "Sidebar.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarContent.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarFooter.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroup.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroupAction.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroupContent.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarGroupLabel.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarHeader.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarInput.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarInset.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenu.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuAction.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuBadge.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuButton.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuButtonChild.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuItem.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSkeleton.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSub.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSubButton.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarMenuSubItem.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarProvider.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarRail.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarSeparator.vue", + "content": "\n\n\n" + }, + { + "name": "SidebarTrigger.vue", + "content": "\n\n\n" + }, + { + "name": "index.ts", + "content": "import { cva, type VariantProps } from 'class-variance-authority'\n\nexport { default as Sidebar } from './Sidebar.vue'\nexport { default as SidebarContent } from './SidebarContent.vue'\nexport { default as SidebarFooter } from './SidebarFooter.vue'\nexport { default as SidebarGroup } from './SidebarGroup.vue'\nexport { default as SidebarGroupAction } from './SidebarGroupAction.vue'\nexport { default as SidebarGroupContent } from './SidebarGroupContent.vue'\nexport { default as SidebarGroupLabel } from './SidebarGroupLabel.vue'\nexport { default as SidebarHeader } from './SidebarHeader.vue'\nexport { default as SidebarInput } from './SidebarInput.vue'\nexport { default as SidebarInset } from './SidebarInset.vue'\nexport { default as SidebarMenu } from './SidebarMenu.vue'\nexport { default as SidebarMenuAction } from './SidebarMenuAction.vue'\nexport { default as SidebarMenuBadge } from './SidebarMenuBadge.vue'\nexport { default as SidebarMenuButton } from './SidebarMenuButton.vue'\nexport { default as SidebarMenuItem } from './SidebarMenuItem.vue'\nexport { default as SidebarMenuSkeleton } from './SidebarMenuSkeleton.vue'\nexport { default as SidebarMenuSub } from './SidebarMenuSub.vue'\nexport { default as SidebarMenuSubButton } from './SidebarMenuSubButton.vue'\nexport { default as SidebarMenuSubItem } from './SidebarMenuSubItem.vue'\nexport { default as SidebarProvider } from './SidebarProvider.vue'\nexport { default as SidebarRail } from './SidebarRail.vue'\nexport { default as SidebarSeparator } from './SidebarSeparator.vue'\nexport { default as SidebarTrigger } from './SidebarTrigger.vue'\n\nexport { useSidebar } from './utils'\n\nexport const sidebarMenuButtonVariants = cva(\n 'peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0',\n {\n variants: {\n variant: {\n default: 'hover:bg-sidebar-accent hover:text-sidebar-accent-foreground',\n outline:\n 'bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]',\n },\n size: {\n default: 'h-8 text-sm',\n sm: 'h-7 text-xs',\n lg: 'h-12 text-sm group-data-[collapsible=icon]:!p-0',\n },\n },\n defaultVariants: {\n variant: 'default',\n size: 'default',\n },\n },\n)\n\nexport type SidebarMenuButtonVariants = VariantProps\n" + }, + { + "name": "utils.ts", + "content": "import type { ComputedRef, Ref } from 'vue'\nimport { createContext } from 'radix-vue'\n\nexport const SIDEBAR_COOKIE_NAME = 'sidebar:state'\nexport const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7\nexport const SIDEBAR_WIDTH = '16rem'\nexport const SIDEBAR_WIDTH_MOBILE = '18rem'\nexport const SIDEBAR_WIDTH_ICON = '3rem'\nexport const SIDEBAR_KEYBOARD_SHORTCUT = 'b'\n\nexport const [useSidebar, provideSidebarContext] = createContext<{\n state: ComputedRef<'expanded' | 'collapsed'>\n open: Ref\n setOpen: (value: boolean) => void\n isMobile: Ref\n openMobile: Ref\n setOpenMobile: (value: boolean) => void\n toggleSidebar: () => void\n}>('Sidebar')\n" + } + ], + "type": "components:ui" +} diff --git a/apps/www/src/public/registry/themes.css b/apps/www/src/public/registry/themes.css index ce73cad2..284237c6 100644 --- a/apps/www/src/public/registry/themes.css +++ b/apps/www/src/public/registry/themes.css @@ -2,767 +2,767 @@ .theme-zinc { --background: 0 0% 100%; --foreground: 240 10% 3.9%; - + --muted: 240 4.8% 95.9%; --muted-foreground: 240 3.8% 46.1%; - + --popover: 0 0% 100%; --popover-foreground: 240 10% 3.9%; - + --card: 0 0% 100%; --card-foreground: 240 10% 3.9%; - + --border: 240 5.9% 90%; --input: 240 5.9% 90%; - + --primary: 240 5.9% 10%; --primary-foreground: 0 0% 98%; - + --secondary: 240 4.8% 95.9%; --secondary-foreground: 240 5.9% 10%; - + --accent: 240 4.8% 95.9%; --accent-foreground: 240 5.9% 10%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; - + --ring: 240 5.9% 10%; - + --radius: 0.5rem; } - + .dark .theme-zinc { --background: 240 10% 3.9%; --foreground: 0 0% 98%; - + --muted: 240 3.7% 15.9%; --muted-foreground: 240 5% 64.9%; - + --popover: 240 10% 3.9%; --popover-foreground: 0 0% 98%; - + --card: 240 10% 3.9%; --card-foreground: 0 0% 98%; - + --border: 240 3.7% 15.9%; --input: 240 3.7% 15.9%; - + --primary: 0 0% 98%; --primary-foreground: 240 5.9% 10%; - + --secondary: 240 3.7% 15.9%; --secondary-foreground: 0 0% 98%; - + --accent: 240 3.7% 15.9%; --accent-foreground: 0 0% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 0% 98%; - + --ring: 240 4.9% 83.9%; } .theme-slate { --background: 0 0% 100%; --foreground: 222.2 84% 4.9%; - + --muted: 210 40% 96.1%; --muted-foreground: 215.4 16.3% 46.9%; - + --popover: 0 0% 100%; --popover-foreground: 222.2 84% 4.9%; - + --card: 0 0% 100%; --card-foreground: 222.2 84% 4.9%; - + --border: 214.3 31.8% 91.4%; --input: 214.3 31.8% 91.4%; - + --primary: 222.2 47.4% 11.2%; --primary-foreground: 210 40% 98%; - + --secondary: 210 40% 96.1%; --secondary-foreground: 222.2 47.4% 11.2%; - + --accent: 210 40% 96.1%; --accent-foreground: 222.2 47.4% 11.2%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 210 40% 98%; - + --ring: 222.2 84% 4.9%; - + --radius: 0.5rem; } - + .dark .theme-slate { --background: 222.2 84% 4.9%; --foreground: 210 40% 98%; - + --muted: 217.2 32.6% 17.5%; --muted-foreground: 215 20.2% 65.1%; - + --popover: 222.2 84% 4.9%; --popover-foreground: 210 40% 98%; - + --card: 222.2 84% 4.9%; --card-foreground: 210 40% 98%; - + --border: 217.2 32.6% 17.5%; --input: 217.2 32.6% 17.5%; - + --primary: 210 40% 98%; --primary-foreground: 222.2 47.4% 11.2%; - + --secondary: 217.2 32.6% 17.5%; --secondary-foreground: 210 40% 98%; - + --accent: 217.2 32.6% 17.5%; --accent-foreground: 210 40% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 210 40% 98%; - + --ring: 212.7 26.8% 83.9; } .theme-stone { --background: 0 0% 100%; --foreground: 20 14.3% 4.1%; - + --muted: 60 4.8% 95.9%; --muted-foreground: 25 5.3% 44.7%; - + --popover: 0 0% 100%; --popover-foreground: 20 14.3% 4.1%; - + --card: 0 0% 100%; --card-foreground: 20 14.3% 4.1%; - + --border: 20 5.9% 90%; --input: 20 5.9% 90%; - + --primary: 24 9.8% 10%; --primary-foreground: 60 9.1% 97.8%; - + --secondary: 60 4.8% 95.9%; --secondary-foreground: 24 9.8% 10%; - + --accent: 60 4.8% 95.9%; --accent-foreground: 24 9.8% 10%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 60 9.1% 97.8%; - + --ring: 20 14.3% 4.1%; - + --radius: 0.5rem; } - + .dark .theme-stone { --background: 20 14.3% 4.1%; --foreground: 60 9.1% 97.8%; - + --muted: 12 6.5% 15.1%; --muted-foreground: 24 5.4% 63.9%; - + --popover: 20 14.3% 4.1%; --popover-foreground: 60 9.1% 97.8%; - + --card: 20 14.3% 4.1%; --card-foreground: 60 9.1% 97.8%; - + --border: 12 6.5% 15.1%; --input: 12 6.5% 15.1%; - + --primary: 60 9.1% 97.8%; --primary-foreground: 24 9.8% 10%; - + --secondary: 12 6.5% 15.1%; --secondary-foreground: 60 9.1% 97.8%; - + --accent: 12 6.5% 15.1%; --accent-foreground: 60 9.1% 97.8%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 60 9.1% 97.8%; - + --ring: 24 5.7% 82.9%; } .theme-gray { --background: 0 0% 100%; --foreground: 224 71.4% 4.1%; - + --muted: 220 14.3% 95.9%; --muted-foreground: 220 8.9% 46.1%; - + --popover: 0 0% 100%; --popover-foreground: 224 71.4% 4.1%; - + --card: 0 0% 100%; --card-foreground: 224 71.4% 4.1%; - + --border: 220 13% 91%; --input: 220 13% 91%; - + --primary: 220.9 39.3% 11%; --primary-foreground: 210 20% 98%; - + --secondary: 220 14.3% 95.9%; --secondary-foreground: 220.9 39.3% 11%; - + --accent: 220 14.3% 95.9%; --accent-foreground: 220.9 39.3% 11%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 210 20% 98%; - + --ring: 224 71.4% 4.1%; - + --radius: 0.5rem; } - + .dark .theme-gray { --background: 224 71.4% 4.1%; --foreground: 210 20% 98%; - + --muted: 215 27.9% 16.9%; --muted-foreground: 217.9 10.6% 64.9%; - + --popover: 224 71.4% 4.1%; --popover-foreground: 210 20% 98%; - + --card: 224 71.4% 4.1%; --card-foreground: 210 20% 98%; - + --border: 215 27.9% 16.9%; --input: 215 27.9% 16.9%; - + --primary: 210 20% 98%; --primary-foreground: 220.9 39.3% 11%; - + --secondary: 215 27.9% 16.9%; --secondary-foreground: 210 20% 98%; - + --accent: 215 27.9% 16.9%; --accent-foreground: 210 20% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 210 20% 98%; - + --ring: 216 12.2% 83.9%; } .theme-neutral { --background: 0 0% 100%; --foreground: 0 0% 3.9%; - + --muted: 0 0% 96.1%; --muted-foreground: 0 0% 45.1%; - + --popover: 0 0% 100%; --popover-foreground: 0 0% 3.9%; - + --card: 0 0% 100%; --card-foreground: 0 0% 3.9%; - + --border: 0 0% 89.8%; --input: 0 0% 89.8%; - + --primary: 0 0% 9%; --primary-foreground: 0 0% 98%; - + --secondary: 0 0% 96.1%; --secondary-foreground: 0 0% 9%; - + --accent: 0 0% 96.1%; --accent-foreground: 0 0% 9%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; - + --ring: 0 0% 3.9%; - + --radius: 0.5rem; } - + .dark .theme-neutral { --background: 0 0% 3.9%; --foreground: 0 0% 98%; - + --muted: 0 0% 14.9%; --muted-foreground: 0 0% 63.9%; - + --popover: 0 0% 3.9%; --popover-foreground: 0 0% 98%; - + --card: 0 0% 3.9%; --card-foreground: 0 0% 98%; - + --border: 0 0% 14.9%; --input: 0 0% 14.9%; - + --primary: 0 0% 98%; --primary-foreground: 0 0% 9%; - + --secondary: 0 0% 14.9%; --secondary-foreground: 0 0% 98%; - + --accent: 0 0% 14.9%; --accent-foreground: 0 0% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 0% 98%; - + --ring: 0 0% 83.1%; } .theme-red { --background: 0 0% 100%; --foreground: 0 0% 3.9%; - + --muted: 0 0% 96.1%; --muted-foreground: 0 0% 45.1%; - + --popover: 0 0% 100%; --popover-foreground: 0 0% 3.9%; - + --card: 0 0% 100%; --card-foreground: 0 0% 3.9%; - + --border: 0 0% 89.8%; --input: 0 0% 89.8%; - + --primary: 0 72.2% 50.6%; --primary-foreground: 0 85.7% 97.3%; - + --secondary: 0 0% 96.1%; --secondary-foreground: 0 0% 9%; - + --accent: 0 0% 96.1%; --accent-foreground: 0 0% 9%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; - + --ring: 0 72.2% 50.6%; - + --radius: 0.5rem; } - + .dark .theme-red { --background: 0 0% 3.9%; --foreground: 0 0% 98%; - + --muted: 0 0% 14.9%; --muted-foreground: 0 0% 63.9%; - + --popover: 0 0% 3.9%; --popover-foreground: 0 0% 98%; - + --card: 0 0% 3.9%; --card-foreground: 0 0% 98%; - + --border: 0 0% 14.9%; --input: 0 0% 14.9%; - + --primary: 0 72.2% 50.6%; --primary-foreground: 0 85.7% 97.3%; - + --secondary: 0 0% 14.9%; --secondary-foreground: 0 0% 98%; - + --accent: 0 0% 14.9%; --accent-foreground: 0 0% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 0% 98%; - + --ring: 0 72.2% 50.6%; } .theme-rose { --background: 0 0% 100%; --foreground: 240 10% 3.9%; - + --muted: 240 4.8% 95.9%; --muted-foreground: 240 3.8% 46.1%; - + --popover: 0 0% 100%; --popover-foreground: 240 10% 3.9%; - + --card: 0 0% 100%; --card-foreground: 240 10% 3.9%; - + --border: 240 5.9% 90%; --input: 240 5.9% 90%; - + --primary: 346.8 77.2% 49.8%; --primary-foreground: 355.7 100% 97.3%; - + --secondary: 240 4.8% 95.9%; --secondary-foreground: 240 5.9% 10%; - + --accent: 240 4.8% 95.9%; --accent-foreground: 240 5.9% 10%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; - + --ring: 346.8 77.2% 49.8%; - + --radius: 0.5rem; } - + .dark .theme-rose { --background: 20 14.3% 4.1%; --foreground: 0 0% 95%; - + --muted: 0 0% 15%; --muted-foreground: 240 5% 64.9%; - + --popover: 0 0% 9%; --popover-foreground: 0 0% 95%; - + --card: 24 9.8% 10%; --card-foreground: 0 0% 95%; - + --border: 240 3.7% 15.9%; --input: 240 3.7% 15.9%; - + --primary: 346.8 77.2% 49.8%; --primary-foreground: 355.7 100% 97.3%; - + --secondary: 240 3.7% 15.9%; --secondary-foreground: 0 0% 98%; - + --accent: 12 6.5% 15.1%; --accent-foreground: 0 0% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 85.7% 97.3%; - + --ring: 346.8 77.2% 49.8%; } .theme-orange { --background: 0 0% 100%; --foreground: 20 14.3% 4.1%; - + --muted: 60 4.8% 95.9%; --muted-foreground: 25 5.3% 44.7%; - + --popover: 0 0% 100%; --popover-foreground: 20 14.3% 4.1%; - + --card: 0 0% 100%; --card-foreground: 20 14.3% 4.1%; - + --border: 20 5.9% 90%; --input: 20 5.9% 90%; - + --primary: 24.6 95% 53.1%; --primary-foreground: 60 9.1% 97.8%; - + --secondary: 60 4.8% 95.9%; --secondary-foreground: 24 9.8% 10%; - + --accent: 60 4.8% 95.9%; --accent-foreground: 24 9.8% 10%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 60 9.1% 97.8%; - + --ring: 24.6 95% 53.1%; - + --radius: 0.5rem; } - + .dark .theme-orange { --background: 20 14.3% 4.1%; --foreground: 60 9.1% 97.8%; - + --muted: 12 6.5% 15.1%; --muted-foreground: 24 5.4% 63.9%; - + --popover: 20 14.3% 4.1%; --popover-foreground: 60 9.1% 97.8%; - + --card: 20 14.3% 4.1%; --card-foreground: 60 9.1% 97.8%; - + --border: 12 6.5% 15.1%; --input: 12 6.5% 15.1%; - + --primary: 20.5 90.2% 48.2%; --primary-foreground: 60 9.1% 97.8%; - + --secondary: 12 6.5% 15.1%; --secondary-foreground: 60 9.1% 97.8%; - + --accent: 12 6.5% 15.1%; --accent-foreground: 60 9.1% 97.8%; - + --destructive: 0 72.2% 50.6%; --destructive-foreground: 60 9.1% 97.8%; - + --ring: 20.5 90.2% 48.2%; } .theme-green { --background: 0 0% 100%; --foreground: 240 10% 3.9%; - + --muted: 240 4.8% 95.9%; --muted-foreground: 240 3.8% 46.1%; - + --popover: 0 0% 100%; --popover-foreground: 240 10% 3.9%; - + --card: 0 0% 100%; --card-foreground: 240 10% 3.9%; - + --border: 240 5.9% 90%; --input: 240 5.9% 90%; - + --primary: 142.1 76.2% 36.3%; --primary-foreground: 355.7 100% 97.3%; - + --secondary: 240 4.8% 95.9%; --secondary-foreground: 240 5.9% 10%; - + --accent: 240 4.8% 95.9%; --accent-foreground: 240 5.9% 10%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 0 0% 98%; - + --ring: 142.1 76.2% 36.3%; - + --radius: 0.5rem; } - + .dark .theme-green { --background: 20 14.3% 4.1%; --foreground: 0 0% 95%; - + --muted: 0 0% 15%; --muted-foreground: 240 5% 64.9%; - + --popover: 0 0% 9%; --popover-foreground: 0 0% 95%; - + --card: 24 9.8% 10%; --card-foreground: 0 0% 95%; - + --border: 240 3.7% 15.9%; --input: 240 3.7% 15.9%; - + --primary: 142.1 70.6% 45.3%; --primary-foreground: 144.9 80.4% 10%; - + --secondary: 240 3.7% 15.9%; --secondary-foreground: 0 0% 98%; - + --accent: 12 6.5% 15.1%; --accent-foreground: 0 0% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 0 85.7% 97.3%; - + --ring: 142.4 71.8% 29.2%; } .theme-blue { --background: 0 0% 100%; --foreground: 222.2 84% 4.9%; - + --muted: 210 40% 96.1%; --muted-foreground: 215.4 16.3% 46.9%; - + --popover: 0 0% 100%; --popover-foreground: 222.2 84% 4.9%; - + --card: 0 0% 100%; --card-foreground: 222.2 84% 4.9%; - + --border: 214.3 31.8% 91.4%; --input: 214.3 31.8% 91.4%; - + --primary: 221.2 83.2% 53.3%; --primary-foreground: 210 40% 98%; - + --secondary: 210 40% 96.1%; --secondary-foreground: 222.2 47.4% 11.2%; - + --accent: 210 40% 96.1%; --accent-foreground: 222.2 47.4% 11.2%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 210 40% 98%; - + --ring: 221.2 83.2% 53.3%; - + --radius: 0.5rem; } - + .dark .theme-blue { --background: 222.2 84% 4.9%; --foreground: 210 40% 98%; - + --muted: 217.2 32.6% 17.5%; --muted-foreground: 215 20.2% 65.1%; - + --popover: 222.2 84% 4.9%; --popover-foreground: 210 40% 98%; - + --card: 222.2 84% 4.9%; --card-foreground: 210 40% 98%; - + --border: 217.2 32.6% 17.5%; --input: 217.2 32.6% 17.5%; - + --primary: 217.2 91.2% 59.8%; --primary-foreground: 222.2 47.4% 11.2%; - + --secondary: 217.2 32.6% 17.5%; --secondary-foreground: 210 40% 98%; - + --accent: 217.2 32.6% 17.5%; --accent-foreground: 210 40% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 210 40% 98%; - + --ring: 224.3 76.3% 48%; } .theme-yellow { --background: 0 0% 100%; --foreground: 20 14.3% 4.1%; - + --muted: 60 4.8% 95.9%; --muted-foreground: 25 5.3% 44.7%; - + --popover: 0 0% 100%; --popover-foreground: 20 14.3% 4.1%; - + --card: 0 0% 100%; --card-foreground: 20 14.3% 4.1%; - + --border: 20 5.9% 90%; --input: 20 5.9% 90%; - + --primary: 47.9 95.8% 53.1%; --primary-foreground: 26 83.3% 14.1%; - + --secondary: 60 4.8% 95.9%; --secondary-foreground: 24 9.8% 10%; - + --accent: 60 4.8% 95.9%; --accent-foreground: 24 9.8% 10%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 60 9.1% 97.8%; - + --ring: 20 14.3% 4.1%; - + --radius: 0.5rem; } - + .dark .theme-yellow { --background: 20 14.3% 4.1%; --foreground: 60 9.1% 97.8%; - + --muted: 12 6.5% 15.1%; --muted-foreground: 24 5.4% 63.9%; - + --popover: 20 14.3% 4.1%; --popover-foreground: 60 9.1% 97.8%; - + --card: 20 14.3% 4.1%; --card-foreground: 60 9.1% 97.8%; - + --border: 12 6.5% 15.1%; --input: 12 6.5% 15.1%; - + --primary: 47.9 95.8% 53.1%; --primary-foreground: 26 83.3% 14.1%; - + --secondary: 12 6.5% 15.1%; --secondary-foreground: 60 9.1% 97.8%; - + --accent: 12 6.5% 15.1%; --accent-foreground: 60 9.1% 97.8%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 60 9.1% 97.8%; - + --ring: 35.5 91.7% 32.9%; } .theme-violet { --background: 0 0% 100%; --foreground: 224 71.4% 4.1%; - + --muted: 220 14.3% 95.9%; --muted-foreground: 220 8.9% 46.1%; - + --popover: 0 0% 100%; --popover-foreground: 224 71.4% 4.1%; - + --card: 0 0% 100%; --card-foreground: 224 71.4% 4.1%; - + --border: 220 13% 91%; --input: 220 13% 91%; - + --primary: 262.1 83.3% 57.8%; --primary-foreground: 210 20% 98%; - + --secondary: 220 14.3% 95.9%; --secondary-foreground: 220.9 39.3% 11%; - + --accent: 220 14.3% 95.9%; --accent-foreground: 220.9 39.3% 11%; - + --destructive: 0 84.2% 60.2%; --destructive-foreground: 210 20% 98%; - + --ring: 262.1 83.3% 57.8%; - + --radius: 0.5rem; } - + .dark .theme-violet { --background: 224 71.4% 4.1%; --foreground: 210 20% 98%; - + --muted: 215 27.9% 16.9%; --muted-foreground: 217.9 10.6% 64.9%; - + --popover: 224 71.4% 4.1%; --popover-foreground: 210 20% 98%; - + --card: 224 71.4% 4.1%; --card-foreground: 210 20% 98%; - + --border: 215 27.9% 16.9%; --input: 215 27.9% 16.9%; - + --primary: 263.4 70% 50.4%; --primary-foreground: 210 20% 98%; - + --secondary: 215 27.9% 16.9%; --secondary-foreground: 210 20% 98%; - + --accent: 215 27.9% 16.9%; --accent-foreground: 210 20% 98%; - + --destructive: 0 62.8% 30.6%; --destructive-foreground: 210 20% 98%; - + --ring: 263.4 70% 50.4%; } \ No newline at end of file diff --git a/packages/cli/package.json b/packages/cli/package.json index 38565a79..8ee6f1f5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -80,7 +80,7 @@ "@types/prompts": "^2.4.9", "tsup": "^8.3.0", "type-fest": "^4.26.1", - "typescript": "^5.6.3", + "typescript": "catalog:", "vite-tsconfig-paths": "^5.0.1" } }