Aware is a shadcn/ui theme built around a muted light green primary color (#c8dacc) with muted light teal accents (#c8dad5). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted light green primary (#c8dacc) on a green-tinted background (#040b05).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040b05black |
| Foreground | #010903black | #f9fbf9mintcream |
| Card | #fcfcfcsnow | #050f07black |
| Card foreground | #010501black | #fcfdfcwhite |
| Popover | #ffffffwhite | #040b05black |
| Popover foreground | #010903black | #f9fbf9mintcream |
| Primary | #c8dacclightgrey | #c8dacclightgrey |
| Primary foreground | #2d4332darkslategray | #2d4332darkslategray |
| Secondary | #cedac8lightgrey | #cedac8lightgrey |
| Secondary foreground | #34432ddarkslategray | #34432ddarkslategray |
| Muted | #ecf1ealinen | #10150eblack |
| Muted foreground | #4c5648darkslategray | #adb7a9darkgray |
| Accent | #c8dad5lightgrey | #c8dad5lightgrey |
| Accent foreground | #2d433cdarkslategray | #2d433cdarkslategray |
| Destructive | #c61b15firebrick | #e82821crimson |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c8dacclightgrey | #c8dacclightgrey |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.15:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 6.69:1 | AA |
| Accent | 7.29:1 | AAA |
| Destructive | 5.86:1 | AA |
| Text on background | 19.11:1 | AAA |
| Text on card | 19.09:1 | AAA |
| Primary button | 7.31:1 | AAA |
| Secondary button | 7.27:1 | AAA |
| Muted text | 8.88:1 | AAA |
| Accent | 7.29:1 | AAA |
| Destructive | 4.42:1 | AA Large |
Paste this into your globals.css to use Aware in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.028 150.799);
--muted: oklch(0.952 0.011 136.063);
--muted-foreground: oklch(0.44 0.026 136.248);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.028 150.799);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.099 0.022 150.799);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.871 0.027 151.538);
--primary-foreground: oklch(0.358 0.04 150.185);
--secondary: oklch(0.874 0.027 136.136);
--secondary-foreground: oklch(0.362 0.041 136.487);
--accent: oklch(0.873 0.02 175.976);
--accent-foreground: oklch(0.362 0.029 174.046);
--destructive: oklch(0.53 0.204 28.85);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.871 0.027 151.538);
--chart-1: oklch(0.871 0.027 151.538);
--chart-2: oklch(0.874 0.027 136.136);
--chart-3: oklch(0.873 0.02 175.976);
--chart-4: oklch(0.895 0.022 136.114);
--chart-5: oklch(0.872 0.031 151.464);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.02 151.233);
--foreground: oklch(0.986 0.004 151.946);
--muted: oklch(0.19 0.016 136.358);
--muted-foreground: oklch(0.768 0.023 136.131);
--popover: oklch(0.139 0.02 151.233);
--popover-foreground: oklch(0.986 0.004 151.946);
--card: oklch(0.155 0.023 150.69);
--card-foreground: oklch(0.993 0.002 151.976);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.871 0.027 151.538);
--primary-foreground: oklch(0.358 0.04 150.185);
--secondary: oklch(0.874 0.027 136.136);
--secondary-foreground: oklch(0.362 0.041 136.487);
--accent: oklch(0.873 0.02 175.976);
--accent-foreground: oklch(0.362 0.029 174.046);
--destructive: oklch(0.599 0.225 28.544);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.871 0.027 151.538);
--chart-1: oklch(0.871 0.027 151.538);
--chart-2: oklch(0.874 0.027 136.136);
--chart-3: oklch(0.873 0.02 175.976);
--chart-4: oklch(0.895 0.022 136.114);
--chart-5: oklch(0.872 0.031 151.464);
}