Shameless is a shadcn/ui theme built around a light violet primary color (#ebdbfa) with muted violet accents (#bab1c4). The light mode uses a neutral background (#faf8fc). Dark mode keeps the light violet primary (#ebdbfa) on a violet-tinted background (#0a060e).
| Token | Light | Dark |
|---|---|---|
| Background | #faf8fcghostwhite | #0a060eblack |
| Foreground | #000000black | #ffffffwhite |
| Card | #f7f4fbghostwhite | #0d0811black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f7f4fbghostwhite | #0d0811black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #ebdbfalavender | #ebdbfalavender |
| Primary foreground | #54148findigo | #54148findigo |
| Secondary | #cfccd1lightgrey | #1f1b22black |
| Secondary foreground | #363239darkslategray | #b8afc0silver |
| Muted | #ebe7eelavender | #151118black |
| Muted foreground | #665f6ddimgray | #9992a0darkgray |
| Accent | #bab1c4silver | #31273adarkslategray |
| Accent foreground | #211d26black | #cabfd4thistle |
| Destructive | #880707darkred | #e40c0cred |
| Destructive foreground | #fcc5c5pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebdbfalavender | #ebdbfalavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.83:1 | AAA |
| Text on card | 19.27:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 5.01:1 | AA |
| Accent | 7.99:1 | AAA |
| Destructive | 6.71:1 | AA |
| Text on background | 20.04:1 | AAA |
| Text on card | 19.80:1 | AAA |
| Primary button | 8.58:1 | AAA |
| Secondary button | 8.02:1 | AAA |
| Muted text | 6.21:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 4.83:1 | AA |
Paste this into your globals.css to use Shameless in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.007 309.052);
--foreground: oklch(0 0 0);
--muted: oklch(0.932 0.011 308.999);
--muted-foreground: oklch(0.497 0.024 308.617);
--popover: oklch(0.971 0.01 309.014);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.971 0.01 309.014);
--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.914 0.044 308.617);
--primary-foreground: oklch(0.375 0.18 300.741);
--secondary: oklch(0.848 0.009 309.019);
--secondary-foreground: oklch(0.324 0.012 308.735);
--accent: oklch(0.773 0.029 308.73);
--accent-foreground: oklch(0.238 0.019 308.297);
--destructive: oklch(0.396 0.158 28.543);
--destructive-foreground: oklch(0.872 0.063 18.437);
--ring: oklch(0.914 0.044 308.617);
--chart-1: oklch(0.914 0.044 308.617);
--chart-2: oklch(0.848 0.009 309.019);
--chart-3: oklch(0.773 0.029 308.73);
--chart-4: oklch(0.873 0.007 309.039);
--chart-5: oklch(0.913 0.046 308.596);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.019 308.907);
--foreground: oklch(1 0 180);
--muted: oklch(0.184 0.017 308.17);
--muted-foreground: oklch(0.67 0.022 308.775);
--popover: oklch(0.147 0.022 307.83);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.147 0.022 307.83);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.914 0.044 308.617);
--primary-foreground: oklch(0.375 0.18 300.741);
--secondary: oklch(0.229 0.015 308.439);
--secondary-foreground: oklch(0.767 0.026 308.77);
--accent: oklch(0.292 0.037 307.776);
--accent-foreground: oklch(0.819 0.032 308.717);
--destructive: oklch(0.579 0.234 28.854);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.914 0.044 308.617);
--chart-1: oklch(0.914 0.044 308.617);
--chart-2: oklch(0.229 0.015 308.439);
--chart-3: oklch(0.292 0.037 307.776);
--chart-4: oklch(0.26 0.018 308.391);
--chart-5: oklch(0.913 0.046 308.596);
}