Willing is a shadcn/ui theme built around a muted light orange primary color (#e9e4e2) with muted light orange accents (#e1d7d0). The light mode uses a neutral background (#fefcfb). Dark mode keeps the muted light orange primary (#e9e4e2) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #000000black |
| Foreground | #140b05black | #fcf9f8snow |
| Card | #fefcfbsnow | #000000black |
| Card foreground | #140b05black | #fcf9f8snow |
| Popover | #fefcfbsnow | #000000black |
| Popover foreground | #140b05black | #fcf9f8snow |
| Primary | #e9e4e2gainsboro | #e9e4e2gainsboro |
| Primary foreground | #584941darkolivegreen | #584941darkolivegreen |
| Secondary | #ebe7e5linen | #2c2825darkslategray |
| Secondary foreground | #5b4c43darkolivegreen | #c7c0bcsilver |
| Muted | #f1efeewhitesmoke | #110f0eblack |
| Muted foreground | #444240darkslategray | #bfbcbbsilver |
| Accent | #e1d7d0gainsboro | #3f332cdarkslategray |
| Accent foreground | #4e3c32darkslategray | #d7ccc6lightgrey |
| Destructive | #a74811saddlebrown | #e36216chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e9e4e2gainsboro | #e9e4e2gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.01:1 | AAA |
| Text on card | 19.01:1 | AAA |
| Primary button | 6.84:1 | AA |
| Secondary button | 6.68:1 | AA |
| Muted text | 8.74:1 | AAA |
| Accent | 7.33:1 | AAA |
| Destructive | 5.87:1 | AA |
| Text on background | 20.04:1 | AAA |
| Text on card | 20.04:1 | AAA |
| Primary button | 6.84:1 | AA |
| Secondary button | 8.13:1 | AAA |
| Muted text | 10.13:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 6.02:1 | AA |
Paste this into your globals.css to use Willing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.992 0.002 52.55);
--foreground: oklch(0.16 0.021 54.647);
--muted: oklch(0.954 0.003 52.539);
--muted-foreground: oklch(0.38 0.004 52.43);
--popover: oklch(0.992 0.002 52.55);
--popover-foreground: oklch(0.16 0.021 54.647);
--card: oklch(0.992 0.002 52.55);
--card-foreground: oklch(0.16 0.021 54.647);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.923 0.007 52.484);
--primary-foreground: oklch(0.419 0.024 51.849);
--secondary: oklch(0.931 0.006 52.495);
--secondary-foreground: oklch(0.429 0.025 51.845);
--accent: oklch(0.884 0.015 52.361);
--accent-foreground: oklch(0.372 0.03 51.54);
--destructive: oklch(0.519 0.14 44.996);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.923 0.007 52.484);
--chart-1: oklch(0.923 0.007 52.484);
--chart-2: oklch(0.931 0.006 52.495);
--chart-3: oklch(0.884 0.015 52.361);
--chart-4: oklch(0.954 0.004 52.525);
--chart-5: oklch(0.923 0.008 52.465);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.003 52.535);
--muted: oklch(0.17 0.004 52.24);
--muted-foreground: oklch(0.797 0.004 52.52);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.985 0.003 52.535);
--card: oklch(0 0 0);
--card-foreground: oklch(0.985 0.003 52.535);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.923 0.007 52.484);
--primary-foreground: oklch(0.419 0.024 51.849);
--secondary: oklch(0.28 0.008 52.185);
--secondary-foreground: oklch(0.813 0.01 52.42);
--accent: oklch(0.332 0.021 51.759);
--accent-foreground: oklch(0.853 0.015 52.343);
--destructive: oklch(0.649 0.179 44.459);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.923 0.007 52.484);
--chart-1: oklch(0.923 0.007 52.484);
--chart-2: oklch(0.28 0.008 52.185);
--chart-3: oklch(0.332 0.021 51.759);
--chart-4: oklch(0.311 0.01 52.169);
--chart-5: oklch(0.923 0.008 52.465);
}