Alienated is a shadcn/ui theme built around a deep purple primary color (#28092a) with deep green accents (#0b2a09). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep purple primary (#28092a) on a purple-tinted background (#0d070d).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d070dblack |
| Foreground | #140515black | #ffffffwhite |
| Card | #ffffffwhite | #0d070dblack |
| Card foreground | #140515black | #ffffffwhite |
| Popover | #ffffffwhite | #0d070dblack |
| Popover foreground | #140515black | #ffffffwhite |
| Primary | #28092ablack | #28092ablack |
| Primary foreground | #df82e3violet | #df82e3violet |
| Secondary | #0b2a09black | #0b2a09black |
| Secondary foreground | #35d02flimegreen | #35d02flimegreen |
| Muted | #dfeddegainsboro | #132112black |
| Muted foreground | #626561dimgray | #9a9e9adarkgray |
| Accent | #0b2a09black | #0b2a09black |
| Accent foreground | #35d02flimegreen | #35d02flimegreen |
| Destructive | #b50a08firebrick | #f51d19red |
| Destructive foreground | #fef1f0seashell | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #28092ablack | #28092ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.76:1 | AAA |
| Text on card | 19.76:1 | AAA |
| Primary button | 7.23:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 4.86:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 6.31:1 | AA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.92:1 | AAA |
| Primary button | 7.23:1 | AAA |
| Secondary button | 7.60:1 | AAA |
| Muted text | 6.17:1 | AA |
| Accent | 7.60:1 | AAA |
| Destructive | 4.13: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.151 0.044 326.289);
--muted: oklch(0.931 0.025 144.445);
--muted-foreground: oklch(0.504 0.008 144.518);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.151 0.044 326.289);
--card: oklch(1 0 180);
--card-foreground: oklch(0.151 0.044 326.289);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.212 0.071 326.385);
--primary-foreground: oklch(0.741 0.166 325.892);
--secondary: oklch(0.251 0.067 142.759);
--secondary-foreground: oklch(0.75 0.232 142.479);
--accent: oklch(0.251 0.067 142.759);
--accent-foreground: oklch(0.75 0.232 142.479);
--destructive: oklch(0.489 0.196 29.03);
--destructive-foreground: oklch(0.968 0.015 18.601);
--ring: oklch(0.212 0.071 326.385);
--chart-1: oklch(0.212 0.071 326.385);
--chart-2: oklch(0.251 0.067 142.759);
--chart-3: oklch(0.251 0.067 142.759);
--chart-4: oklch(0.294 0.082 142.676);
--chart-5: oklch(0.212 0.074 326.431);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.141 0.018 325.425);
--foreground: oklch(1 0 180);
--muted: oklch(0.229 0.034 143.597);
--muted-foreground: oklch(0.693 0.007 144.551);
--popover: oklch(0.141 0.018 325.425);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.141 0.018 325.425);
--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.212 0.071 326.385);
--primary-foreground: oklch(0.741 0.166 325.892);
--secondary: oklch(0.251 0.067 142.759);
--secondary-foreground: oklch(0.75 0.232 142.479);
--accent: oklch(0.251 0.067 142.759);
--accent-foreground: oklch(0.75 0.232 142.479);
--destructive: oklch(0.618 0.242 28.679);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.212 0.071 326.385);
--chart-1: oklch(0.212 0.071 326.385);
--chart-2: oklch(0.251 0.067 142.759);
--chart-3: oklch(0.251 0.067 142.759);
--chart-4: oklch(0.294 0.082 142.676);
--chart-5: oklch(0.212 0.074 326.431);
}