Unconscious is a shadcn/ui theme built around a vivid red primary color (#ec4441) with vivid orange accents (#ec9941). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid red primary (#ec4441) on a red-tinted background (#0a0505).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0a0505black |
| Foreground | #080202black | #ffffffwhite |
| Card | #fcfcfcsnow | #0e0706black |
| Card foreground | #040101black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0e0706black |
| Popover foreground | #040101black | #ffffffwhite |
| Primary | #ec4441tomato | #ec4441tomato |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ec4194deeppink | #ec4194deeppink |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e1dbdegainsboro | #241e21black |
| Muted foreground | #6f5863dimgray | #a7909brosybrown |
| Accent | #ec9941sandybrown | #ec9941sandybrown |
| Accent foreground | #000000black | #000000black |
| Destructive | #d53b10orangered | #d53b10orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ec4441tomato | #ec4441tomato |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.59:1 | AAA |
| Text on card | 20.34:1 | AAA |
| Primary button | 3.84:1 | AA Large |
| Secondary button | 3.65:1 | AA Large |
| Muted text | 4.71:1 | AA |
| Accent | 9.22:1 | AAA |
| Destructive | 4.69:1 | AA |
| Text on background | 20.25:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 3.84:1 | AA Large |
| Secondary button | 3.65:1 | AA Large |
| Muted text | 5.53:1 | AA |
| Accent | 9.22:1 | AAA |
| Destructive | 4.69:1 | AA |
Paste this into your globals.css to use Unconscious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.103 0.019 22.486);
--muted: oklch(0.896 0.008 346.265);
--muted-foreground: oklch(0.487 0.036 347.871);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.082 0.015 22.486);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.082 0.015 22.486);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.631 0.206 26.117);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.648 0.218 355.644);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.752 0.142 64.056);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.58 0.197 34.62);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.631 0.206 26.117);
--chart-1: oklch(0.631 0.206 26.117);
--chart-2: oklch(0.648 0.218 355.644);
--chart-3: oklch(0.752 0.142 64.056);
--chart-4: oklch(0.666 0.206 354.442);
--chart-5: oklch(0.633 0.212 26.419);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.013 20.408);
--foreground: oklch(1 0 180);
--muted: oklch(0.243 0.012 347.256);
--muted-foreground: oklch(0.677 0.033 347.258);
--popover: oklch(0.137 0.014 20.43);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.137 0.014 20.43);
--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.631 0.206 26.117);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.648 0.218 355.644);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.752 0.142 64.056);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.58 0.197 34.62);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.631 0.206 26.117);
--chart-1: oklch(0.631 0.206 26.117);
--chart-2: oklch(0.648 0.218 355.644);
--chart-3: oklch(0.752 0.142 64.056);
--chart-4: oklch(0.666 0.206 354.442);
--chart-5: oklch(0.633 0.212 26.419);
}