Accountability is a shadcn/ui theme built around a muted light green primary color (#bbd8bf) with muted light teal accents (#bbd8cd). The light mode uses a neutral background (#f7fdf8). Dark mode keeps the muted light green primary (#bbd8bf) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdf8mintcream | #000000black |
| Foreground | #020d04black | #fcfdfcwhite |
| Card | #f3fbf4whitesmoke | #030303black |
| Card foreground | #020903black | #ffffffwhite |
| Popover | #f3fbf4whitesmoke | #030303black |
| Popover foreground | #020903black | #ffffffwhite |
| Primary | #bbd8bfsilver | #bbd8bfsilver |
| Primary foreground | #233e27darkslategray | #233e27darkslategray |
| Secondary | #c6d8bbsilver | #c6d8bbsilver |
| Secondary foreground | #2d3e23darkslategray | #2d3e23darkslategray |
| Muted | #dfe6dbgainsboro | #1d2419black |
| Muted foreground | #444841darkslategray | #b9beb7silver |
| Accent | #bbd8cdlightgrey | #bbd8cdlightgrey |
| Accent foreground | #233e34darkslategray | #233e34darkslategray |
| Destructive | #c23114firebrick | #e94e2ftomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #bbd8bfsilver | #bbd8bfsilver |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.12:1 | AAA |
| Text on card | 19.15:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 7.32:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 5.60:1 | AA |
| Text on background | 20.59:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 7.64:1 | AAA |
| Secondary button | 7.62:1 | AAA |
| Muted text | 8.41:1 | AAA |
| Accent | 7.62:1 | AAA |
| Destructive | 3.74:1 | AA Large |
Paste this into your globals.css to use Accountability in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.008 149.581);
--foreground: oklch(0.142 0.03 148.19);
--muted: oklch(0.916 0.017 133.719);
--muted-foreground: oklch(0.396 0.013 133.809);
--popover: oklch(0.981 0.012 149.527);
--popover-foreground: oklch(0.124 0.026 148.312);
--card: oklch(0.981 0.012 149.527);
--card-foreground: oklch(0.124 0.026 148.312);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.854 0.046 148.992);
--primary-foreground: oklch(0.334 0.051 147.549);
--secondary: oklch(0.86 0.044 133.934);
--secondary-foreground: oklch(0.34 0.049 134.656);
--accent: oklch(0.858 0.034 171.373);
--accent-foreground: oklch(0.338 0.037 168.854);
--destructive: oklch(0.537 0.185 32.861);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.854 0.046 148.992);
--chart-1: oklch(0.854 0.046 148.992);
--chart-2: oklch(0.86 0.044 133.934);
--chart-3: oklch(0.858 0.034 171.373);
--chart-4: oklch(0.88 0.037 133.877);
--chart-5: oklch(0.856 0.051 148.915);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.993 0.002 149.658);
--muted: oklch(0.25 0.023 134.212);
--muted-foreground: oklch(0.795 0.011 133.69);
--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.854 0.046 148.992);
--primary-foreground: oklch(0.334 0.051 147.549);
--secondary: oklch(0.86 0.044 133.934);
--secondary-foreground: oklch(0.34 0.049 134.656);
--accent: oklch(0.858 0.034 171.373);
--accent-foreground: oklch(0.338 0.037 168.854);
--destructive: oklch(0.635 0.196 33.201);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.854 0.046 148.992);
--chart-1: oklch(0.854 0.046 148.992);
--chart-2: oklch(0.86 0.044 133.934);
--chart-3: oklch(0.858 0.034 171.373);
--chart-4: oklch(0.88 0.037 133.877);
--chart-5: oklch(0.856 0.051 148.915);
}