|
| 1 | +@tailwind base; |
| 2 | +@tailwind components; |
| 3 | +@tailwind utilities; |
| 4 | + |
| 5 | +@layer base { |
| 6 | + :root { |
| 7 | + --background: 0 0% 8%; |
| 8 | + --foreground: 0 0% 95%; |
| 9 | + |
| 10 | + --card: 0 0% 12%; |
| 11 | + --card-foreground: 0 0% 95%; |
| 12 | + |
| 13 | + --popover: 0 0% 12%; |
| 14 | + --popover-foreground: 0 0% 95%; |
| 15 | + |
| 16 | + --primary: 0 0% 20%; |
| 17 | + --primary-foreground: 0 0% 98%; |
| 18 | + |
| 19 | + --secondary: 0 0% 16%; |
| 20 | + --secondary-foreground: 0 0% 90%; |
| 21 | + |
| 22 | + --muted: 0 0% 14%; |
| 23 | + --muted-foreground: 0 0% 70%; |
| 24 | + |
| 25 | + --accent: 0 0% 18%; |
| 26 | + --accent-foreground: 0 0% 95%; |
| 27 | + |
| 28 | + --destructive: 0 84.2% 60.2%; |
| 29 | + --destructive-foreground: 0 0% 98%; |
| 30 | + |
| 31 | + --border: 0 0% 22%; |
| 32 | + --input: 0 0% 18%; |
| 33 | + --ring: 0 0% 35%; |
| 34 | + |
| 35 | + --radius: 0.5rem; |
| 36 | + |
| 37 | + --sidebar-background: 0 0% 10%; |
| 38 | + --sidebar-foreground: 0 0% 90%; |
| 39 | + --sidebar-primary: 0 0% 25%; |
| 40 | + --sidebar-primary-foreground: 0 0% 98%; |
| 41 | + --sidebar-accent: 0 0% 16%; |
| 42 | + --sidebar-accent-foreground: 0 0% 95%; |
| 43 | + --sidebar-border: 0 0% 20%; |
| 44 | + --sidebar-ring: 0 0% 40%; |
| 45 | + } |
| 46 | + |
| 47 | + .dark { |
| 48 | + --background: 0 0% 6%; |
| 49 | + --foreground: 0 0% 98%; |
| 50 | + |
| 51 | + --card: 0 0% 10%; |
| 52 | + --card-foreground: 0 0% 98%; |
| 53 | + |
| 54 | + --popover: 0 0% 10%; |
| 55 | + --popover-foreground: 0 0% 98%; |
| 56 | + |
| 57 | + --primary: 0 0% 25%; |
| 58 | + --primary-foreground: 0 0% 98%; |
| 59 | + |
| 60 | + --secondary: 0 0% 14%; |
| 61 | + --secondary-foreground: 0 0% 95%; |
| 62 | + |
| 63 | + --muted: 0 0% 12%; |
| 64 | + --muted-foreground: 0 0% 75%; |
| 65 | + |
| 66 | + --accent: 0 0% 20%; |
| 67 | + --accent-foreground: 0 0% 98%; |
| 68 | + |
| 69 | + --destructive: 0 62.8% 30.6%; |
| 70 | + --destructive-foreground: 0 0% 98%; |
| 71 | + |
| 72 | + --border: 0 0% 18%; |
| 73 | + --input: 0 0% 16%; |
| 74 | + --ring: 0 0% 40%; |
| 75 | + |
| 76 | + --sidebar-background: 0 0% 8%; |
| 77 | + --sidebar-foreground: 0 0% 95%; |
| 78 | + --sidebar-primary: 0 0% 30%; |
| 79 | + --sidebar-primary-foreground: 0 0% 98%; |
| 80 | + --sidebar-accent: 0 0% 14%; |
| 81 | + --sidebar-accent-foreground: 0 0% 98%; |
| 82 | + --sidebar-border: 0 0% 16%; |
| 83 | + --sidebar-ring: 0 0% 45%; |
| 84 | + } |
| 85 | +} |
| 86 | + |
| 87 | +@layer base { |
| 88 | + * { |
| 89 | + @apply border-border; |
| 90 | + } |
| 91 | + body { |
| 92 | + @apply bg-background text-foreground; |
| 93 | + } |
| 94 | +} |
| 95 | + |
| 96 | +/* Custom scrollbar styles */ |
| 97 | +::-webkit-scrollbar { |
| 98 | + width: 10px; |
| 99 | + height: 10px; |
| 100 | +} |
| 101 | + |
| 102 | +::-webkit-scrollbar-track { |
| 103 | + background: hsl(0 0% 12%); |
| 104 | + border-radius: 5px; |
| 105 | +} |
| 106 | + |
| 107 | +::-webkit-scrollbar-thumb { |
| 108 | + background: hsl(0 0% 25%); |
| 109 | + border-radius: 5px; |
| 110 | +} |
| 111 | + |
| 112 | +::-webkit-scrollbar-thumb:hover { |
| 113 | + background: hsl(0 0% 35%); |
| 114 | +} |
| 115 | + |
| 116 | +/* Add no-scrollbar utility class */ |
| 117 | +@layer utilities { |
| 118 | + .no-scrollbar::-webkit-scrollbar { |
| 119 | + display: none; |
| 120 | + } |
| 121 | + |
| 122 | + .no-scrollbar { |
| 123 | + -ms-overflow-style: none; /* IE and Edge */ |
| 124 | + scrollbar-width: none; /* Firefox */ |
| 125 | + } |
| 126 | +} |
0 commit comments