Unaware is a shadcn/ui theme built around a red primary color (#ab5349) with cyan accents (#49a2ab). The light mode uses a neutral background (#fefbfb). Dark mode keeps the red primary (#ab5349) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfbsnow | #000000black |
| Foreground | #040101black | #ffffffwhite |
| Card | #fefbfbsnow | #000000black |
| Card foreground | #040101black | #ffffffwhite |
| Popover | #fefbfbsnow | #000000black |
| Popover foreground | #040101black | #ffffffwhite |
| Primary | #ab5349sienna | #ab5349sienna |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #49a2abcadetblue | #49a2abcadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #ebefefwhitesmoke | #101414black |
| Muted foreground | #5d6d6fdimgray | #90a0a2darkgray |
| Accent | #49a2abcadetblue | #49a2abcadetblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #681208maroon | #ef422etomato |
| Destructive foreground | #f9b2aalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ab5349sienna | #ab5349sienna |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 7.01:1 | AAA |
| Muted text | 4.66:1 | AA |
| Accent | 7.01:1 | AAA |
| Destructive | 7.13:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 5.14:1 | AA |
| Secondary button | 7.01:1 | AAA |
| Muted text | 6.84:1 | AA |
| Accent | 7.01:1 | AAA |
| Destructive | 3.82:1 | AA Large |
Paste this into your globals.css to use Unaware in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.003 25.014);
--foreground: oklch(0.083 0.016 32.362);
--muted: oklch(0.949 0.005 204.953);
--muted-foreground: oklch(0.523 0.02 204.753);
--popover: oklch(0.991 0.003 25.014);
--popover-foreground: oklch(0.083 0.016 32.362);
--card: oklch(0.991 0.003 25.014);
--card-foreground: oklch(0.083 0.016 32.362);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.55 0.118 28.004);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.661 0.085 205.162);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.085 205.162);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.338 0.122 30.528);
--destructive-foreground: oklch(0.827 0.084 26.144);
--ring: oklch(0.55 0.118 28.004);
--chart-1: oklch(0.55 0.118 28.004);
--chart-2: oklch(0.661 0.085 205.162);
--chart-3: oklch(0.661 0.085 205.162);
--chart-4: oklch(0.687 0.087 205.111);
--chart-5: oklch(0.55 0.126 28.296);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.186 0.007 204.766);
--muted-foreground: oklch(0.694 0.019 204.807);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.55 0.118 28.004);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.661 0.085 205.162);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.085 205.162);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.633 0.213 30.238);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.55 0.118 28.004);
--chart-1: oklch(0.55 0.118 28.004);
--chart-2: oklch(0.661 0.085 205.162);
--chart-3: oklch(0.661 0.085 205.162);
--chart-4: oklch(0.687 0.087 205.111);
--chart-5: oklch(0.55 0.126 28.296);
}