Blue Metrics theme
Blue + Neutral with Cyan charts and small corners. Use the palette on its own and keep your current style, fonts and icons.
Install the palette
The --only theme flag takes just the colors from Blue Metrics and leaves the rest of your project alone:
npx shadcn@latest apply --preset b1s91FZQu --only themeglobals.css
Prefer to paste? Replace your :root and .dark blocks with these.
globals.css
:root {
--background: oklch(1 0 0);
--foreground: oklch(0.145 0 0);
--card: oklch(1 0 0);
--card-foreground: oklch(0.145 0 0);
--popover: oklch(1 0 0);
--popover-foreground: oklch(0.145 0 0);
--primary: oklch(0.488 0.243 264.376);
--primary-foreground: oklch(0.97 0.014 254.604);
--secondary: oklch(0.967 0.001 286.375);
--secondary-foreground: oklch(0.21 0.006 285.885);
--muted: oklch(0.97 0 0);
--muted-foreground: oklch(0.556 0 0);
--accent: oklch(0.488 0.243 264.376);
--accent-foreground: oklch(0.97 0.014 254.604);
--destructive: oklch(0.577 0.245 27.325);
--border: oklch(0.922 0 0);
--input: oklch(0.922 0 0);
--ring: oklch(0.708 0 0);
--sidebar: oklch(0.985 0 0);
--sidebar-foreground: oklch(0.145 0 0);
--sidebar-primary: oklch(0.546 0.245 262.881);
--sidebar-primary-foreground: oklch(0.97 0.014 254.604);
--sidebar-accent: oklch(0.97 0 0);
--sidebar-accent-foreground: oklch(0.205 0 0);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.708 0 0);
--chart-1: oklch(0.865 0.127 207.078);
--chart-2: oklch(0.715 0.143 215.221);
--chart-3: oklch(0.609 0.126 221.723);
--chart-4: oklch(0.52 0.105 223.128);
--chart-5: oklch(0.45 0.085 224.283);
--radius: 0.45rem;
}
.dark {
--background: oklch(0.145 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.424 0.199 265.638);
--primary-foreground: oklch(0.97 0.014 254.604);
--secondary: oklch(0.274 0.006 286.033);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.708 0 0);
--accent: oklch(0.424 0.199 265.638);
--accent-foreground: oklch(0.97 0.014 254.604);
--destructive: oklch(0.704 0.191 22.216);
--border: oklch(1 0 0 / 10%);
--input: oklch(1 0 0 / 15%);
--ring: oklch(0.556 0 0);
--sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.623 0.214 259.815);
--sidebar-primary-foreground: oklch(0.97 0.014 254.604);
--sidebar-accent: oklch(0.269 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(1 0 0 / 10%);
--sidebar-ring: oklch(0.556 0 0);
--chart-1: oklch(0.865 0.127 207.078);
--chart-2: oklch(0.715 0.143 215.221);
--chart-3: oklch(0.609 0.126 221.723);
--chart-4: oklch(0.52 0.105 223.128);
--chart-5: oklch(0.45 0.085 224.283);
}
Color contrast
| Pair | Tokens | Light | Dark |
|---|---|---|---|
| Body text | foreground / background | 19.79 | 18.96 |
| Muted text | muted-foreground / background | 4.73 | 7.63 |
| Card text | card-foreground / card | 19.79 | 17.16 |
| Primary button | primary-foreground / primary | 6.26 | 8.11 |
| Secondary button | secondary-foreground / secondary | 16.11 | 14.26 |
| Accent / hover | accent-foreground / accent | 6.26 | 8.11 |
| Muted surface | muted-foreground / muted | 4.34 | 5.83 |
| Destructive text | destructive / background | 4.91 | 6.89 |