Shameless is a shadcn/ui theme built around a light purple primary color (#e3bade) with light cyan accents (#badee3). The light mode uses a neutral background (#fcf8fb). Dark mode keeps the light purple primary (#e3bade) on a neutral background (#070307).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf8fbsnow | #070307black |
| Foreground | #000000black | #fbf9fasnow |
| Card | #faf5f9whitesmoke | #0b050ablack |
| Card foreground | #000000black | #fdfcfdwhite |
| Popover | #faf5f9whitesmoke | #0b050ablack |
| Popover foreground | #000000black | #fdfcfdwhite |
| Primary | #e3badethistle | #e3badethistle |
| Primary foreground | #4c1f47darkslategray | #4c1f47darkslategray |
| Secondary | #dee3bapalegoldenrod | #dee3bapalegoldenrod |
| Secondary foreground | #474c1fdarkolivegreen | #474c1fdarkolivegreen |
| Muted | #e5e7dagainsboro | #242518black |
| Muted foreground | #4d4e46darkslategray | #b8b9b1silver |
| Accent | #badee3powderblue | #badee3powderblue |
| Accent foreground | #1f474cdarkslategray | #1f474cdarkslategray |
| Destructive | #cd4a04chocolate | #fa6514orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3badethistle | #e3badethistle |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.97:1 | AAA |
| Text on card | 19.47:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 6.80:1 | AA |
| Muted text | 6.72:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 4.57:1 | AA |
| Text on background | 19.53:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.75:1 | AAA |
| Secondary button | 6.80:1 | AA |
| Muted text | 7.85:1 | AAA |
| Accent | 7.10:1 | AAA |
| Destructive | 6.92:1 | AA |
Paste this into your globals.css to use Shameless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.983 0.005 329.193);
--foreground: oklch(0 0 0);
--muted: oklch(0.923 0.017 112.128);
--muted-foreground: oklch(0.422 0.014 112.415);
--popover: oklch(0.975 0.008 329.225);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.975 0.008 329.225);
--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.836 0.067 330.024);
--primary-foreground: oklch(0.321 0.089 332.055);
--secondary: oklch(0.901 0.054 112.891);
--secondary-foreground: oklch(0.401 0.066 114.97);
--accent: oklch(0.877 0.038 206.263);
--accent-foreground: oklch(0.371 0.045 206.823);
--destructive: oklch(0.583 0.178 40.967);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.836 0.067 330.024);
--chart-1: oklch(0.836 0.067 330.024);
--chart-2: oklch(0.901 0.054 112.891);
--chart-3: oklch(0.877 0.038 206.263);
--chart-4: oklch(0.917 0.045 112.701);
--chart-5: oklch(0.835 0.071 330.086);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.11 0.017 329.99);
--foreground: oklch(0.984 0.002 329.159);
--muted: oklch(0.259 0.023 113.422);
--muted-foreground: oklch(0.784 0.012 112.075);
--popover: oklch(0.126 0.019 330.041);
--popover-foreground: oklch(0.992 0.001 329.146);
--card: oklch(0.126 0.019 330.041);
--card-foreground: oklch(0.992 0.001 329.146);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.836 0.067 330.024);
--primary-foreground: oklch(0.321 0.089 332.055);
--secondary: oklch(0.901 0.054 112.891);
--secondary-foreground: oklch(0.401 0.066 114.97);
--accent: oklch(0.877 0.038 206.263);
--accent-foreground: oklch(0.371 0.045 206.823);
--destructive: oklch(0.687 0.199 42.465);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.836 0.067 330.024);
--chart-1: oklch(0.836 0.067 330.024);
--chart-2: oklch(0.901 0.054 112.891);
--chart-3: oklch(0.877 0.038 206.263);
--chart-4: oklch(0.917 0.045 112.701);
--chart-5: oklch(0.835 0.071 330.086);
}