Failing is a shadcn/ui theme built around an orange primary color (#a07b4b) with blue accents (#4b70a0). The light mode uses a neutral background (#ffffff). Dark mode keeps the orange primary (#a07b4b) on a neutral background (#040301).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040301black |
| Foreground | #090601black | #fdfdfcwhite |
| Card | #fcfcfcsnow | #070503black |
| Card foreground | #040301black | #ffffffwhite |
| Popover | #fcfcfcsnow | #070503black |
| Popover foreground | #040301black | #ffffffwhite |
| Primary | #a07b4bperu | #a07b4bperu |
| Primary foreground | #000000black | #000000black |
| Secondary | #4b70a0steelblue | #4b70a0steelblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #d7dbdfgainsboro | #202328darkslategray |
| Muted foreground | #596473dimgray | #8c97a6lightslategray |
| Accent | #4b70a0steelblue | #4b70a0steelblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #a73111firebrick | #ec623ctomato |
| Destructive foreground | #fdf0ecseashell | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a07b4bperu | #a07b4bperu |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.22:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 5.41:1 | AA |
| Secondary button | 5.11:1 | AA |
| Muted text | 4.31:1 | AA Large |
| Accent | 5.11:1 | AA |
| Destructive | 6.09:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.30:1 | AAA |
| Primary button | 5.41:1 | AA |
| Secondary button | 5.11:1 | AA |
| Muted text | 5.31:1 | AA |
| Accent | 5.11:1 | AA |
| Destructive | 6.37:1 | AA |
Paste this into your globals.css to use Failing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.122 0.018 84.462);
--muted: oklch(0.889 0.007 254.997);
--muted-foreground: oklch(0.5 0.028 255.186);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.097 0.014 84.462);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.097 0.014 84.462);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.608 0.079 72.85);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.538 0.086 255.53);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.538 0.086 255.53);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.489 0.159 35.164);
--destructive-foreground: oklch(0.965 0.015 35.967);
--ring: oklch(0.608 0.079 72.85);
--chart-1: oklch(0.608 0.079 72.85);
--chart-2: oklch(0.538 0.086 255.53);
--chart-3: oklch(0.538 0.086 255.53);
--chart-4: oklch(0.562 0.091 255.535);
--chart-5: oklch(0.612 0.085 72.525);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.008 80.463);
--foreground: oklch(0.993 0.001 74.948);
--muted: oklch(0.255 0.01 255.127);
--muted-foreground: oklch(0.673 0.026 255.128);
--popover: oklch(0.12 0.01 80.463);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.12 0.01 80.463);
--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.608 0.079 72.85);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.538 0.086 255.53);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.538 0.086 255.53);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.665 0.179 36.22);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.608 0.079 72.85);
--chart-1: oklch(0.608 0.079 72.85);
--chart-2: oklch(0.538 0.086 255.53);
--chart-3: oklch(0.538 0.086 255.53);
--chart-4: oklch(0.562 0.091 255.535);
--chart-5: oklch(0.612 0.085 72.525);
}