Ashamed is a shadcn/ui theme built around a neutral gray primary color (#4d5049) with muted light green accents (#d4d8cf). The light mode uses a neutral background (#fafcf8). Dark mode keeps the neutral gray primary (#4d5049) on a neutral background (#050703).
| Token | Light | Dark |
|---|---|---|
| Background | #fafcf8snow | #050703black |
| Foreground | #080b04black | #fafaf9snow |
| Card | #f8fbf4whitesmoke | #080b04black |
| Card foreground | #050803black | #fcfdfcwhite |
| Popover | #fafcf8snow | #050703black |
| Popover foreground | #080b04black | #fafaf9snow |
| Primary | #4d5049darkslategray | #4d5049darkslategray |
| Primary foreground | #e6e7e4gainsboro | #e6e7e4gainsboro |
| Secondary | #ebebealinen | #141514black |
| Secondary foreground | #525251darkslategray | #aeb1aadarkgray |
| Muted | #ebf2e3beige | #151c0dblack |
| Muted foreground | #525e45darkolivegreen | #aebaa1darkgray |
| Accent | #d4d8cflightgrey | #292e23darkslategray |
| Accent foreground | #3b4135darkslategray | #c2cabasilver |
| Destructive | #883407saddlebrown | #df560cchocolate |
| Destructive foreground | #fcd8c5bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #4d5049darkslategray | #4d5049darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.19:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 6.54:1 | AA |
| Muted text | 6.03:1 | AA |
| Accent | 7.28:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.32:1 | AAA |
| Text on card | 19.41:1 | AAA |
| Primary button | 6.59:1 | AA |
| Secondary button | 8.41:1 | AAA |
| Muted text | 8.58:1 | AAA |
| Accent | 8.23:1 | AAA |
| Destructive | 3.84:1 | AA Large |
Paste this into your globals.css to use Ashamed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 127.186);
--foreground: oklch(0.144 0.02 126.354);
--muted: oklch(0.953 0.022 127.396);
--muted-foreground: oklch(0.464 0.041 128.245);
--popover: oklch(0.988 0.006 127.186);
--popover-foreground: oklch(0.144 0.02 126.354);
--card: oklch(0.983 0.009 127.225);
--card-foreground: oklch(0.126 0.017 126.205);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.427 0.013 127.496);
--primary-foreground: oklch(0.926 0.004 127.16);
--secondary: oklch(0.939 0.001 127.119);
--secondary-foreground: oklch(0.439 0.003 127.19);
--accent: oklch(0.877 0.013 127.288);
--accent-foreground: oklch(0.364 0.021 127.836);
--destructive: oklch(0.438 0.125 42.903);
--destructive-foreground: oklch(0.908 0.048 50.03);
--ring: oklch(0.427 0.013 127.496);
--chart-1: oklch(0.427 0.013 127.496);
--chart-2: oklch(0.939 0.001 127.119);
--chart-3: oklch(0.877 0.013 127.288);
--chart-4: oklch(0.962 0 127.116);
--chart-5: oklch(0.432 0.021 127.721);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.125 0.016 126.253);
--foreground: oklch(0.986 0.002 127.131);
--muted: oklch(0.215 0.031 129.073);
--muted-foreground: oklch(0.772 0.036 127.7);
--popover: oklch(0.125 0.016 126.253);
--popover-foreground: oklch(0.986 0.002 127.131);
--card: oklch(0.144 0.019 126.365);
--card-foreground: oklch(0.993 0.001 127.121);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.427 0.013 127.496);
--primary-foreground: oklch(0.926 0.004 127.16);
--secondary: oklch(0.195 0.003 127.329);
--secondary-foreground: oklch(0.755 0.01 127.271);
--accent: oklch(0.293 0.02 127.976);
--accent-foreground: oklch(0.828 0.023 127.46);
--destructive: oklch(0.626 0.185 41.787);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.427 0.013 127.496);
--chart-1: oklch(0.427 0.013 127.496);
--chart-2: oklch(0.195 0.003 127.329);
--chart-3: oklch(0.293 0.02 127.976);
--chart-4: oklch(0.229 0.005 127.355);
--chart-5: oklch(0.432 0.021 127.721);
}