Failing is a shadcn/ui theme built around a muted blue primary color (#98aab9) with muted light blue accents (#cdd1d5). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the muted blue primary (#98aab9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfewhite | #000000black |
| Foreground | #030e17black | #fcfcfdwhite |
| Card | #fbfdfewhite | #000000black |
| Card foreground | #030e17black | #fcfcfdwhite |
| Popover | #fbfdfewhite | #000000black |
| Popover foreground | #030e17black | #fcfcfdwhite |
| Primary | #98aab9darkgray | #98aab9darkgray |
| Primary foreground | #0c1012black | #0c1012black |
| Secondary | #e0e0e1gainsboro | #191a1ablack |
| Secondary foreground | #464849darkslategray | #b1b3b4darkgray |
| Muted | #dde4e9gainsboro | #161d22black |
| Muted foreground | #444b50darkslategray | #afb6bbsilver |
| Accent | #cdd1d5lightgrey | #25292cdarkslategray |
| Accent foreground | #34393ddarkslategray | #bcc2c7silver |
| Destructive | #9c200dfirebrick | #ec3418orangered |
| Destructive foreground | #fce2demistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #98aab9darkgray | #98aab9darkgray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.02:1 | AAA |
| Text on card | 19.02:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 6.98:1 | AA |
| Muted text | 6.88:1 | AA |
| Accent | 7.63:1 | AAA |
| Destructive | 6.52:1 | AA |
| Text on background | 20.48:1 | AAA |
| Text on card | 20.48:1 | AAA |
| Primary button | 7.98:1 | AAA |
| Secondary button | 8.31:1 | AAA |
| Muted text | 8.31:1 | AAA |
| Accent | 8.13:1 | AAA |
| Destructive | 4.13:1 | AA Large |
Paste this into your globals.css to use Failing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.003 242.233);
--foreground: oklch(0.156 0.027 240.342);
--muted: oklch(0.914 0.01 242.332);
--muted-foreground: oklch(0.407 0.012 242.596);
--popover: oklch(0.992 0.003 242.233);
--popover-foreground: oklch(0.156 0.027 240.342);
--card: oklch(0.992 0.003 242.233);
--card-foreground: oklch(0.156 0.027 240.342);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.729 0.03 242.739);
--primary-foreground: oklch(0.169 0.008 242.794);
--secondary: oklch(0.908 0.001 242.209);
--secondary-foreground: oklch(0.399 0.003 242.293);
--accent: oklch(0.86 0.006 242.291);
--accent-foreground: oklch(0.34 0.01 242.577);
--destructive: oklch(0.451 0.162 31.568);
--destructive-foreground: oklch(0.933 0.03 28.125);
--ring: oklch(0.729 0.03 242.739);
--chart-1: oklch(0.729 0.03 242.739);
--chart-2: oklch(0.908 0.001 242.209);
--chart-3: oklch(0.86 0.006 242.291);
--chart-4: oklch(0.931 0.001 242.205);
--chart-5: oklch(0.728 0.034 242.829);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 242.2);
--muted: oklch(0.225 0.013 243.015);
--muted-foreground: oklch(0.772 0.011 242.374);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.992 0.001 242.2);
--card: oklch(0 0 0);
--card-foreground: oklch(0.992 0.001 242.2);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.729 0.03 242.739);
--primary-foreground: oklch(0.169 0.008 242.794);
--secondary: oklch(0.215 0.001 242.27);
--secondary-foreground: oklch(0.765 0.003 242.241);
--accent: oklch(0.279 0.008 242.595);
--accent-foreground: oklch(0.812 0.01 242.351);
--destructive: oklch(0.615 0.222 31.544);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.729 0.03 242.739);
--chart-1: oklch(0.729 0.03 242.739);
--chart-2: oklch(0.215 0.001 242.27);
--chart-3: oklch(0.279 0.008 242.595);
--chart-4: oklch(0.248 0.002 242.277);
--chart-5: oklch(0.728 0.034 242.829);
}