web/src/globals.css
1.7 KB · sha256:103e43d157370f1803d4b9b4ef05f0e9d05068fa862ba7612204da603e1f7fcc
@import "tailwindcss";
@custom-variant dark (&:where(.dark, .dark *));
@theme {
--color-brand-50: #f3efff;
--color-brand-100: #e6dcff;
--color-brand-200: #cdbcff;
--color-brand-300: #b39cff;
--color-brand-400: #9b87f5;
--color-brand-500: #7a5dee;
--color-brand-600: #5b3df5;
--color-brand-700: #4a2fd1;
--color-brand-800: #3a259f;
--color-brand-900: #281866;
--color-surface: var(--surface);
--color-surface-2: var(--surface-2);
--color-surface-3: var(--surface-3);
--color-fg: var(--fg);
--color-fg-muted: var(--fg-muted);
--color-fg-subtle: var(--fg-subtle);
--color-border: var(--border);
--color-border-strong: var(--border-strong);
--font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
}
:root {
--surface: #ffffff;
--surface-2: #f7f5fb;
--surface-3: #efeaf7;
--fg: #11101a;
--fg-muted: #4a4861;
--fg-subtle: #8a8aa3;
--border: #ece8f5;
--border-strong: #d8d2eb;
color-scheme: light;
background: var(--surface-2);
color: var(--fg);
}
.dark {
--surface: #15131e;
--surface-2: #0e0c16;
--surface-3: #1f1c2c;
--fg: #f3f1fb;
--fg-muted: #a09cbb;
--fg-subtle: #6c688a;
--border: #25223a;
--border-strong: #34304f;
color-scheme: dark;
}
html,
body,
#app {
height: 100%;
}
body {
margin: 0;
font-family: var(--font-sans);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-strong);
border-radius: 999px;
border: 2px solid var(--surface-2);
}
::-webkit-scrollbar-thumb:hover {
background: var(--fg-subtle);
}