feat: update shadcn ui components (new-york)
This commit is contained in:
parent
bc15dfc679
commit
c563c537f4
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://ui.shadcn.com/schema.json",
|
"$schema": "https://ui.shadcn.com/schema.json",
|
||||||
"style": "default",
|
"style": "new-york",
|
||||||
"rsc": true,
|
"rsc": true,
|
||||||
"tsx": true,
|
"tsx": true,
|
||||||
"tailwind": {
|
"tailwind": {
|
||||||
"config": "tailwind.config.ts",
|
"config": "tailwind.config.ts",
|
||||||
"css": "src/app/globals.css",
|
"css": "src/styles/globals.css",
|
||||||
"baseColor": "zinc",
|
"baseColor": "zinc",
|
||||||
"cssVariables": true,
|
"cssVariables": true,
|
||||||
"prefix": ""
|
"prefix": ""
|
||||||
|
@ -29,8 +29,7 @@
|
|||||||
--sidebar-accent: 240 3.7% 15.9%;
|
--sidebar-accent: 240 3.7% 15.9%;
|
||||||
--sidebar-accent-foreground: 240 4.8% 95.9%;
|
--sidebar-accent-foreground: 240 4.8% 95.9%;
|
||||||
--sidebar-border: 240 3.7% 15.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 {
|
html {
|
||||||
/* prevent the layout from shifting when the scrollbar appears or disappears. */
|
/* 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 */
|
/* can not set this, otherwise the theme switcher will disappear when click it after page scrolled */
|
||||||
/* overflow-y: scroll; */
|
/* overflow-y: scroll; */
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@layer base {
|
||||||
* {
|
* {
|
||||||
@apply border-border outline-ring/50;
|
@apply border-border;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
@apply bg-background text-foreground;
|
@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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user