Amused is a shadcn/ui theme built around a neutral gray primary color (#808e84) with muted light green accents (#d0d8d2). The light mode uses a neutral background (#fbfefc). Dark mode keeps the neutral gray primary (#808e84) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefcwhite | #020302black |
| Foreground | #041509black | #fcfdfcwhite |
| Card | #fbfefcwhite | #020302black |
| Card foreground | #041509black | #fcfdfcwhite |
| Popover | #fbfefcwhite | #020302black |
| Popover foreground | #041509black | #fcfdfcwhite |
| Primary | #808e84gray | #808e84gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #e2e4e3gainsboro | #222523black |
| Secondary foreground | #484c49darkslategray | #b9c0bbsilver |
| Muted | #d2ead9gainsboro | #152d1cblack |
| Muted foreground | #5c665fdimgray | #99a39cdarkgray |
| Accent | #d0d8d2lightgrey | #304035darkslategray |
| Accent foreground | #354039darkslategray | #cbd8cflightgrey |
| Destructive | #c72505firebrick | #fa5838tomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #808e84gray | #808e84gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.50:1 | AAA |
| Text on card | 18.50:1 | AAA |
| Primary button | 6.14:1 | AA |
| Secondary button | 6.82:1 | AA |
| Muted text | 4.68:1 | AA |
| Accent | 7.39:1 | AAA |
| Destructive | 5.67:1 | AA |
| Text on background | 20.22:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.14:1 | AA |
| Secondary button | 8.30:1 | AAA |
| Muted text | 5.64:1 | AA |
| Accent | 7.46:1 | AAA |
| Destructive | 6.52:1 | AA |
Paste this into your globals.css to use Amused in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.004 155.799);
--foreground: oklch(0.177 0.034 152.811);
--muted: oklch(0.915 0.035 155.127);
--muted-foreground: oklch(0.499 0.016 155.246);
--popover: oklch(0.994 0.004 155.799);
--popover-foreground: oklch(0.177 0.034 152.811);
--card: oklch(0.994 0.004 155.799);
--card-foreground: oklch(0.177 0.034 152.811);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.633 0.022 155.181);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.917 0.002 155.819);
--secondary-foreground: oklch(0.412 0.008 155.509);
--accent: oklch(0.873 0.011 155.622);
--accent-foreground: oklch(0.359 0.019 154.831);
--destructive: oklch(0.536 0.199 32.12);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.633 0.022 155.181);
--chart-1: oklch(0.633 0.022 155.181);
--chart-2: oklch(0.917 0.002 155.819);
--chart-3: oklch(0.873 0.011 155.622);
--chart-4: oklch(0.94 0.002 155.833);
--chart-5: oklch(0.638 0.033 154.836);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.096 0.01 155.561);
--foreground: oklch(0.993 0.001 155.846);
--muted: oklch(0.273 0.044 152.169);
--muted-foreground: oklch(0.705 0.015 155.468);
--popover: oklch(0.096 0.01 155.561);
--popover-foreground: oklch(0.993 0.001 155.846);
--card: oklch(0.096 0.01 155.561);
--card-foreground: oklch(0.993 0.001 155.846);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.633 0.022 155.181);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.262 0.007 155.357);
--secondary-foreground: oklch(0.801 0.01 155.636);
--accent: oklch(0.354 0.028 154.267);
--accent-foreground: oklch(0.868 0.018 155.458);
--destructive: oklch(0.674 0.203 33.212);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.633 0.022 155.181);
--chart-1: oklch(0.633 0.022 155.181);
--chart-2: oklch(0.262 0.007 155.357);
--chart-3: oklch(0.354 0.028 154.267);
--chart-4: oklch(0.294 0.008 155.33);
--chart-5: oklch(0.638 0.033 154.836);
}