Angina is a shadcn/ui theme built around a deep teal primary color (#1a3b3d) with deep yellow accents (#3b3d1a). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the deep teal primary (#1a3b3d) on a neutral background (#010404).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #010404black |
| Foreground | #030c0dblack | #f9fbfbghostwhite |
| Card | #f8fcfcmintcream | #030707black |
| Card foreground | #020809black | #fcfdfdwhite |
| Popover | #f8fcfcmintcream | #030707black |
| Popover foreground | #020809black | #fcfdfdwhite |
| Primary | #1a3b3ddarkslategray | #1a3b3ddarkslategray |
| Primary foreground | #acd9dclightblue | #acd9dclightblue |
| Secondary | #3d1a3bdarkslategray | #3d1a3bdarkslategray |
| Secondary foreground | #dcacd9plum | #dcacd9plum |
| Muted | #ebdbealavender | #241423black |
| Muted foreground | #5e555ddimgray | #aaa1aadarkgray |
| Accent | #3b3d1adarkolivegreen | #3b3d1adarkolivegreen |
| Accent foreground | #d9dcacpalegoldenrod | #d9dcacpalegoldenrod |
| Destructive | #751c01maroon | #ef3901orangered |
| Destructive foreground | #ffbda9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #1a3b3ddarkslategray | #1a3b3ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.43:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 5.41:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 19.84:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 7.92:1 | AAA |
| Secondary button | 7.78:1 | AAA |
| Muted text | 6.98:1 | AA |
| Accent | 7.90:1 | AAA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Angina in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 202.189);
--foreground: oklch(0.144 0.018 200.135);
--muted: oklch(0.909 0.025 327.813);
--muted-foreground: oklch(0.46 0.017 327.913);
--popover: oklch(0.988 0.005 202.164);
--popover-foreground: oklch(0.125 0.015 199.607);
--card: oklch(0.988 0.005 202.164);
--card-foreground: oklch(0.125 0.015 199.607);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.328 0.039 201.601);
--primary-foreground: oklch(0.855 0.047 201.724);
--secondary: oklch(0.282 0.075 329.89);
--secondary-foreground: oklch(0.803 0.082 328.497);
--accent: oklch(0.349 0.054 112.31);
--accent-foreground: oklch(0.881 0.063 110.786);
--destructive: oklch(0.372 0.128 35.751);
--destructive-foreground: oklch(0.853 0.081 37.611);
--ring: oklch(0.328 0.039 201.601);
--chart-1: oklch(0.328 0.039 201.601);
--chart-2: oklch(0.282 0.075 329.89);
--chart-3: oklch(0.349 0.054 112.31);
--chart-4: oklch(0.312 0.085 329.962);
--chart-5: oklch(0.331 0.041 201.634);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.009 200.223);
--foreground: oklch(0.986 0.002 202.19);
--muted: oklch(0.22 0.035 329.006);
--muted-foreground: oklch(0.72 0.016 327.757);
--popover: oklch(0.123 0.011 200.223);
--popover-foreground: oklch(0.993 0.001 202.202);
--card: oklch(0.123 0.011 200.223);
--card-foreground: oklch(0.993 0.001 202.202);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.328 0.039 201.601);
--primary-foreground: oklch(0.855 0.047 201.724);
--secondary: oklch(0.282 0.075 329.89);
--secondary-foreground: oklch(0.803 0.082 328.497);
--accent: oklch(0.349 0.054 112.31);
--accent-foreground: oklch(0.881 0.063 110.786);
--destructive: oklch(0.621 0.223 33.989);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.328 0.039 201.601);
--chart-1: oklch(0.328 0.039 201.601);
--chart-2: oklch(0.282 0.075 329.89);
--chart-3: oklch(0.349 0.054 112.31);
--chart-4: oklch(0.312 0.085 329.962);
--chart-5: oklch(0.331 0.041 201.634);
}