Shameful is a shadcn/ui theme built around a light green primary color (#d1e6d5) with muted light green accents (#dae2db). The light mode uses a neutral background (#fbfefb). Dark mode keeps the light green primary (#d1e6d5) on a neutral background (#020803).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefbwhite | #020803black |
| Foreground | #020903black | #f8fbf9mintcream |
| Card | #f6fdf8mintcream | #030c05black |
| Card foreground | #010402black | #fcfdfcwhite |
| Popover | #fbfefbwhite | #020803black |
| Popover foreground | #020903black | #f8fbf9mintcream |
| Primary | #d1e6d5gainsboro | #d1e6d5gainsboro |
| Primary foreground | #2e5636darkslategray | #2e5636darkslategray |
| Secondary | #dae2dbgainsboro | #273028darkslategray |
| Secondary foreground | #3d4d40darkslategray | #becbc0silver |
| Muted | #eff5f0whitesmoke | #0a100bblack |
| Muted foreground | #424342darkslategray | #bcbdbcsilver |
| Accent | #dae2dbgainsboro | #273028darkslategray |
| Accent foreground | #3d4d40darkslategray | #becbc0silver |
| Destructive | #651001maroon | #e42301orangered |
| Destructive foreground | #fea99alightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d1e6d5gainsboro | #d1e6d5gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 6.79:1 | AA |
| Muted text | 9.00:1 | AAA |
| Accent | 6.79:1 | AA |
| Destructive | 6.96:1 | AA |
| Text on background | 19.40:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 6.38:1 | AA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 10.22:1 | AAA |
| Accent | 8.10:1 | AAA |
| Destructive | 4.61:1 | AA |
Paste this into your globals.css to use Shameful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.005 151.927);
--foreground: oklch(0.124 0.024 150.964);
--muted: oklch(0.965 0.009 151.869);
--muted-foreground: oklch(0.381 0.003 151.907);
--popover: oklch(0.994 0.005 151.927);
--popover-foreground: oklch(0.124 0.024 150.964);
--card: oklch(0.988 0.01 151.847);
--card-foreground: oklch(0.098 0.019 150.964);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.904 0.032 151.457);
--primary-foreground: oklch(0.415 0.07 149.069);
--secondary: oklch(0.904 0.012 151.804);
--secondary-foreground: oklch(0.402 0.03 150.811);
--accent: oklch(0.904 0.012 151.804);
--accent-foreground: oklch(0.402 0.03 150.811);
--destructive: oklch(0.33 0.121 32.949);
--destructive-foreground: oklch(0.814 0.104 30.453);
--ring: oklch(0.904 0.032 151.457);
--chart-1: oklch(0.904 0.032 151.457);
--chart-2: oklch(0.904 0.012 151.804);
--chart-3: oklch(0.904 0.012 151.804);
--chart-4: oklch(0.927 0.009 151.856);
--chart-5: oklch(0.906 0.036 151.402);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.02 151.144);
--foreground: oklch(0.986 0.004 151.939);
--muted: oklch(0.163 0.013 150.687);
--muted-foreground: oklch(0.798 0.002 151.967);
--popover: oklch(0.123 0.02 151.144);
--popover-foreground: oklch(0.986 0.004 151.939);
--card: oklch(0.141 0.023 151.042);
--card-foreground: oklch(0.993 0.002 151.973);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.904 0.032 151.457);
--primary-foreground: oklch(0.415 0.07 149.069);
--secondary: oklch(0.298 0.019 151.01);
--secondary-foreground: oklch(0.829 0.02 151.639);
--accent: oklch(0.298 0.019 151.01);
--accent-foreground: oklch(0.829 0.02 151.639);
--destructive: oklch(0.589 0.227 31.368);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.904 0.032 151.457);
--chart-1: oklch(0.904 0.032 151.457);
--chart-2: oklch(0.298 0.019 151.01);
--chart-3: oklch(0.298 0.019 151.01);
--chart-4: oklch(0.33 0.022 150.972);
--chart-5: oklch(0.906 0.036 151.402);
}