175 lines
5.3 KiB
CSS
175 lines
5.3 KiB
CSS
@import url("https://cdn.jsdelivr.net/gh/wanteddev/wanted-sans@v1.0.3/packages/wanted-sans/fonts/webfonts/variable/split/WantedSansVariable.min.css");
|
|
|
|
@import "tailwindcss";
|
|
@import "tw-animate-css";
|
|
|
|
@custom-variant dark (&:is(.dark *));
|
|
|
|
:root {
|
|
--background: hsl(340 40% 98%);
|
|
--foreground: hsl(315 21% 8%);
|
|
--card: hsl(340 40% 98%);
|
|
--card-foreground: hsl(315 21% 8%);
|
|
--popover: hsl(340 40% 98%);
|
|
--popover-foreground: hsl(315 21% 8%);
|
|
--primary: hsl(340 25% 15%);
|
|
--primary-foreground: hsl(0 0% 98%);
|
|
--secondary: hsl(340 25% 95%);
|
|
--secondary-foreground: hsl(240 5.9% 10%);
|
|
--muted: hsl(340 20% 95%);
|
|
--muted-foreground: hsl(340 10% 60%);
|
|
--accent: hsl(340 25% 94%);
|
|
--accent-foreground: hsl(240 5.9% 10%);
|
|
--destructive: hsl(0 84.2% 60.2%);
|
|
--destructive-foreground: hsl(0 0% 98%);
|
|
--border: hsl(340 25% 90%);
|
|
--input: hsl(340 25% 90%);
|
|
--ring: hsl(315 21% 8%);
|
|
--chart-1: hsl(12 76% 61%);
|
|
--chart-2: hsl(173 58% 39%);
|
|
--chart-3: hsl(197 37% 24%);
|
|
--chart-4: hsl(43 74% 66%);
|
|
--chart-5: hsl(27 87% 67%);
|
|
--radius: 0.6rem;
|
|
--sidebar-background: hsl(340 25% 98%);
|
|
--sidebar-foreground: hsl(240 5.3% 26.1%);
|
|
--sidebar-primary: hsl(240 5.9% 10%);
|
|
--sidebar-primary-foreground: hsl(0 0% 98%);
|
|
--sidebar-accent: hsl(340 20% 95%);
|
|
--sidebar-accent-foreground: hsl(240 5.9% 10%);
|
|
--sidebar-border: hsl(340 20% 90%);
|
|
--sidebar-ring: hsl(217.2 91.2% 59.8%);
|
|
}
|
|
|
|
.dark {
|
|
--background: hsl(315 21% 8%);
|
|
--foreground: hsl(0 0% 98%);
|
|
--card: hsl(315 21% 8%);
|
|
--card-foreground: hsl(0 0% 98%);
|
|
--popover: hsl(315 21% 8%);
|
|
--popover-foreground: hsl(0 0% 98%);
|
|
--primary: hsl(0 0% 98%);
|
|
--primary-foreground: hsl(240 5.9% 10%);
|
|
--secondary: hsl(296, 18%, 15%);
|
|
--secondary-foreground: hsl(0 0% 98%);
|
|
--muted: hsl(296, 18%, 15%);
|
|
--muted-foreground: hsl(240 5% 68%);
|
|
--accent: hsl(296, 18%, 15%);
|
|
--accent-foreground: hsl(0 0% 98%);
|
|
--destructive: hsl(0 62.8% 30.6%);
|
|
--destructive-foreground: hsl(0 0% 98%);
|
|
--border: hsl(296, 18%, 15%);
|
|
--input: hsl(296, 18%, 15%);
|
|
--ring: hsl(240 4.9% 83.9%);
|
|
--chart-1: hsl(220 70% 50%);
|
|
--chart-2: hsl(160 60% 45%);
|
|
--chart-3: hsl(30 80% 55%);
|
|
--chart-4: hsl(280 65% 60%);
|
|
--chart-5: hsl(340 75% 55%);
|
|
--sidebar-background: hsl(240 5.9% 10%);
|
|
--sidebar-foreground: hsl(240 4.8% 95.9%);
|
|
--sidebar-primary: hsl(224.3 76.3% 48%);
|
|
--sidebar-primary-foreground: hsl(0 0% 100%);
|
|
--sidebar-accent: hsl(296, 18%, 15%);
|
|
--sidebar-accent-foreground: hsl(240 4.8% 95.9%);
|
|
--sidebar-border: hsl(296, 18%, 15%);
|
|
--sidebar-ring: hsl(217.2 91.2% 59.8%);
|
|
}
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--color-card: var(--card);
|
|
--color-card-foreground: var(--card-foreground);
|
|
--color-popover: var(--popover);
|
|
--color-popover-foreground: var(--popover-foreground);
|
|
--color-primary: var(--primary);
|
|
--color-primary-foreground: var(--primary-foreground);
|
|
--color-secondary: var(--secondary);
|
|
--color-secondary-foreground: var(--secondary-foreground);
|
|
--color-muted: var(--muted);
|
|
--color-muted-foreground: var(--muted-foreground);
|
|
--color-accent: var(--accent);
|
|
--color-accent-foreground: var(--accent-foreground);
|
|
--color-destructive: var(--destructive);
|
|
--color-destructive-foreground: var(--destructive-foreground);
|
|
--color-border: var(--border);
|
|
--color-input: var(--input);
|
|
--color-ring: var(--ring);
|
|
--color-chart-1: var(--chart-1);
|
|
--color-chart-2: var(--chart-2);
|
|
--color-chart-3: var(--chart-3);
|
|
--color-chart-4: var(--chart-4);
|
|
--color-chart-5: var(--chart-5);
|
|
--radius-sm: calc(var(--radius) - 4px);
|
|
--radius-md: calc(var(--radius) - 2px);
|
|
--radius-lg: var(--radius);
|
|
--radius-xl: calc(var(--radius) + 4px);
|
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
--color-sidebar-border: var(--sidebar-border);
|
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
--color-sidebar-accent: var(--sidebar-accent);
|
|
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
--color-sidebar-primary: var(--sidebar-primary);
|
|
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
--color-sidebar: var(--sidebar-background);
|
|
--animate-accordion-down: accordion-down 0.2s ease-out;
|
|
--animate-accordion-up: accordion-up 0.2s ease-out;
|
|
|
|
@keyframes accordion-down {
|
|
from {
|
|
height: 0;
|
|
}
|
|
to {
|
|
height: var(--radix-accordion-content-height);
|
|
}
|
|
}
|
|
|
|
@keyframes accordion-up {
|
|
from {
|
|
height: var(--radix-accordion-content-height);
|
|
}
|
|
to {
|
|
height: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
* {
|
|
@apply border-border outline-ring/50;
|
|
font-family: "Wanted Sans Variable", "Wanted Sans", -apple-system,
|
|
BlinkMacSystemFont, system-ui, "Segoe UI", "Apple SD Gothic Neo",
|
|
"Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji",
|
|
"Segoe UI Symbol", sans-serif;
|
|
}
|
|
body {
|
|
@apply bg-background text-foreground;
|
|
}
|
|
}
|
|
|
|
@theme {
|
|
--animate-highlight: highlight 0.6s ease forwards;
|
|
--animate-flash: flash 0.6s ease forwards;
|
|
|
|
@keyframes highlight {
|
|
0% {
|
|
background-color: transparent;
|
|
}
|
|
100% {
|
|
background-color: var(--highlight);
|
|
}
|
|
}
|
|
|
|
@keyframes flash {
|
|
0% {
|
|
background-color: hsl(var(--card));
|
|
}
|
|
50% {
|
|
background-color: var(--highlight);
|
|
}
|
|
100% {
|
|
background-color: hsl(var(--card));
|
|
}
|
|
}
|
|
}
|