diff --git a/components.json b/components.json index 0df66ae..66ce72a 100644 --- a/components.json +++ b/components.json @@ -1,11 +1,11 @@ { "$schema": "https://ui.shadcn.com/schema.json", - "style": "default", + "style": "new-york", "rsc": true, "tsx": true, "tailwind": { "config": "tailwind.config.ts", - "css": "src/app/globals.css", + "css": "src/styles/globals.css", "baseColor": "zinc", "cssVariables": true, "prefix": "" diff --git a/src/styles/globals.css b/src/styles/globals.css index b19bf6b..f18dfae 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -29,8 +29,7 @@ --sidebar-accent: 240 3.7% 15.9%; --sidebar-accent-foreground: 240 4.8% 95.9%; --sidebar-border: 240 3.7% 15.9%; - --sidebar-ring: 217.2 91.2% 59.8% - } + --sidebar-ring: 217.2 91.2% 59.8%} html { /* prevent the layout from shifting when the scrollbar appears or disappears. */ @@ -40,18 +39,13 @@ /* can not set this, otherwise the theme switcher will disappear when click it after page scrolled */ /* overflow-y: scroll; */ } +} +@layer base { * { - @apply border-border outline-ring/50; + @apply border-border; } body { @apply bg-background text-foreground; } } - -@layer utilities { - .link-underline-animation { - @apply relative underline underline-offset-4 decoration-transparent decoration-2 - hover:decoration-primary hover:text-primary transition-all duration-300 ease-in-out; - } -}