Ashamed is a shadcn/ui theme built around a muted light orange primary color (#d8c4bb) with muted light yellow accents (#d8d3bb). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the muted light orange primary (#d8c4bb) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #000000black |
| Foreground | #000000black | #fbfaf9snow |
| Card | #fcf6f3floralwhite | #030303black |
| Card foreground | #000000black | #fdfcfcsnow |
| Popover | #fcf6f3floralwhite | #030303black |
| Popover foreground | #000000black | #fdfcfcsnow |
| Primary | #d8c4bbsilver | #d8c4bbsilver |
| Primary foreground | #3e2c23darkslategray | #3e2c23darkslategray |
| Secondary | #d8bbc0thistle | #d8bbc0thistle |
| Secondary foreground | #3e2328darkslategray | #3e2328darkslategray |
| Muted | #e6cbd0thistle | #34191eblack |
| Muted foreground | #444041darkslategray | #bfbbbbsilver |
| Accent | #d8d3bblightgrey | #d8d3bblightgrey |
| Accent foreground | #3e3923darkslategray | #3e3923darkslategray |
| Destructive | #cf0c02firebrick | #fd190dred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d8c4bbsilver | #d8c4bbsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.03:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 6.74:1 | AA |
| Accent | 7.66:1 | AAA |
| Destructive | 5.66:1 | AA |
| Text on background | 20.14:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.89:1 | AAA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 8.48:1 | AAA |
| Accent | 7.66:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Ashamed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.984 0.005 46.794);
--foreground: oklch(0 0 0);
--muted: oklch(0.867 0.031 5.238);
--muted-foreground: oklch(0.377 0.006 4.701);
--popover: oklch(0.976 0.008 46.762);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.976 0.008 46.762);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.835 0.026 46.532);
--primary-foreground: oklch(0.31 0.03 45.958);
--secondary: oklch(0.818 0.034 5.388);
--secondary-foreground: oklch(0.293 0.041 7.949);
--accent: oklch(0.864 0.032 96.597);
--accent-foreground: oklch(0.342 0.035 97.042);
--destructive: oklch(0.54 0.217 29.66);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.835 0.026 46.532);
--chart-1: oklch(0.835 0.026 46.532);
--chart-2: oklch(0.818 0.034 5.388);
--chart-3: oklch(0.864 0.032 96.597);
--chart-4: oklch(0.845 0.029 5.197);
--chart-5: oklch(0.834 0.029 46.5);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.002 46.836);
--muted: oklch(0.252 0.043 8.89);
--muted-foreground: oklch(0.795 0.005 4.465);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.992 0.001 46.847);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.992 0.001 46.847);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.835 0.026 46.532);
--primary-foreground: oklch(0.31 0.03 45.958);
--secondary: oklch(0.818 0.034 5.388);
--secondary-foreground: oklch(0.293 0.041 7.949);
--accent: oklch(0.864 0.032 96.597);
--accent-foreground: oklch(0.342 0.035 97.042);
--destructive: oklch(0.629 0.25 29.493);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.835 0.026 46.532);
--chart-1: oklch(0.835 0.026 46.532);
--chart-2: oklch(0.818 0.034 5.388);
--chart-3: oklch(0.864 0.032 96.597);
--chart-4: oklch(0.845 0.029 5.197);
--chart-5: oklch(0.834 0.029 46.5);
}