Ashamed is a shadcn/ui theme built around a vivid blue primary color (#758aff) with vivid violet accents (#a575ff). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#758aff) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #040610black | #f6f7f8whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #03040cblack | #f9f9fbghostwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #040610black | #f6f7f8whitesmoke |
| Primary | #758affcornflowerblue | #758affcornflowerblue |
| Primary foreground | #000a42midnightblue | #000a42midnightblue |
| Secondary | #75cffflightskyblue | #75cffflightskyblue |
| Secondary foreground | #002b42midnightblue | #002b42midnightblue |
| Muted | #dfebf1lavender | #0e1a20black |
| Muted foreground | #56646cdimgray | #93a1a9darkgray |
| Accent | #a575ffmediumpurple | #a575ffmediumpurple |
| Accent foreground | #000000black | #000000black |
| Destructive | #881202darkred | #e21d03red |
| Destructive foreground | #fec5bepink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #758affcornflowerblue | #758affcornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.21:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 6.09:1 | AA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 5.02:1 | AA |
| Accent | 6.61:1 | AA |
| Destructive | 6.55:1 | AA |
| Text on background | 19.57:1 | AAA |
| Text on card | 19.66:1 | AAA |
| Primary button | 6.09:1 | AA |
| Secondary button | 8.50:1 | AAA |
| Muted text | 6.68:1 | AA |
| Accent | 6.61:1 | AA |
| Destructive | 4.75:1 | AA |
Paste this into your globals.css to use Ashamed in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.025 271.687);
--muted: oklch(0.932 0.015 230.886);
--muted-foreground: oklch(0.495 0.021 231.303);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.126 0.025 271.687);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.114 0.022 271.227);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.673 0.173 273.339);
--primary-foreground: oklch(0.192 0.106 263.74);
--secondary: oklch(0.816 0.11 233.853);
--secondary-foreground: oklch(0.275 0.062 238.68);
--accent: oklch(0.675 0.197 296.939);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.401 0.153 31.216);
--destructive-foreground: oklch(0.873 0.066 27.132);
--ring: oklch(0.673 0.173 273.339);
--chart-1: oklch(0.673 0.173 273.339);
--chart-2: oklch(0.816 0.11 233.853);
--chart-3: oklch(0.675 0.197 296.939);
--chart-4: oklch(0.835 0.099 233.226);
--chart-5: oklch(0.67 0.178 273.135);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.002 278.284);
--muted: oklch(0.208 0.021 232.627);
--muted-foreground: oklch(0.701 0.019 231.057);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.002 278.284);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.984 0.002 278.296);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.673 0.173 273.339);
--primary-foreground: oklch(0.192 0.106 263.74);
--secondary: oklch(0.816 0.11 233.853);
--secondary-foreground: oklch(0.275 0.062 238.68);
--accent: oklch(0.675 0.197 296.939);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.582 0.227 30.656);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.673 0.173 273.339);
--chart-1: oklch(0.673 0.173 273.339);
--chart-2: oklch(0.816 0.11 233.853);
--chart-3: oklch(0.675 0.197 296.939);
--chart-4: oklch(0.835 0.099 233.226);
--chart-5: oklch(0.67 0.178 273.135);
}