Guidance is a shadcn/ui theme built around a muted light teal primary color (#d8e4e0) with muted light pink accents (#e4d8db). The light mode uses a neutral background (#f8fcfb). Dark mode keeps the muted light teal primary (#d8e4e0) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfbmintcream | #000000black |
| Foreground | #020907black | #fcfdfdwhite |
| Card | #f4fbf9mintcream | #030303black |
| Card foreground | #010403black | #ffffffwhite |
| Popover | #f4fbf9mintcream | #030303black |
| Popover foreground | #010403black | #ffffffwhite |
| Primary | #d8e4e0gainsboro | #d8e4e0gainsboro |
| Primary foreground | #38514adarkslategray | #38514adarkslategray |
| Secondary | #e4d8dbgainsboro | #e4d8dbgainsboro |
| Secondary foreground | #51383fdarkslategray | #51383fdarkslategray |
| Muted | #ebe0e3gainsboro | #1f1417black |
| Muted foreground | #5b494edimgray | #b6a4aadarkgray |
| Accent | #e4d8dbgainsboro | #e4d8dbgainsboro |
| Accent foreground | #51383fdarkslategray | #51383fdarkslategray |
| Destructive | #771304maroon | #e42407orangered |
| Destructive foreground | #fdbab0lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #d8e4e0gainsboro | #d8e4e0gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 6.83:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.57:1 | AA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 7.57:1 | AAA |
| Accent | 7.61:1 | AAA |
| Destructive | 4.62:1 | AA |
Paste this into your globals.css to use Guidance in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.005 177.557);
--foreground: oklch(0.126 0.017 177.882);
--muted: oklch(0.917 0.012 358.08);
--muted-foreground: oklch(0.424 0.026 359.384);
--popover: oklch(0.982 0.008 177.476);
--popover-foreground: oklch(0.1 0.014 177.882);
--card: oklch(0.982 0.008 177.476);
--card-foreground: oklch(0.1 0.014 177.882);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.908 0.014 177.277);
--primary-foreground: oklch(0.413 0.032 175.181);
--secondary: oklch(0.892 0.014 358.156);
--secondary-foreground: oklch(0.373 0.037 0.42);
--accent: oklch(0.892 0.014 358.156);
--accent-foreground: oklch(0.373 0.037 0.42);
--destructive: oklch(0.368 0.136 31.779);
--destructive-foreground: oklch(0.848 0.079 28.695);
--ring: oklch(0.908 0.014 177.277);
--chart-1: oklch(0.908 0.014 177.277);
--chart-2: oklch(0.892 0.014 358.156);
--chart-3: oklch(0.892 0.014 358.156);
--chart-4: oklch(0.917 0.011 358.043);
--chart-5: oklch(0.91 0.016 177.204);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.001 177.697);
--muted: oklch(0.207 0.017 0.034);
--muted-foreground: oklch(0.737 0.022 358.556);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.908 0.014 177.277);
--primary-foreground: oklch(0.413 0.032 175.181);
--secondary: oklch(0.892 0.014 358.156);
--secondary-foreground: oklch(0.373 0.037 0.42);
--accent: oklch(0.892 0.014 358.156);
--accent-foreground: oklch(0.373 0.037 0.42);
--destructive: oklch(0.588 0.225 31.103);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.908 0.014 177.277);
--chart-1: oklch(0.908 0.014 177.277);
--chart-2: oklch(0.892 0.014 358.156);
--chart-3: oklch(0.892 0.014 358.156);
--chart-4: oklch(0.917 0.011 358.043);
--chart-5: oklch(0.91 0.016 177.204);
}