Unconscious is a shadcn/ui theme built around a light green primary color (#f1fbea) with light pink accents (#fbeaf1). The light mode uses a neutral background (#ffffff). Dark mode keeps the light green primary (#f1fbea) on a green-tinted background (#090e07).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #090e07black |
| Foreground | #070d02black | #fafbf9snow |
| Card | #ffffffwhite | #090e07black |
| Card foreground | #070d02black | #fafbf9snow |
| Popover | #ffffffwhite | #090e07black |
| Popover foreground | #070d02black | #fafbf9snow |
| Primary | #f1fbeahoneydew | #f1fbeahoneydew |
| Primary foreground | #213f0ddarkgreen | #213f0ddarkgreen |
| Secondary | #eaf1fbaliceblue | #eaf1fbaliceblue |
| Secondary foreground | #1e4d94darkslateblue | #1e4d94darkslateblue |
| Muted | #eff2f6whitesmoke | #090c10black |
| Muted foreground | #3d4148darkslategray | #b7bcc2silver |
| Accent | #fbeaf1lavenderblush | #fbeaf1lavenderblush |
| Accent foreground | #941e4dbrown | #941e4dbrown |
| Destructive | #c91a03firebrick | #ec1f04red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f1fbeahoneydew | #f1fbeahoneydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.67:1 | AAA |
| Text on card | 19.67:1 | AAA |
| Primary button | 11.04:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 9.10:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 5.78:1 | AA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 11.04:1 | AAA |
| Secondary button | 7.23:1 | AAA |
| Muted text | 10.24:1 | AAA |
| Accent | 7.09:1 | AAA |
| Destructive | 4.40:1 | AA Large |
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.148 0.03 130.885);
--muted: oklch(0.959 0.006 258.329);
--muted-foreground: oklch(0.375 0.012 258.367);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.148 0.03 130.885);
--card: oklch(1 0 180);
--card-foreground: oklch(0.148 0.03 130.885);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.975 0.025 132.549);
--primary-foreground: oklch(0.334 0.084 135.421);
--secondary: oklch(0.955 0.015 258.348);
--secondary-foreground: oklch(0.431 0.127 258.668);
--accent: oklch(0.952 0.02 351.217);
--accent-foreground: oklch(0.448 0.156 2.217);
--destructive: oklch(0.533 0.207 30.753);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.975 0.025 132.549);
--chart-1: oklch(0.975 0.025 132.549);
--chart-2: oklch(0.955 0.015 258.348);
--chart-3: oklch(0.952 0.02 351.217);
--chart-4: oklch(0.982 0.006 258.328);
--chart-5: oklch(0.976 0.026 132.558);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.017 132.178);
--foreground: oklch(0.987 0.003 132.383);
--muted: oklch(0.154 0.01 258.304);
--muted-foreground: oklch(0.793 0.01 258.342);
--popover: oklch(0.155 0.017 132.178);
--popover-foreground: oklch(0.987 0.003 132.383);
--card: oklch(0.155 0.017 132.178);
--card-foreground: oklch(0.987 0.003 132.383);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.975 0.025 132.549);
--primary-foreground: oklch(0.334 0.084 135.421);
--secondary: oklch(0.955 0.015 258.348);
--secondary-foreground: oklch(0.431 0.127 258.668);
--accent: oklch(0.952 0.02 351.217);
--accent-foreground: oklch(0.448 0.156 2.217);
--destructive: oklch(0.601 0.235 30.624);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.975 0.025 132.549);
--chart-1: oklch(0.975 0.025 132.549);
--chart-2: oklch(0.955 0.015 258.348);
--chart-3: oklch(0.952 0.02 351.217);
--chart-4: oklch(0.982 0.006 258.328);
--chart-5: oklch(0.976 0.026 132.558);
}