Shameful is a shadcn/ui theme built around a light green primary color (#e4eec3) with light indigo accents (#cdc3ee). The light mode uses a neutral background (#fdfefb). Dark mode keeps the light green primary (#e4eec3) on a neutral background (#060703).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #060703black |
| Foreground | #0d1004black | #fbfcf8snow |
| Card | #fdfefbwhite | #060703black |
| Card foreground | #0d1004black | #fbfcf8snow |
| Popover | #fdfefbwhite | #060703black |
| Popover foreground | #0d1004black | #fbfcf8snow |
| Primary | #e4eec3palegoldenrod | #e4eec3palegoldenrod |
| Primary foreground | #111406black | #111406black |
| Secondary | #cdc3eethistle | #cdc3eethistle |
| Secondary foreground | #2d1c63midnightblue | #2d1c63midnightblue |
| Muted | #d4cde9gainsboro | #1c1632black |
| Muted foreground | #53515ddimgray | #a5a2aedarkgray |
| Accent | #cdc3eethistle | #cdc3eethistle |
| Accent foreground | #2d1c63midnightblue | #2d1c63midnightblue |
| Destructive | #6b0d0amaroon | #eb2a24crimson |
| Destructive foreground | #f8b2b0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e4eec3palegoldenrod | #e4eec3palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.97:1 | AAA |
| Text on card | 18.97:1 | AAA |
| Primary button | 15.39:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 5.08:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 7.08:1 | AAA |
| Text on background | 19.58:1 | AAA |
| Text on card | 19.58:1 | AAA |
| Primary button | 15.39:1 | AAA |
| Secondary button | 8.69:1 | AAA |
| Muted text | 6.93:1 | AA |
| Accent | 8.69:1 | AAA |
| Destructive | 4.30:1 | AA Large |
Paste this into your globals.css to use Shameful in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.004 117.149);
--foreground: oklch(0.167 0.026 118.955);
--muted: oklch(0.863 0.039 296.267);
--muted-foreground: oklch(0.441 0.02 296.258);
--popover: oklch(0.995 0.004 117.149);
--popover-foreground: oklch(0.167 0.026 118.955);
--card: oklch(0.995 0.004 117.149);
--card-foreground: oklch(0.167 0.026 118.955);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.931 0.057 118.19);
--primary-foreground: oklch(0.182 0.028 119.571);
--secondary: oklch(0.84 0.06 295.775);
--secondary-foreground: oklch(0.296 0.119 287.535);
--accent: oklch(0.84 0.06 295.775);
--accent-foreground: oklch(0.296 0.119 287.535);
--destructive: oklch(0.341 0.127 28.49);
--destructive-foreground: oklch(0.828 0.082 21.198);
--ring: oklch(0.931 0.057 118.19);
--chart-1: oklch(0.931 0.057 118.19);
--chart-2: oklch(0.84 0.06 295.775);
--chart-3: oklch(0.84 0.06 295.775);
--chart-4: oklch(0.872 0.048 296.089);
--chart-5: oklch(0.934 0.06 118.246);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.126 0.014 117.32);
--foreground: oklch(0.988 0.005 117.161);
--muted: oklch(0.223 0.053 292.292);
--muted-foreground: oklch(0.719 0.018 296.637);
--popover: oklch(0.126 0.014 117.32);
--popover-foreground: oklch(0.988 0.005 117.161);
--card: oklch(0.126 0.014 117.32);
--card-foreground: oklch(0.988 0.005 117.161);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.931 0.057 118.19);
--primary-foreground: oklch(0.182 0.028 119.571);
--secondary: oklch(0.84 0.06 295.775);
--secondary-foreground: oklch(0.296 0.119 287.535);
--accent: oklch(0.84 0.06 295.775);
--accent-foreground: oklch(0.296 0.119 287.535);
--destructive: oklch(0.606 0.226 28.465);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.057 118.19);
--chart-1: oklch(0.931 0.057 118.19);
--chart-2: oklch(0.84 0.06 295.775);
--chart-3: oklch(0.84 0.06 295.775);
--chart-4: oklch(0.872 0.048 296.089);
--chart-5: oklch(0.934 0.06 118.246);
}