index.css (4527B)
1 @import "tailwindcss"; 2 @import "tw-animate-css"; 3 @import "shadcn/tailwind.css"; 4 @import "@fontsource-variable/inter"; 5 6 @custom-variant dark (&:is(.dark *)); 7 8 @theme inline { 9 --font-heading: var(--font-sans); 10 --font-sans: 'Inter Variable', sans-serif; 11 --color-sidebar-ring: var(--sidebar-ring); 12 --color-sidebar-border: var(--sidebar-border); 13 --color-sidebar-accent-foreground: var(--sidebar-accent-foreground); 14 --color-sidebar-accent: var(--sidebar-accent); 15 --color-sidebar-primary-foreground: var(--sidebar-primary-foreground); 16 --color-sidebar-primary: var(--sidebar-primary); 17 --color-sidebar-foreground: var(--sidebar-foreground); 18 --color-sidebar: var(--sidebar); 19 --color-chart-5: var(--chart-5); 20 --color-chart-4: var(--chart-4); 21 --color-chart-3: var(--chart-3); 22 --color-chart-2: var(--chart-2); 23 --color-chart-1: var(--chart-1); 24 --color-ring: var(--ring); 25 --color-input: var(--input); 26 --color-border: var(--border); 27 --color-destructive: var(--destructive); 28 --color-accent-foreground: var(--accent-foreground); 29 --color-accent: var(--accent); 30 --color-muted-foreground: var(--muted-foreground); 31 --color-muted: var(--muted); 32 --color-secondary-foreground: var(--secondary-foreground); 33 --color-secondary: var(--secondary); 34 --color-primary-foreground: var(--primary-foreground); 35 --color-primary: var(--primary); 36 --color-popover-foreground: var(--popover-foreground); 37 --color-popover: var(--popover); 38 --color-card-foreground: var(--card-foreground); 39 --color-card: var(--card); 40 --color-foreground: var(--foreground); 41 --color-background: var(--background); 42 --radius-sm: calc(var(--radius) * 0.6); 43 --radius-md: calc(var(--radius) * 0.8); 44 --radius-lg: var(--radius); 45 --radius-xl: calc(var(--radius) * 1.4); 46 --radius-2xl: calc(var(--radius) * 1.8); 47 --radius-3xl: calc(var(--radius) * 2.2); 48 --radius-4xl: calc(var(--radius) * 2.6); 49 } 50 51 :root { 52 --background: oklch(1 0 0); 53 --foreground: oklch(0.145 0 0); 54 --card: oklch(1 0 0); 55 --card-foreground: oklch(0.145 0 0); 56 --popover: oklch(1 0 0); 57 --popover-foreground: oklch(0.145 0 0); 58 --primary: oklch(0.205 0 0); 59 --primary-foreground: oklch(0.985 0 0); 60 --secondary: oklch(0.97 0 0); 61 --secondary-foreground: oklch(0.205 0 0); 62 --muted: oklch(0.97 0 0); 63 --muted-foreground: oklch(0.556 0 0); 64 --accent: oklch(0.97 0 0); 65 --accent-foreground: oklch(0.205 0 0); 66 --destructive: oklch(0.577 0.245 27.325); 67 --border: oklch(0.922 0 0); 68 --input: oklch(0.922 0 0); 69 --ring: oklch(0.708 0 0); 70 --chart-1: oklch(0.87 0 0); 71 --chart-2: oklch(0.556 0 0); 72 --chart-3: oklch(0.439 0 0); 73 --chart-4: oklch(0.371 0 0); 74 --chart-5: oklch(0.269 0 0); 75 --radius: 0.625rem; 76 --sidebar: oklch(0.985 0 0); 77 --sidebar-foreground: oklch(0.145 0 0); 78 --sidebar-primary: oklch(0.205 0 0); 79 --sidebar-primary-foreground: oklch(0.985 0 0); 80 --sidebar-accent: oklch(0.97 0 0); 81 --sidebar-accent-foreground: oklch(0.205 0 0); 82 --sidebar-border: oklch(0.922 0 0); 83 --sidebar-ring: oklch(0.708 0 0); 84 } 85 86 .dark { 87 --background: oklch(0.145 0 0); 88 --foreground: oklch(0.985 0 0); 89 --card: oklch(0.205 0 0); 90 --card-foreground: oklch(0.985 0 0); 91 --popover: oklch(0.205 0 0); 92 --popover-foreground: oklch(0.985 0 0); 93 --primary: oklch(0.922 0 0); 94 --primary-foreground: oklch(0.205 0 0); 95 --secondary: oklch(0.269 0 0); 96 --secondary-foreground: oklch(0.985 0 0); 97 --muted: oklch(0.269 0 0); 98 --muted-foreground: oklch(0.708 0 0); 99 --accent: oklch(0.269 0 0); 100 --accent-foreground: oklch(0.985 0 0); 101 --destructive: oklch(0.704 0.191 22.216); 102 --border: oklch(1 0 0 / 10%); 103 --input: oklch(1 0 0 / 15%); 104 --ring: oklch(0.556 0 0); 105 --chart-1: oklch(0.87 0 0); 106 --chart-2: oklch(0.556 0 0); 107 --chart-3: oklch(0.439 0 0); 108 --chart-4: oklch(0.371 0 0); 109 --chart-5: oklch(0.269 0 0); 110 --sidebar: oklch(0.205 0 0); 111 --sidebar-foreground: oklch(0.985 0 0); 112 --sidebar-primary: oklch(0.488 0.243 264.376); 113 --sidebar-primary-foreground: oklch(0.985 0 0); 114 --sidebar-accent: oklch(0.269 0 0); 115 --sidebar-accent-foreground: oklch(0.985 0 0); 116 --sidebar-border: oklch(1 0 0 / 10%); 117 --sidebar-ring: oklch(0.556 0 0); 118 } 119 120 @layer base { 121 * { 122 @apply border-border outline-ring/50; 123 } 124 body { 125 @apply bg-background text-foreground; 126 } 127 html { 128 @apply font-sans; 129 } 130 }