Spare Vapor is a shadcn/ui theme built around a vivid light teal primary color (#f0ffff) with muted blue accents (#445964). The light mode uses a blue-tinted background (#253137). Dark mode keeps the vivid light teal primary (#f0ffff) on a blue-tinted background (#253137).
| Token | Light | Dark |
|---|---|---|
| Background | #253137darkslategray | #253137darkslategray |
| Foreground | #f0ffffazure | #f0ffffazure |
| Card | #212b31darkslategray | #212b31darkslategray |
| Card foreground | #ffffffwhite | #ffffffwhite |
| Popover | #1f292edarkslategray | #1f292edarkslategray |
| Popover foreground | #ffffffwhite | #ffffffwhite |
| Primary | #f0ffffazure | #f0ffffazure |
| Primary foreground | #005757darkslategray | #005757darkslategray |
| Secondary | #2d5353darkslategray | #2d5353darkslategray |
| Secondary foreground | #cde4e4gainsboro | #cde4e4gainsboro |
| Muted | #313a3fdarkslategray | #313a3fdarkslategray |
| Muted foreground | #afbac0silver | #afbac0silver |
| Accent | #445964darkslategray | #445964darkslategray |
| Accent foreground | #eaeef1lavender | #eaeef1lavender |
| Destructive | #ee261bcrimson | #ee261bcrimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #353c40darkslategray | #353c40darkslategray |
| Input | #3c4448darkslategray | #3c4448darkslategray |
| Ring | #f0ffffazure | #f0ffffazure |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.02:1 | AAA |
| Text on card | 14.38:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.25:1 | AA |
| Destructive | 4.26:1 | AA Large |
| Text on background | 13.02:1 | AAA |
| Text on card | 14.38:1 | AAA |
| Primary button | 8.17:1 | AAA |
| Secondary button | 6.40:1 | AA |
| Muted text | 5.84:1 | AA |
| Accent | 6.25:1 | AA |
| Destructive | 4.26:1 | AA Large |
Paste this into your globals.css to use Spare Vapor in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.304 0.019 229.767);
--foreground: oklch(0.989 0.016 196.897);
--muted: oklch(0.343 0.014 229.374);
--muted-foreground: oklch(0.783 0.015 229.013);
--popover: oklch(0.272 0.016 229.712);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.283 0.017 229.732);
--card-foreground: oklch(1 0 180);
--border: oklch(0.353 0.011 229.207);
--input: oklch(0.382 0.012 229.219);
--primary: oklch(0.989 0.016 196.897);
--primary-foreground: oklch(0.413 0.07 194.769);
--secondary: oklch(0.414 0.044 195.596);
--secondary-foreground: oklch(0.903 0.024 196.729);
--accent: oklch(0.452 0.031 229.918);
--accent-foreground: oklch(0.947 0.006 228.83);
--destructive: oklch(0.609 0.232 29.207);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.989 0.016 196.897);
--chart-1: oklch(0.989 0.016 196.897);
--chart-2: oklch(0.414 0.044 195.596);
--chart-3: oklch(0.452 0.031 229.918);
--chart-4: oklch(0.447 0.048 195.577);
--chart-5: oklch(0.989 0.017 196.89);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.304 0.019 229.767);
--foreground: oklch(0.989 0.016 196.897);
--muted: oklch(0.343 0.014 229.374);
--muted-foreground: oklch(0.783 0.015 229.013);
--popover: oklch(0.272 0.016 229.712);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.283 0.017 229.732);
--card-foreground: oklch(1 0 180);
--border: oklch(0.353 0.011 229.207);
--input: oklch(0.382 0.012 229.219);
--primary: oklch(0.989 0.016 196.897);
--primary-foreground: oklch(0.413 0.07 194.769);
--secondary: oklch(0.414 0.044 195.596);
--secondary-foreground: oklch(0.903 0.024 196.729);
--accent: oklch(0.452 0.031 229.918);
--accent-foreground: oklch(0.947 0.006 228.83);
--destructive: oklch(0.609 0.232 29.207);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.989 0.016 196.897);
--chart-1: oklch(0.989 0.016 196.897);
--chart-2: oklch(0.414 0.044 195.596);
--chart-3: oklch(0.452 0.031 229.918);
--chart-4: oklch(0.447 0.048 195.577);
--chart-5: oklch(0.989 0.017 196.89);
}