Files
zhimingge/app/globals.css
T
2026-06-10 19:59:27 +08:00

110 lines
1.9 KiB
CSS

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 60 9% 98%;
--foreground: 0 0% 32%;
--card: 60 9% 98%;
--card-foreground: 0 0% 32%;
--popover: 60 9% 98%;
--popover-foreground: 0 0% 32%;
--primary: 0 0% 32%;
--primary-foreground: 60 9.1% 97.8%;
--secondary: 60 5% 96%;
--secondary-foreground: 0 0% 32%;
--muted: 60 4.8% 95.9%;
--muted-foreground: 25 5.3% 44.7%;
--accent: 20 5.9% 94%;
--accent-foreground: 24 9.8% 10%;
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 60 9.1% 97.8%;
--border: 20 5.9% 90%;
--input: 24 6% 85%;
--ring: 0 0% 32%;
--radius: 0.5rem;
}
.dark {
--background: 24 10% 10%;
--foreground: 60 9.1% 97.8%;
--card: 24 10% 10%;
--card-foreground: 60 9.1% 97.8%;
--popover: 24 10% 10%;
--popover-foreground: 60 9.1% 97.8%;
--primary: 60 9.1% 97.8%;
--primary-foreground: 0 0% 32%;
--secondary: 0 0% 20%;
--secondary-foreground: 60 9.1% 97.8%;
--muted: 24 10% 10%;
--muted-foreground: 24 5.4% 66%;
--accent: 0 0% 20%;
--accent-foreground: 60 9.1% 97.8%;
--destructive: 0 74% 42%;
--destructive-foreground: 60 9.1% 97.8%;
--border: 30 6% 25%;
--input: 33 5% 32%;
--ring: 20 6% 90%;
}
}
@layer base {
* {
@apply border-border;
}
body {
@apply gap flex flex-col bg-background text-foreground;
}
body {
font-family: 'LXGW WenKai Screen';
font-weight: normal;
}
body,
html {
@apply h-full;
}
footer {
padding-bottom: max(env(safe-area-inset-bottom), 8px);
}
}
@layer utilities {
.gap {
@apply gap-4 sm:gap-6;
}
}
@layer utilities {
::-webkit-scrollbar {
--bar-width: 5px;
width: var(--bar-width);
height: var(--bar-width);
}
::-webkit-scrollbar-thumb {
@apply rounded-md bg-border;
}
}