Experienced is a shadcn/ui theme built around a neutral gray primary color (#c3bdbb) with neutral gray accents (#c3c1bb). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#c3bdbb) on a neutral background (#070403).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070403black |
| Foreground | #140906black | #fcf9f8snow |
| Card | #fcfcfcsnow | #0b0604black |
| Card foreground | #100705black | #fdfcfbsnow |
| Popover | #ffffffwhite | #070403black |
| Popover foreground | #140906black | #fcf9f8snow |
| Primary | #c3bdbbsilver | #c3bdbbsilver |
| Primary foreground | #292524darkslategray | #292524darkslategray |
| Secondary | #c3bbbdsilver | #c3bbbdsilver |
| Secondary foreground | #292425darkslategray | #292425darkslategray |
| Muted | #f7edf0whitesmoke | #12080ablack |
| Muted foreground | #5e5e5edimgray | #a1a1a1darkgray |
| Accent | #c3c1bbsilver | #c3c1bbsilver |
| Accent foreground | #292724darkslategray | #292724darkslategray |
| Destructive | #ab3c0dsaddlebrown | #f06c33tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c3bdbbsilver | #c3bdbbsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.59:1 | AAA |
| Text on card | 19.48:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 5.66:1 | AA |
| Accent | 8.28:1 | AAA |
| Destructive | 6.20:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 8.19:1 | AAA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 7.64:1 | AAA |
| Accent | 8.28:1 | AAA |
| Destructive | 6.87:1 | AA |
Paste this into your globals.css to use Experienced in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.155 0.02 42.332);
--muted: oklch(0.955 0.011 0.204);
--muted-foreground: oklch(0.483 0 180);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.155 0.02 42.332);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.142 0.017 44.542);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.804 0.007 39.452);
--primary-foreground: oklch(0.268 0.006 39.388);
--secondary: oklch(0.8 0.009 0.182);
--secondary-foreground: oklch(0.266 0.007 0.617);
--accent: oklch(0.811 0.008 91.496);
--accent-foreground: oklch(0.274 0.006 91.599);
--destructive: oklch(0.509 0.154 39.475);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.804 0.007 39.452);
--chart-1: oklch(0.804 0.007 39.452);
--chart-2: oklch(0.8 0.009 0.182);
--chart-3: oklch(0.811 0.008 91.496);
--chart-4: oklch(0.825 0.008 0.134);
--chart-5: oklch(0.803 0.011 39.427);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.113 0.01 44.851);
--foreground: oklch(0.984 0.003 39.484);
--muted: oklch(0.149 0.019 2.536);
--muted-foreground: oklch(0.708 0 158.199);
--popover: oklch(0.113 0.01 44.851);
--popover-foreground: oklch(0.984 0.003 39.484);
--card: oklch(0.129 0.012 44.765);
--card-foreground: oklch(0.992 0.002 39.496);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.804 0.007 39.452);
--primary-foreground: oklch(0.268 0.006 39.388);
--secondary: oklch(0.8 0.009 0.182);
--secondary-foreground: oklch(0.266 0.007 0.617);
--accent: oklch(0.811 0.008 91.496);
--accent-foreground: oklch(0.274 0.006 91.599);
--destructive: oklch(0.683 0.177 41.712);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.804 0.007 39.452);
--chart-1: oklch(0.804 0.007 39.452);
--chart-2: oklch(0.8 0.009 0.182);
--chart-3: oklch(0.811 0.008 91.496);
--chart-4: oklch(0.825 0.008 0.134);
--chart-5: oklch(0.803 0.011 39.427);
}