@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root,
.light {
--bg: 0.930 0.004 80;
--surface: 0.990 0.002 80;
--raised: 0.955 0.005 80;
--hairline: 0.870 0.010 80;
--fg: 0.18 0.006 280;
--fg-dim: 0.50 0.012 270;
--wine: 0.47 0.16 8;
--wine-bright: 0.42 0.17 8;
--wine-deep: 0.30 0.11 8;
--cyan: 0.45 0.10 215;
--amber: 0.52 0.12 85;
--live: 0.51 0.13 145;
--earn: 0.62 0.10 140;
--spend: 0.52 0.012 270;
--warn: 0.52 0.12 85;
--on-wine: 0.98 0.004 60;
--shadow-overlay: 0 12px 28px -14px oklch(0.20 0.02 30 / 0.16);
color-scheme: light;
}
.dark {
--bg: 0.135 0.010 18;
--surface: 0.175 0.012 18;
--raised: 0.225 0.014 18;
--hairline: 0.30 0.016 18;
--fg: 0.97 0.004 18;
--fg-dim: 0.70 0.014 18;
--wine: 0.58 0.20 12;
--wine-bright: 0.74 0.16 14;
--wine-deep: 0.50 0.19 12;
--cyan: 0.74 0.09 215;
--amber: 0.82 0.12 80;
--live: 0.76 0.15 150;
--earn: 0.76 0.15 150;
--spend: 0.70 0.014 18;
--warn: 0.82 0.12 80;
--on-wine: 0.98 0.005 18;
--shadow-overlay: 0 12px 32px oklch(0.05 0.01 18 / 0.6);
color-scheme: dark;
}
html,
body,
#root {
height: 100%;
}
body {
@apply font-sans antialiased;
margin: 0;
background-color: oklch(var(--bg));
color: oklch(var(--fg));
font-feature-settings: "kern";
font-size: 13px;
-webkit-user-select: none;
user-select: none;
cursor: default;
}
h1,
h2,
h3 {
text-wrap: balance;
}
::selection {
background: oklch(var(--wine) / 0.35);
}
:where(a, button, [role="button"], select, summary, [tabindex]):focus-visible {
outline: 2px solid oklch(var(--wine-bright));
outline-offset: 2px;
border-radius: 3px;
}
.tnum {
font-variant-numeric: tabular-nums;
}
}