Well-worn is a shadcn/ui theme built around a vivid deep orange primary color (#653b01) with muted light orange accents (#d8ccba). The light mode uses a neutral background (#fdfaf6). Dark mode keeps the vivid deep orange primary (#653b01) on a neutral background (#080602).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfaf6snow | #080602black |
| Foreground | #040301black | #fcfaf8snow |
| Card | #fdfaf6snow | #080602black |
| Card foreground | #040301black | #fcfaf8snow |
| Popover | #fdfaf6snow | #080602black |
| Popover foreground | #040301black | #fcfaf8snow |
| Primary | #653b01saddlebrown | #653b01saddlebrown |
| Primary foreground | #fed49anavajowhite | #fed49anavajowhite |
| Secondary | #e0dad1gainsboro | #312a21darkslategray |
| Secondary foreground | #4d4233darkolivegreen | #cdc4b6silver |
| Muted | #e9e2d8gainsboro | #272016black |
| Muted foreground | #62594bdimgray | #b4aa9ddarkgray |
| Accent | #d8ccbalightgrey | #433828darkslategray |
| Accent foreground | #3e3323darkslategray | #dbd1c2lightgrey |
| Destructive | #7e0801maroon | #fc0f03red |
| Destructive foreground | #feb7b3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #653b01saddlebrown | #653b01saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 7.06:1 | AAA |
| Muted text | 5.35:1 | AA |
| Accent | 7.79:1 | AAA |
| Destructive | 6.56:1 | AA |
| Text on background | 19.48:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 6.90:1 | AA |
| Secondary button | 8.20:1 | AAA |
| Muted text | 7.02:1 | AAA |
| Accent | 7.59:1 | AAA |
| Destructive | 4.01:1 | AA Large |
Paste this into your globals.css to use Well-worn in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 76.622);
--foreground: oklch(0.097 0.014 85.394);
--muted: oklch(0.915 0.016 76.563);
--muted-foreground: oklch(0.468 0.024 76.297);
--popover: oklch(0.988 0.006 76.622);
--popover-foreground: oklch(0.097 0.014 85.394);
--card: oklch(0.988 0.006 76.622);
--card-foreground: oklch(0.097 0.014 85.394);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.395 0.087 66.568);
--primary-foreground: oklch(0.893 0.088 75.577);
--secondary: oklch(0.891 0.014 76.574);
--secondary-foreground: oklch(0.385 0.028 76.029);
--accent: oklch(0.85 0.028 76.463);
--accent-foreground: oklch(0.328 0.031 75.671);
--destructive: oklch(0.377 0.149 29.998);
--destructive-foreground: oklch(0.845 0.083 22.372);
--ring: oklch(0.395 0.087 66.568);
--chart-1: oklch(0.395 0.087 66.568);
--chart-2: oklch(0.891 0.014 76.574);
--chart-3: oklch(0.85 0.028 76.463);
--chart-4: oklch(0.913 0.011 76.593);
--chart-5: oklch(0.398 0.089 66.153);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.121 0.012 83.245);
--foreground: oklch(0.986 0.004 76.636);
--muted: oklch(0.249 0.022 75.804);
--muted-foreground: oklch(0.743 0.021 76.489);
--popover: oklch(0.121 0.012 83.245);
--popover-foreground: oklch(0.986 0.004 76.636);
--card: oklch(0.121 0.012 83.245);
--card-foreground: oklch(0.986 0.004 76.636);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.395 0.087 66.568);
--primary-foreground: oklch(0.893 0.088 75.577);
--secondary: oklch(0.289 0.018 76.154);
--secondary-foreground: oklch(0.824 0.022 76.508);
--accent: oklch(0.347 0.03 75.809);
--accent-foreground: oklch(0.864 0.022 76.511);
--destructive: oklch(0.626 0.253 29.582);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.395 0.087 66.568);
--chart-1: oklch(0.395 0.087 66.568);
--chart-2: oklch(0.289 0.018 76.154);
--chart-3: oklch(0.347 0.03 75.809);
--chart-4: oklch(0.322 0.021 76.123);
--chart-5: oklch(0.398 0.089 66.153);
}