Dealing is a shadcn/ui theme built around a deep green primary color (#0d1a04) with muted light green accents (#dae2d4). The light mode uses a neutral background (#fafbf8). Dark mode keeps the deep green primary (#0d1a04) on a green-tinted background (#090f05).
| Token | Light | Dark |
|---|---|---|
| Background | #fafbf8snow | #090f05black |
| Foreground | #020401black | #fafcf8snow |
| Card | #f7faf5whitesmoke | #0c1307black |
| Card foreground | #000000black | #fcfdfbsnow |
| Popover | #f7faf5whitesmoke | #0c1307black |
| Popover foreground | #000000black | #fcfdfbsnow |
| Primary | #0d1a04black | #0d1a04black |
| Primary foreground | #67cb20yellowgreen | #67cb20yellowgreen |
| Secondary | #dae2d4gainsboro | #30352cdarkslategray |
| Secondary foreground | #405035darkslategray | #c9cfc4silver |
| Muted | #dfe6dbgainsboro | #1e2419black |
| Muted foreground | #444941darkslategray | #b9beb6silver |
| Accent | #dae2d4gainsboro | #30352cdarkslategray |
| Accent foreground | #405035darkslategray | #c9cfc4silver |
| Destructive | #8a200fdarkred | #e94d35tomato |
| Destructive foreground | #fad7d1bisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0d1a04black | #0d1a04black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.91:1 | AAA |
| Primary button | 8.65:1 | AAA |
| Secondary button | 6.56:1 | AA |
| Muted text | 7.25:1 | AAA |
| Accent | 6.56:1 | AA |
| Destructive | 6.87:1 | AA |
| Text on background | 18.77:1 | AAA |
| Text on card | 18.53:1 | AAA |
| Primary button | 8.65:1 | AAA |
| Secondary button | 7.88:1 | AAA |
| Muted text | 8.37:1 | AAA |
| Accent | 7.88:1 | AAA |
| Destructive | 3.77:1 | AA Large |
Paste this into your globals.css to use Dealing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 131.762);
--foreground: oklch(0.099 0.015 130.439);
--muted: oklch(0.917 0.017 131.878);
--muted-foreground: oklch(0.398 0.015 132.037);
--popover: oklch(0.981 0.007 131.782);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.981 0.007 131.782);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.201 0.046 133.341);
--primary-foreground: oklch(0.752 0.215 136.262);
--secondary: oklch(0.904 0.021 131.917);
--secondary-foreground: oklch(0.408 0.047 132.755);
--accent: oklch(0.904 0.021 131.917);
--accent-foreground: oklch(0.408 0.047 132.755);
--destructive: oklch(0.417 0.144 31.655);
--destructive-foreground: oklch(0.906 0.04 28.225);
--ring: oklch(0.201 0.046 133.341);
--chart-1: oklch(0.201 0.046 133.341);
--chart-2: oklch(0.904 0.021 131.917);
--chart-3: oklch(0.904 0.021 131.917);
--chart-4: oklch(0.925 0.017 131.871);
--chart-5: oklch(0.202 0.047 133.351);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.159 0.023 131.544);
--foreground: oklch(0.988 0.006 131.772);
--muted: oklch(0.251 0.023 132.536);
--muted-foreground: oklch(0.796 0.013 131.854);
--popover: oklch(0.174 0.027 132.603);
--popover-foreground: oklch(0.994 0.003 131.748);
--card: oklch(0.174 0.027 132.603);
--card-foreground: oklch(0.994 0.003 131.748);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.201 0.046 133.341);
--primary-foreground: oklch(0.752 0.215 136.262);
--secondary: oklch(0.321 0.018 132.208);
--secondary-foreground: oklch(0.846 0.016 131.881);
--accent: oklch(0.321 0.018 132.208);
--accent-foreground: oklch(0.846 0.016 131.881);
--destructive: oklch(0.634 0.196 31.516);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.201 0.046 133.341);
--chart-1: oklch(0.201 0.046 133.341);
--chart-2: oklch(0.321 0.018 132.208);
--chart-3: oklch(0.321 0.018 132.208);
--chart-4: oklch(0.353 0.021 132.224);
--chart-5: oklch(0.202 0.047 133.351);
}