Sniveling is a shadcn/ui theme built around a vivid deep cyan primary color (#052029) with vivid deep green accents (#202905). The light mode uses a neutral background (#f7fbfd). Dark mode keeps the vivid deep cyan primary (#052029) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fbfdghostwhite | #000000black |
| Foreground | #010709black | #ffffffwhite |
| Card | #f7fbfdghostwhite | #000000black |
| Card foreground | #010709black | #ffffffwhite |
| Popover | #f7fbfdghostwhite | #000000black |
| Popover foreground | #010709black | #ffffffwhite |
| Primary | #052029black | #052029black |
| Primary foreground | #1aaee0dodgerblue | #1aaee0dodgerblue |
| Secondary | #290520black | #290520black |
| Secondary foreground | #ee72cforchid | #ee72cforchid |
| Muted | #f1e4eelavender | #1b0e18black |
| Muted foreground | #646264dimgray | #9d9b9cdarkgray |
| Accent | #202905black | #202905black |
| Accent foreground | #aee01ayellowgreen | #aee01ayellowgreen |
| Destructive | #af4008saddlebrown | #f45f15orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #052029black | #052029black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.50:1 | AAA |
| Text on card | 19.50:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 6.98:1 | AA |
| Muted text | 4.91:1 | AA |
| Accent | 9.75:1 | AAA |
| Destructive | 5.88:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.56:1 | AA |
| Secondary button | 6.98:1 | AA |
| Muted text | 6.78:1 | AA |
| Accent | 9.75:1 | AAA |
| Destructive | 6.51:1 | AA |
Paste this into your globals.css to use Sniveling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.004 219.54);
--foreground: oklch(0.12 0.016 213.478);
--muted: oklch(0.932 0.02 334.23);
--muted-foreground: oklch(0.5 0.003 333.992);
--popover: oklch(0.986 0.004 219.54);
--popover-foreground: oklch(0.12 0.016 213.478);
--card: oklch(0.986 0.004 219.54);
--card-foreground: oklch(0.12 0.016 213.478);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.228 0.037 223.605);
--primary-foreground: oklch(0.703 0.132 227.965);
--secondary: oklch(0.199 0.072 339.489);
--secondary-foreground: oklch(0.727 0.187 337.897);
--accent: oklch(0.264 0.057 122.464);
--accent-foreground: oklch(0.841 0.205 124.405);
--destructive: oklch(0.521 0.156 40.918);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.228 0.037 223.605);
--chart-1: oklch(0.228 0.037 223.605);
--chart-2: oklch(0.199 0.072 339.489);
--chart-3: oklch(0.264 0.057 122.464);
--chart-4: oklch(0.235 0.088 340.132);
--chart-5: oklch(0.229 0.038 223.755);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.029 336.348);
--muted-foreground: oklch(0.69 0.003 333.954);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.228 0.037 223.605);
--primary-foreground: oklch(0.703 0.132 227.965);
--secondary: oklch(0.199 0.072 339.489);
--secondary-foreground: oklch(0.727 0.187 337.897);
--accent: oklch(0.264 0.057 122.464);
--accent-foreground: oklch(0.841 0.205 124.405);
--destructive: oklch(0.671 0.197 41.488);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.228 0.037 223.605);
--chart-1: oklch(0.228 0.037 223.605);
--chart-2: oklch(0.199 0.072 339.489);
--chart-3: oklch(0.264 0.057 122.464);
--chart-4: oklch(0.235 0.088 340.132);
--chart-5: oklch(0.229 0.038 223.755);
}