164 lines
4.6 KiB
CSS
Executable File
164 lines
4.6 KiB
CSS
Executable File
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
/* ── Brand color palette (default: Blue) ─────────────────────────────────────
|
|
Values are bare RGB channels so Tailwind's opacity modifier works:
|
|
bg-brand-500/30 → rgb(var(--brand-500) / 0.3)
|
|
──────────────────────────────────────────────────────────────────────────── */
|
|
:root {
|
|
--brand-50: 239 246 255;
|
|
--brand-100: 219 234 254;
|
|
--brand-200: 191 219 254;
|
|
--brand-300: 147 197 253;
|
|
--brand-400: 96 165 250;
|
|
--brand-500: 59 130 246;
|
|
--brand-600: 37 99 235;
|
|
--brand-700: 29 78 216;
|
|
--brand-800: 30 64 175;
|
|
--brand-900: 30 58 138;
|
|
--brand-950: 23 37 84;
|
|
}
|
|
|
|
/* ── Violet ─────────────────────────────────────────────────────────────── */
|
|
[data-accent="violet"] {
|
|
--brand-50: 245 243 255;
|
|
--brand-100: 237 233 254;
|
|
--brand-200: 221 214 254;
|
|
--brand-300: 196 181 253;
|
|
--brand-400: 167 139 250;
|
|
--brand-500: 139 92 246;
|
|
--brand-600: 124 58 237;
|
|
--brand-700: 109 40 217;
|
|
--brand-800: 91 33 182;
|
|
--brand-900: 76 29 149;
|
|
--brand-950: 46 16 101;
|
|
}
|
|
|
|
/* ── Rose ────────────────────────────────────────────────────────────────── */
|
|
[data-accent="rose"] {
|
|
--brand-50: 255 241 242;
|
|
--brand-100: 255 228 230;
|
|
--brand-200: 254 205 211;
|
|
--brand-300: 253 164 175;
|
|
--brand-400: 251 113 133;
|
|
--brand-500: 244 63 94;
|
|
--brand-600: 225 29 72;
|
|
--brand-700: 190 18 60;
|
|
--brand-800: 159 18 57;
|
|
--brand-900: 136 19 55;
|
|
--brand-950: 76 5 25;
|
|
}
|
|
|
|
/* ── Emerald ─────────────────────────────────────────────────────────────── */
|
|
[data-accent="emerald"] {
|
|
--brand-50: 236 253 245;
|
|
--brand-100: 209 250 229;
|
|
--brand-200: 167 243 208;
|
|
--brand-300: 110 231 183;
|
|
--brand-400: 52 211 153;
|
|
--brand-500: 16 185 129;
|
|
--brand-600: 5 150 105;
|
|
--brand-700: 4 120 87;
|
|
--brand-800: 6 95 70;
|
|
--brand-900: 6 78 59;
|
|
--brand-950: 2 44 34;
|
|
}
|
|
|
|
/* ── Amber ───────────────────────────────────────────────────────────────── */
|
|
[data-accent="amber"] {
|
|
--brand-50: 255 251 235;
|
|
--brand-100: 254 243 199;
|
|
--brand-200: 253 230 138;
|
|
--brand-300: 252 211 77;
|
|
--brand-400: 251 191 36;
|
|
--brand-500: 245 158 11;
|
|
--brand-600: 217 119 6;
|
|
--brand-700: 180 83 9;
|
|
--brand-800: 146 64 14;
|
|
--brand-900: 120 53 15;
|
|
--brand-950: 69 26 3;
|
|
}
|
|
|
|
/* ── Cyan ────────────────────────────────────────────────────────────────── */
|
|
[data-accent="cyan"] {
|
|
--brand-50: 236 254 255;
|
|
--brand-100: 207 250 254;
|
|
--brand-200: 165 243 252;
|
|
--brand-300: 103 232 249;
|
|
--brand-400: 34 211 238;
|
|
--brand-500: 6 182 212;
|
|
--brand-600: 8 145 178;
|
|
--brand-700: 14 116 144;
|
|
--brand-800: 21 94 117;
|
|
--brand-900: 22 78 99;
|
|
--brand-950: 8 51 68;
|
|
}
|
|
|
|
@layer base {
|
|
html {
|
|
@apply h-full;
|
|
}
|
|
body {
|
|
@apply h-full antialiased;
|
|
}
|
|
#root {
|
|
@apply h-full;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
.sidebar-open {
|
|
@apply w-72;
|
|
}
|
|
.sidebar-closed {
|
|
@apply w-14;
|
|
}
|
|
}
|
|
|
|
/* On small screens the sidebar overlays content instead of pushing it */
|
|
@media (max-width: 639px) {
|
|
.sidebar-open {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 30;
|
|
width: theme('spacing.72');
|
|
}
|
|
.sidebar-closed {
|
|
width: theme('spacing.10');
|
|
}
|
|
}
|
|
|
|
/* Custom scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
height: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
@apply bg-transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
@apply bg-slate-300 dark:bg-gray-600 rounded-full;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
@apply bg-slate-400 dark:bg-gray-500;
|
|
}
|
|
|
|
/* Range input styling */
|
|
input[type="range"] {
|
|
@apply bg-slate-200 dark:bg-gray-700 rounded-lg appearance-none cursor-pointer;
|
|
}
|
|
|
|
input[type="range"]::-webkit-slider-thumb {
|
|
@apply appearance-none w-4 h-4 rounded-full bg-brand-500 cursor-pointer;
|
|
}
|
|
|
|
input[type="range"]::-moz-range-thumb {
|
|
@apply w-4 h-4 rounded-full bg-brand-500 cursor-pointer border-0;
|
|
}
|