Files
livedash-node/app/globals.css

140 lines
3.8 KiB
CSS

@import "tailwindcss";
@import "tw-animate-css";
@custom-variant dark (&:is(.dark *));
@theme inline {
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
--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-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);
--color-sidebar: var(--sidebar);
--color-sidebar-foreground: var(--sidebar-foreground);
--color-sidebar-primary: var(--sidebar-primary);
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
--color-sidebar-accent: var(--sidebar-accent);
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
--color-sidebar-border: var(--sidebar-border);
--color-sidebar-ring: var(--sidebar-ring);
}
:root {
--radius: 0.625rem;
--background: 255 255 255;
--foreground: 15 23 42;
--card: 255 255 255;
--card-foreground: 15 23 42;
--popover: 255 255 255;
--popover-foreground: 15 23 42;
--primary: 0 123 255;
--primary-foreground: 255 255 255;
--secondary: 245 245 245;
--secondary-foreground: 51 51 51;
--muted: 248 250 252;
--muted-foreground: 100 116 139;
--accent: 245 245 245;
--accent-foreground: 51 51 51;
--destructive: 239 68 68;
--border: 229 231 235;
--input: 229 231 235;
--ring: 0 123 255;
--chart-1: 0 123 255;
--chart-2: 255 20 147;
--chart-3: 50 205 50;
--chart-4: 138 43 226;
--chart-5: 255 215 0;
--sidebar: 248 250 252;
--sidebar-foreground: 15 23 42;
--sidebar-primary: 0 123 255;
--sidebar-primary-foreground: 255 255 255;
--sidebar-accent: 245 245 245;
--sidebar-accent-foreground: 51 51 51;
--sidebar-border: 229 231 235;
--sidebar-ring: 0 123 255;
}
.dark {
--background: 15 23 42;
--foreground: 248 250 252;
--card: 30 41 59;
--card-foreground: 248 250 252;
--popover: 30 41 59;
--popover-foreground: 248 250 252;
--primary: 59 130 246;
--primary-foreground: 15 23 42;
--secondary: 51 65 85;
--secondary-foreground: 248 250 252;
--muted: 51 65 85;
--muted-foreground: 148 163 184;
--accent: 51 65 85;
--accent-foreground: 248 250 252;
--destructive: 248 113 113;
--border: 51 65 85;
--input: 51 65 85;
--ring: 59 130 246;
--chart-1: 59 130 246;
--chart-2: 236 72 153;
--chart-3: 34 197 94;
--chart-4: 147 51 234;
--chart-5: 251 191 36;
--sidebar: 30 41 59;
--sidebar-foreground: 248 250 252;
--sidebar-primary: 59 130 246;
--sidebar-primary-foreground: 248 250 252;
--sidebar-accent: 51 65 85;
--sidebar-accent-foreground: 248 250 252;
--sidebar-border: 51 65 85;
--sidebar-ring: 59 130 246;
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-gray-50 text-gray-900;
}
/* Apple-style scrollbars */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(0, 0, 0, 0.3);
}
}