Conscious is a shadcn/ui theme built around a teal primary color (#7cd5b6) with cyan accents (#7cc7d5). The light mode uses a neutral background (#ffffff). Dark mode keeps the teal primary (#7cd5b6) on a neutral background (#030806).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #030806black |
| Foreground | #020806black | #f4faf8mintcream |
| Card | #fcfcfcsnow | #040b09black |
| Card foreground | #010403black | #f8fcfamintcream |
| Popover | #fcfcfcsnow | #040b09black |
| Popover foreground | #010403black | #f8fcfamintcream |
| Primary | #7cd5b6mediumaquamarine | #7cd5b6mediumaquamarine |
| Primary foreground | #071712black | #071712black |
| Secondary | #7cd589darkseagreen | #7cd589darkseagreen |
| Secondary foreground | #07170ablack | #07170ablack |
| Muted | #e7eee8linen | #111812black |
| Muted foreground | #4e5f51darkslategray | #a0b1a2darkgray |
| Accent | #7cc7d5skyblue | #7cc7d5skyblue |
| Accent foreground | #071517black | #071517black |
| Destructive | #920b01darkred | #fd3426orangered |
| Destructive foreground | #fecbc7pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #7cd5b6mediumaquamarine | #7cd5b6mediumaquamarine |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.19:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 10.52:1 | AAA |
| Secondary button | 10.29:1 | AAA |
| Muted text | 5.78:1 | AA |
| Accent | 9.75:1 | AAA |
| Destructive | 6.39:1 | AA |
| Text on background | 19.13:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 10.52:1 | AAA |
| Secondary button | 10.29:1 | AAA |
| Muted text | 7.99:1 | AAA |
| Accent | 9.75:1 | AAA |
| Destructive | 3.68:1 | AA Large |
Paste this into your globals.css to use Conscious in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.124 0.015 173.821);
--muted: oklch(0.943 0.011 150.088);
--muted-foreground: oklch(0.468 0.032 149.322);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.098 0.012 173.821);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.098 0.012 173.821);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.807 0.097 169.3);
--primary-foreground: oklch(0.189 0.025 169.107);
--secondary: oklch(0.797 0.136 147.682);
--secondary-foreground: oklch(0.186 0.034 147.714);
--accent: oklch(0.786 0.077 209.917);
--accent-foreground: oklch(0.184 0.019 209.852);
--destructive: oklch(0.42 0.166 30.135);
--destructive-foreground: oklch(0.886 0.059 23.072);
--ring: oklch(0.807 0.097 169.3);
--chart-1: oklch(0.807 0.097 169.3);
--chart-2: oklch(0.797 0.136 147.682);
--chart-3: oklch(0.786 0.077 209.917);
--chart-4: oklch(0.814 0.125 147.99);
--chart-5: oklch(0.812 0.102 169.052);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.013 173.798);
--foreground: oklch(0.981 0.007 173.369);
--muted: oklch(0.199 0.017 149.101);
--muted-foreground: oklch(0.743 0.028 149.737);
--popover: oklch(0.141 0.015 173.527);
--popover-foreground: oklch(0.987 0.005 173.439);
--card: oklch(0.141 0.015 173.527);
--card-foreground: oklch(0.987 0.005 173.439);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.807 0.097 169.3);
--primary-foreground: oklch(0.189 0.025 169.107);
--secondary: oklch(0.797 0.136 147.682);
--secondary-foreground: oklch(0.186 0.034 147.714);
--accent: oklch(0.786 0.077 209.917);
--accent-foreground: oklch(0.184 0.019 209.852);
--destructive: oklch(0.645 0.236 29.411);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.807 0.097 169.3);
--chart-1: oklch(0.807 0.097 169.3);
--chart-2: oklch(0.797 0.136 147.682);
--chart-3: oklch(0.786 0.077 209.917);
--chart-4: oklch(0.814 0.125 147.99);
--chart-5: oklch(0.812 0.102 169.052);
}