metis-desk/packages/shadcn-ui/src/styles/globals.css

286 lines
8.3 KiB
CSS
Raw Normal View History

@import "tailwindcss";
@import "tw-animate-css";
@import "shadcn/tailwind.css";
@custom-variant dark (&:is(.dark *));
:root {
2026-10-09 18:30:51 +00:00
--background: oklch(0.9911 0 0);
--foreground: oklch(0.1763 0.0140 258.3572);
2026-10-10 12:10:02 +00:00
2026-10-09 16:35:21 +00:00
--card: oklch(1.0000 0 0);
2026-10-09 18:30:51 +00:00
--card-foreground: oklch(0.1763 0.0140 258.3572);
2026-10-10 12:10:02 +00:00
2026-10-09 16:35:21 +00:00
--popover: oklch(1.0000 0 0);
2026-10-09 18:30:51 +00:00
--popover-foreground: oklch(0.1763 0.0140 258.3572);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--primary: oklch(0.5882 0.2309 28.2936);
--primary-foreground: oklch(1.0000 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--secondary: oklch(0.3303 0.0753 267.1046);
--secondary-foreground: oklch(1.0000 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--muted: oklch(0.9674 0.0013 286.3752);
--muted-foreground: oklch(0.5517 0.0138 285.9385);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--accent: oklch(0.8342 0.0950 7.8239);
--accent-foreground: oklch(0.3155 0.1064 18.1157);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--destructive: oklch(0.3999 0.1641 29.2339);
2026-10-09 16:35:21 +00:00
--destructive-foreground: oklch(1.0000 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--border: oklch(0.9197 0.0040 286.3202);
--input: oklch(0.9197 0.0040 286.3202);
--ring: oklch(0.5882 0.2309 28.2936);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--chart-1: oklch(0.5882 0.2309 28.2936);
--chart-2: oklch(0.3303 0.0753 267.1046);
--chart-3: oklch(0.8342 0.0950 7.8239);
--chart-4: oklch(0.8948 0.0509 64.2066);
--chart-5: oklch(0.7118 0.0129 286.0665);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--sidebar: oklch(1.0000 0 0);
--sidebar-foreground: oklch(0.3703 0.0119 285.8054);
--sidebar-primary: oklch(0.5882 0.2309 28.2936);
--sidebar-primary-foreground: oklch(1.0000 0 0);
--sidebar-accent: oklch(0.9674 0.0013 286.3752);
--sidebar-accent-foreground: oklch(0.1763 0.0140 258.3572);
--sidebar-border: oklch(0.9674 0.0013 286.3752);
--sidebar-ring: oklch(0.5882 0.2309 28.2936);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--font-sans: 'Inter', sans-serif;
--font-serif: 'Georgia', serif;
--font-mono: 'JetBrains Mono', monospace;
2026-10-10 12:10:02 +00:00
2026-10-09 16:35:21 +00:00
--shadow-x: 0px;
--shadow-y: 4px;
--shadow-blur: 10px;
2026-10-09 18:30:51 +00:00
--shadow-spread: -2px;
--shadow-opacity: 0.1;
--shadow-color: 0 0% 0%;
--shadow-2xs: 0px 4px 10px -2px hsl(0 0% 0% / 0.05);
--shadow-xs: 0px 4px 10px -2px hsl(0 0% 0% / 0.05);
--shadow-sm: 0px 4px 10px -2px hsl(0 0% 0% / 0.10), 0px 1px 2px -3px hsl(0 0% 0% / 0.10);
--shadow: 0px 4px 10px -2px hsl(0 0% 0% / 0.10), 0px 1px 2px -3px hsl(0 0% 0% / 0.10);
--shadow-md: 0px 4px 10px -2px hsl(0 0% 0% / 0.10), 0px 2px 4px -3px hsl(0 0% 0% / 0.10);
--shadow-lg: 0px 4px 10px -2px hsl(0 0% 0% / 0.10), 0px 4px 6px -3px hsl(0 0% 0% / 0.10);
--shadow-xl: 0px 4px 10px -2px hsl(0 0% 0% / 0.10), 0px 8px 10px -3px hsl(0 0% 0% / 0.10);
--shadow-2xl: 0px 4px 10px -2px hsl(0 0% 0% / 0.25);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--tracking-normal: -0.02em;
2026-10-10 12:10:02 +00:00
--radius: 0.5rem;
2026-10-09 16:35:21 +00:00
--spacing: 0.25rem;
2026-10-10 12:10:02 +00:00
}
.dark {
2026-10-09 18:30:51 +00:00
--background: oklch(0.1645 0.0086 274.3354);
--foreground: oklch(0.9911 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--card: oklch(0.2145 0.0184 270.4182);
--card-foreground: oklch(0.9911 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--popover: oklch(0.2145 0.0184 270.4182);
--popover-foreground: oklch(0.9911 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--primary: oklch(0.6453 0.2404 27.3106);
2026-10-09 16:35:21 +00:00
--primary-foreground: oklch(1.0000 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--secondary: oklch(0.2604 0.0471 267.4902);
--secondary-foreground: oklch(1.0000 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--muted: oklch(0.2739 0.0055 286.0326);
--muted-foreground: oklch(0.7118 0.0129 286.0665);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--accent: oklch(0.6986 0.1954 14.1660);
--accent-foreground: oklch(1.0000 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--destructive: oklch(0.3958 0.1331 25.7230);
--destructive-foreground: oklch(1.0000 0 0);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--border: oklch(0.2739 0.0055 286.0326);
--input: oklch(0.2739 0.0055 286.0326);
--ring: oklch(0.6453 0.2404 27.3106);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--chart-1: oklch(0.6453 0.2404 27.3106);
--chart-2: oklch(0.3986 0.0946 266.8132);
--chart-3: oklch(0.7570 0.1485 11.9623);
--chart-4: oklch(0.7824 0.0829 60.0948);
--chart-5: oklch(0.4419 0.0146 285.7864);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--sidebar: oklch(0.1645 0.0086 274.3354);
--sidebar-foreground: oklch(0.7118 0.0129 286.0665);
--sidebar-primary: oklch(0.6453 0.2404 27.3106);
2026-10-09 16:35:21 +00:00
--sidebar-primary-foreground: oklch(1.0000 0 0);
2026-10-09 18:30:51 +00:00
--sidebar-accent: oklch(0.2145 0.0184 270.4182);
--sidebar-accent-foreground: oklch(0.9911 0 0);
--sidebar-border: oklch(0.2739 0.0055 286.0326);
--sidebar-ring: oklch(0.6453 0.2404 27.3106);
2026-10-10 12:10:02 +00:00
2026-10-09 18:30:51 +00:00
--font-sans: 'Inter', sans-serif;
--font-serif: 'Georgia', serif;
--font-mono: 'JetBrains Mono', monospace;
2026-10-10 12:10:02 +00:00
2026-10-09 16:35:21 +00:00
--shadow-x: 0px;
2026-10-09 18:30:51 +00:00
--shadow-y: 8px;
--shadow-blur: 15px;
--shadow-spread: -3px;
--shadow-opacity: 0.4;
--shadow-color: 0 0% 0%;
--shadow-2xs: 0px 8px 15px -3px hsl(0 0% 0% / 0.20);
--shadow-xs: 0px 8px 15px -3px hsl(0 0% 0% / 0.20);
--shadow-sm: 0px 8px 15px -3px hsl(0 0% 0% / 0.40), 0px 1px 2px -4px hsl(0 0% 0% / 0.40);
--shadow: 0px 8px 15px -3px hsl(0 0% 0% / 0.40), 0px 1px 2px -4px hsl(0 0% 0% / 0.40);
--shadow-md: 0px 8px 15px -3px hsl(0 0% 0% / 0.40), 0px 2px 4px -4px hsl(0 0% 0% / 0.40);
--shadow-lg: 0px 8px 15px -3px hsl(0 0% 0% / 0.40), 0px 4px 6px -4px hsl(0 0% 0% / 0.40);
--shadow-xl: 0px 8px 15px -3px hsl(0 0% 0% / 0.40), 0px 8px 10px -4px hsl(0 0% 0% / 0.40);
--shadow-2xl: 0px 8px 15px -3px hsl(0 0% 0% / 1.00);
}
2026-10-10 12:10:02 +00:00
@theme {
--spacing: 4px;
--spacing-sidebar-width: 280px;
--spacing-header-height: 74px;
--spacing-topbar-height: 60px;
--spacing-sidebar-collapsed-width: 110px;
--spacing-sidebar-collapsed-active-width: 300px;
--spacing-sidebar-tab-width: 75px;
--spacing-sidebar-tab-navbar-width: 320px;
--text-base: 0.875rem;
}
@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);
2026-10-09 16:35:21 +00:00
--color-destructive-foreground: var(--destructive-foreground);
--color-border: var(--border);
--color-input: var(--input);
--color-ring: var(--ring);
2026-10-09 16:35:21 +00:00
--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);
--font-sans: var(--font-sans);
--font-mono: var(--font-mono);
--font-serif: var(--font-serif);
2026-10-10 12:10:02 +00:00
/* Radius */
--radius-sm: calc(var(--radius) - 4px);
--radius-md: calc(var(--radius) - 2px);
--radius-lg: var(--radius);
--radius-xl: calc(var(--radius) + 4px);
2026-10-10 12:10:02 +00:00
--radius-2xl: calc(var(--radius) + 8px);
--radius-3xl: calc(var(--radius) + 12px);
--radius-4xl: calc(var(--radius) + 16px);
2026-10-09 16:35:21 +00:00
--shadow-2xs: var(--shadow-2xs);
--shadow-xs: var(--shadow-xs);
--shadow-sm: var(--shadow-sm);
--shadow: var(--shadow);
--shadow-md: var(--shadow-md);
--shadow-lg: var(--shadow-lg);
--shadow-xl: var(--shadow-xl);
--shadow-2xl: var(--shadow-2xl);
2026-10-09 18:30:51 +00:00
--tracking-tighter: calc(var(--tracking-normal) - 0.05em);
--tracking-tight: calc(var(--tracking-normal) - 0.025em);
--tracking-normal: var(--tracking-normal);
--tracking-wide: calc(var(--tracking-normal) + 0.025em);
--tracking-wider: calc(var(--tracking-normal) + 0.05em);
--tracking-widest: calc(var(--tracking-normal) + 0.1em);
}
@layer base {
* {
@apply border-border outline-ring/50;
}
body {
@apply bg-background text-foreground;
2026-10-09 18:30:51 +00:00
letter-spacing: var(--tracking-normal);
}
button:not(:disabled), [role="button"]:not(:disabled) {
cursor: pointer;
}
2026-10-10 12:10:02 +00:00
html {
@apply font-sans;
}
h1,
.h1 {
font-size: 38px;
font-weight: 700;
}
h2,
.h2 {
font-size: 30px;
font-weight: 700;
}
h3,
.h3 {
font-size: 24px;
font-weight: 600;
}
h4,
.h4 {
font-size: 20px;
font-weight: 600;
}
h5,
.h5 {
font-size: 16px;
font-weight: 600;
}
h6,
.h6 {
font-size: 14px;
font-weight: 600;
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
@apply text-mist-800 dark:text-mist-100;
}
2026-10-09 18:30:51 +00:00
}