Unaware is a shadcn/ui theme built around a vivid indigo primary color (#7579f5) with muted light indigo accents (#c7c8d6). The light mode uses a neutral background (#fbfbfe). Dark mode keeps the vivid indigo primary (#7579f5) on an indigo-tinted background (#04040b).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfbfeghostwhite | #04040bblack |
| Foreground | #04040cblack | #ffffffwhite |
| Card | #fbfbfeghostwhite | #04040bblack |
| Card foreground | #04040cblack | #ffffffwhite |
| Popover | #fbfbfeghostwhite | #04040bblack |
| Popover foreground | #04040cblack | #ffffffwhite |
| Primary | #7579f5mediumslateblue | #7579f5mediumslateblue |
| Primary foreground | #000000black | #000000black |
| Secondary | #dedee3gainsboro | #252527darkslategray |
| Secondary foreground | #42434cdarkslategray | #bdbdc1silver |
| Muted | #eaeaf6lavender | #090a15black |
| Muted foreground | #505053darkslategray | #acacafdarkgray |
| Accent | #c7c8d6lightgrey | #343541darkslategray |
| Accent foreground | #2e2e3edarkslategray | #cfcfd8lightgrey |
| Destructive | #7a330bsaddlebrown | #e66114chocolate |
| Destructive foreground | #f9d3bdpeachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7579f5mediumslateblue | #7579f5mediumslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.77:1 | AAA |
| Text on card | 19.77:1 | AAA |
| Primary button | 5.81:1 | AA |
| Secondary button | 7.34:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 8.02:1 | AAA |
| Destructive | 6.51:1 | AA |
| Text on background | 20.39:1 | AAA |
| Text on card | 20.39:1 | AAA |
| Primary button | 5.81:1 | AA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 8.70:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 6.08:1 | AA |
Paste this into your globals.css to use Unaware in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 284.736);
--foreground: oklch(0.112 0.022 280.134);
--muted: oklch(0.94 0.015 284.514);
--muted-foreground: oklch(0.433 0.005 284.597);
--popover: oklch(0.989 0.004 284.736);
--popover-foreground: oklch(0.112 0.022 280.134);
--card: oklch(0.989 0.004 284.736);
--card-foreground: oklch(0.112 0.022 280.134);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.634 0.182 278.366);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.903 0.006 284.698);
--secondary-foreground: oklch(0.385 0.016 284.036);
--accent: oklch(0.836 0.019 284.39);
--accent-foreground: oklch(0.308 0.028 283.088);
--destructive: oklch(0.414 0.11 45.359);
--destructive-foreground: oklch(0.894 0.052 51.839);
--ring: oklch(0.634 0.182 278.366);
--chart-1: oklch(0.634 0.182 278.366);
--chart-2: oklch(0.903 0.006 284.698);
--chart-3: oklch(0.836 0.019 284.39);
--chart-4: oklch(0.927 0.004 284.728);
--chart-5: oklch(0.631 0.188 278.047);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.115 0.018 281.045);
--foreground: oklch(1 0 180);
--muted: oklch(0.15 0.025 281.421);
--muted-foreground: oklch(0.745 0.004 284.702);
--popover: oklch(0.115 0.018 281.045);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.115 0.018 281.045);
--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.634 0.182 278.366);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.266 0.004 284.535);
--secondary-foreground: oklch(0.801 0.005 284.694);
--accent: oklch(0.332 0.022 283.581);
--accent-foreground: oklch(0.858 0.013 284.545);
--destructive: oklch(0.652 0.182 44.078);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.634 0.182 278.366);
--chart-1: oklch(0.634 0.182 278.366);
--chart-2: oklch(0.266 0.004 284.535);
--chart-3: oklch(0.332 0.022 283.581);
--chart-4: oklch(0.297 0.005 284.521);
--chart-5: oklch(0.631 0.188 278.047);
}