Suffocation is a shadcn/ui theme built around a deep yellow primary color (#7c6513) with deep blue accents (#13297c). The light mode uses a neutral background (#fdfdfc). Dark mode keeps the deep yellow primary (#7c6513) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfdfcwhite | #000000black |
| Foreground | #110e03black | #fdfdfcwhite |
| Card | #fcfbf8snow | #030303black |
| Card foreground | #0d0b02black | #ffffffwhite |
| Popover | #fdfdfcwhite | #000000black |
| Popover foreground | #110e03black | #fdfdfcwhite |
| Primary | #7c6513olive | #7c6513olive |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #13297cmidnightblue | #13297cmidnightblue |
| Secondary foreground | #cad4f7powderblue | #cad4f7powderblue |
| Muted | #e0e1e6gainsboro | #191a1fblack |
| Muted foreground | #505258darkslategray | #a7a8afdarkgray |
| Accent | #13297cmidnightblue | #13297cmidnightblue |
| Accent foreground | #cad4f7powderblue | #cad4f7powderblue |
| Destructive | #710605maroon | #f51d19red |
| Destructive foreground | #fcadaclightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7c6513olive | #7c6513olive |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.96:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 5.60:1 | AA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 5.97:1 | AA |
| Accent | 8.68:1 | AAA |
| Destructive | 6.78:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 5.60:1 | AA |
| Secondary button | 8.68:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 8.68:1 | AAA |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Suffocation in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 93.884);
--foreground: oklch(0.165 0.025 96.689);
--muted: oklch(0.91 0.007 273.774);
--muted-foreground: oklch(0.438 0.011 273.567);
--popover: oklch(0.994 0.002 93.884);
--popover-foreground: oklch(0.165 0.025 96.689);
--card: oklch(0.987 0.004 93.904);
--card-foreground: oklch(0.147 0.022 98.279);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.516 0.099 92.005);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.327 0.143 266.17);
--secondary-foreground: oklch(0.872 0.05 273.131);
--accent: oklch(0.327 0.143 266.17);
--accent-foreground: oklch(0.872 0.05 273.131);
--destructive: oklch(0.348 0.137 28.893);
--destructive-foreground: oklch(0.823 0.093 20.333);
--ring: oklch(0.516 0.099 92.005);
--chart-1: oklch(0.516 0.099 92.005);
--chart-2: oklch(0.327 0.143 266.17);
--chart-3: oklch(0.327 0.143 266.17);
--chart-4: oklch(0.35 0.155 266.049);
--chart-5: oklch(0.521 0.101 91.722);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 93.887);
--muted: oklch(0.219 0.011 273.264);
--muted-foreground: oklch(0.734 0.01 273.713);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 93.887);
--card: oklch(0.092 0 180);
--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.516 0.099 92.005);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.327 0.143 266.17);
--secondary-foreground: oklch(0.872 0.05 273.131);
--accent: oklch(0.327 0.143 266.17);
--accent-foreground: oklch(0.872 0.05 273.131);
--destructive: oklch(0.618 0.242 28.679);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.516 0.099 92.005);
--chart-1: oklch(0.516 0.099 92.005);
--chart-2: oklch(0.327 0.143 266.17);
--chart-3: oklch(0.327 0.143 266.17);
--chart-4: oklch(0.35 0.155 266.049);
--chart-5: oklch(0.521 0.101 91.722);
}