Failing is a shadcn/ui theme built around a vivid light teal primary color (#a9f9f9) with vivid light blue accents (#a9d1f9). The light mode uses a neutral background (#f7fdfd). Dark mode keeps the vivid light teal primary (#a9f9f9) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfdmintcream | #020303black |
| Foreground | #020909black | #f5fafamintcream |
| Card | #f7fdfdmintcream | #020303black |
| Card foreground | #020909black | #f5fafamintcream |
| Popover | #f7fdfdmintcream | #020303black |
| Popover foreground | #020909black | #f5fafamintcream |
| Primary | #a9f9f9paleturquoise | #a9f9f9paleturquoise |
| Primary foreground | #010a0ablack | #010a0ablack |
| Secondary | #a9f9d1paleturquoise | #a9f9d1paleturquoise |
| Secondary foreground | #010a05black | #010a05black |
| Muted | #d4e2dbgainsboro | #1d2b24darkslategray |
| Muted foreground | #394640darkslategray | #b9c6bfsilver |
| Accent | #a9d1f9lightblue | #a9d1f9lightblue |
| Accent foreground | #073869midnightblue | #073869midnightblue |
| Destructive | #85100amaroon | #e41c11red |
| Destructive foreground | #fbc9c6pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a9f9f9paleturquoise | #a9f9f9paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.53:1 | AAA |
| Text on card | 19.53:1 | AAA |
| Primary button | 16.78:1 | AAA |
| Secondary button | 16.39:1 | AAA |
| Muted text | 7.41:1 | AAA |
| Accent | 7.41:1 | AAA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.58:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 16.78:1 | AAA |
| Secondary button | 16.39:1 | AAA |
| Muted text | 8.37:1 | AAA |
| Accent | 7.41:1 | AAA |
| Destructive | 4.70:1 | AA |
Paste this into your globals.css to use Failing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.007 197.047);
--foreground: oklch(0.127 0.016 195.308);
--muted: oklch(0.901 0.018 164.609);
--muted-foreground: oklch(0.381 0.02 163.709);
--popover: oklch(0.99 0.007 197.047);
--popover-foreground: oklch(0.127 0.016 195.308);
--card: oklch(0.99 0.007 197.047);
--card-foreground: oklch(0.127 0.016 195.308);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.931 0.078 195.896);
--primary-foreground: oklch(0.13 0.02 194.971);
--secondary: oklch(0.92 0.096 162.008);
--secondary-foreground: oklch(0.128 0.024 165.355);
--accent: oklch(0.846 0.07 248.668);
--accent-foreground: oklch(0.34 0.098 253.313);
--destructive: oklch(0.395 0.151 29.211);
--destructive-foreground: oklch(0.878 0.057 21.812);
--ring: oklch(0.931 0.078 195.896);
--chart-1: oklch(0.931 0.078 195.896);
--chart-2: oklch(0.92 0.096 162.008);
--chart-3: oklch(0.846 0.07 248.668);
--chart-4: oklch(0.932 0.081 162.617);
--chart-5: oklch(0.934 0.08 195.865);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.006 196.179);
--foreground: oklch(0.981 0.005 197.072);
--muted: oklch(0.273 0.024 162.628);
--muted-foreground: oklch(0.814 0.017 164.601);
--popover: oklch(0.096 0.006 196.179);
--popover-foreground: oklch(0.981 0.005 197.072);
--card: oklch(0.096 0.006 196.179);
--card-foreground: oklch(0.981 0.005 197.072);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.931 0.078 195.896);
--primary-foreground: oklch(0.13 0.02 194.971);
--secondary: oklch(0.92 0.096 162.008);
--secondary-foreground: oklch(0.128 0.024 165.355);
--accent: oklch(0.846 0.07 248.668);
--accent-foreground: oklch(0.34 0.098 253.313);
--destructive: oklch(0.585 0.228 29.409);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.078 195.896);
--chart-1: oklch(0.931 0.078 195.896);
--chart-2: oklch(0.92 0.096 162.008);
--chart-3: oklch(0.846 0.07 248.668);
--chart-4: oklch(0.932 0.081 162.617);
--chart-5: oklch(0.934 0.08 195.865);
}