Alienated is a shadcn/ui theme built around a muted light purple primary color (#d8d3d9) with muted light purple accents (#d9c9de). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light purple primary (#d8d3d9) on a neutral background (#070208).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #070208black |
| Foreground | #0b020eblack | #faf9fbghostwhite |
| Card | #fcfcfcsnow | #0a030cblack |
| Card foreground | #070109black | #fdfcfdwhite |
| Popover | #fcfcfcsnow | #0a030cblack |
| Popover foreground | #070109black | #fdfcfdwhite |
| Primary | #d8d3d9lightgrey | #d8d3d9lightgrey |
| Primary foreground | #403842darkslategray | #403842darkslategray |
| Secondary | #ede7eelavender | #18141ablack |
| Secondary foreground | #5a4261dimgray | #b5a6b9darkgray |
| Muted | #e4e1e5gainsboro | #1d1a1eblack |
| Muted foreground | #69526fdimgray | #a690addarkgray |
| Accent | #d9c9dethistle | #302433darkslategray |
| Accent foreground | #422c49darkslategray | #cabacfthistle |
| Destructive | #a60707darkred | #f62c2ccrimson |
| Destructive foreground | #fee2e2mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d8d3d9lightgrey | #d8d3d9lightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.40:1 | AAA |
| Text on card | 20.19:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 7.21:1 | AAA |
| Muted text | 5.33:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 6.45:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.88:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 5.91:1 | AA |
| Accent | 8.06:1 | AAA |
| Destructive | 3.93:1 | AA Large |
Paste this into your globals.css to use Alienated in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.116 0.041 320.427);
--muted: oklch(0.913 0.006 318.323);
--muted-foreground: oklch(0.474 0.053 318.209);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.101 0.035 321.172);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.101 0.035 321.172);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.873 0.01 318.318);
--primary-foreground: oklch(0.353 0.019 318.275);
--secondary: oklch(0.934 0.012 318.317);
--secondary-foreground: oklch(0.417 0.059 318.171);
--accent: oklch(0.855 0.035 318.29);
--accent-foreground: oklch(0.332 0.058 318.111);
--destructive: oklch(0.459 0.185 28.797);
--destructive-foreground: oklch(0.935 0.031 17.721);
--ring: oklch(0.873 0.01 318.318);
--chart-1: oklch(0.873 0.01 318.318);
--chart-2: oklch(0.934 0.012 318.317);
--chart-3: oklch(0.855 0.035 318.29);
--chart-4: oklch(0.959 0.008 318.322);
--chart-5: oklch(0.871 0.014 318.314);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.105 0.025 320.353);
--foreground: oklch(0.984 0.002 318.328);
--muted: oklch(0.223 0.009 318.291);
--muted-foreground: oklch(0.681 0.049 318.257);
--popover: oklch(0.12 0.029 319.997);
--popover-foreground: oklch(0.992 0.001 318.329);
--card: oklch(0.12 0.029 319.997);
--card-foreground: oklch(0.992 0.001 318.329);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.873 0.01 318.318);
--primary-foreground: oklch(0.353 0.019 318.275);
--secondary: oklch(0.2 0.013 318.267);
--secondary-foreground: oklch(0.745 0.031 318.288);
--accent: oklch(0.279 0.033 318.203);
--accent-foreground: oklch(0.808 0.034 318.288);
--destructive: oklch(0.629 0.234 27.281);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.873 0.01 318.318);
--chart-1: oklch(0.873 0.01 318.318);
--chart-2: oklch(0.2 0.013 318.267);
--chart-3: oklch(0.279 0.033 318.203);
--chart-4: oklch(0.232 0.016 318.259);
--chart-5: oklch(0.871 0.014 318.314);
}