Material Theme Deepforest is a shadcn/ui theme built around a light green primary color (#c4edd5) with muted deep teal accents (#324e49). The light mode uses a teal-tinted background (#141f1d). Dark mode keeps the light green primary (#c4edd5) on a teal-tinted background (#141f1d).
| Token | Light | Dark |
|---|---|---|
| Background | #141f1dblack | #141f1dblack |
| Foreground | #c4edd5powderblue | #c4edd5powderblue |
| Card | #101917black | #101917black |
| Card foreground | #d8f3e3gainsboro | #d8f3e3gainsboro |
| Popover | #0e1614black | #0e1614black |
| Popover foreground | #ebf9f1honeydew | #ebf9f1honeydew |
| Primary | #c4edd5powderblue | #c4edd5powderblue |
| Primary foreground | #06140bblack | #06140bblack |
| Secondary | #2d533cdarkslategray | #2d533cdarkslategray |
| Secondary foreground | #cde4d6gainsboro | #cde4d6gainsboro |
| Muted | #222b29darkslategray | #222b29darkslategray |
| Muted foreground | #9bb0addarkgray | #9bb0addarkgray |
| Accent | #324e49darkslategray | #324e49darkslategray |
| Accent foreground | #d0e1degainsboro | #d0e1degainsboro |
| Destructive | #ed2607orangered | #ed2607orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #222b29darkslategray | #222b29darkslategray |
| Input | #283331darkslategray | #283331darkslategray |
| Ring | #c4edd5powderblue | #c4edd5powderblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 13.19:1 | AAA |
| Text on card | 15.22:1 | AAA |
| Primary button | 14.80:1 | AAA |
| Secondary button | 6.50:1 | AA |
| Muted text | 6.38:1 | AA |
| Accent | 6.70:1 | AA |
| Destructive | 4.28:1 | AA Large |
| Text on background | 13.19:1 | AAA |
| Text on card | 15.22:1 | AAA |
| Primary button | 14.80:1 | AAA |
| Secondary button | 6.50:1 | AA |
| Muted text | 6.38:1 | AA |
| Accent | 6.70:1 | AA |
| Destructive | 4.28:1 | AA Large |
Paste this into your globals.css to use Material Theme Deepforest in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.228 0.016 182.227);
--foreground: oklch(0.911 0.054 158.783);
--muted: oklch(0.279 0.013 182.997);
--muted-foreground: oklch(0.741 0.024 183.41);
--popover: oklch(0.191 0.012 182.491);
--popover-foreground: oklch(0.97 0.018 159.799);
--card: oklch(0.203 0.014 182.39);
--card-foreground: oklch(0.94 0.036 159.318);
--border: oklch(0.279 0.013 182.997);
--input: oklch(0.312 0.015 182.938);
--primary: oklch(0.911 0.054 158.783);
--primary-foreground: oklch(0.173 0.027 156.982);
--secondary: oklch(0.406 0.059 156.25);
--secondary-foreground: oklch(0.899 0.031 159.429);
--accent: oklch(0.399 0.035 181.696);
--accent-foreground: oklch(0.897 0.018 183.755);
--destructive: oklch(0.607 0.233 31.077);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.911 0.054 158.783);
--chart-1: oklch(0.911 0.054 158.783);
--chart-2: oklch(0.406 0.059 156.25);
--chart-3: oklch(0.399 0.035 181.696);
--chart-4: oklch(0.439 0.065 156.172);
--chart-5: oklch(0.913 0.057 158.702);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.228 0.016 182.227);
--foreground: oklch(0.911 0.054 158.783);
--muted: oklch(0.279 0.013 182.997);
--muted-foreground: oklch(0.741 0.024 183.41);
--popover: oklch(0.191 0.012 182.491);
--popover-foreground: oklch(0.97 0.018 159.799);
--card: oklch(0.203 0.014 182.39);
--card-foreground: oklch(0.94 0.036 159.318);
--border: oklch(0.279 0.013 182.997);
--input: oklch(0.312 0.015 182.938);
--primary: oklch(0.911 0.054 158.783);
--primary-foreground: oklch(0.173 0.027 156.982);
--secondary: oklch(0.406 0.059 156.25);
--secondary-foreground: oklch(0.899 0.031 159.429);
--accent: oklch(0.399 0.035 181.696);
--accent-foreground: oklch(0.897 0.018 183.755);
--destructive: oklch(0.607 0.233 31.077);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.911 0.054 158.783);
--chart-1: oklch(0.911 0.054 158.783);
--chart-2: oklch(0.406 0.059 156.25);
--chart-3: oklch(0.399 0.035 181.696);
--chart-4: oklch(0.439 0.065 156.172);
--chart-5: oklch(0.913 0.057 158.702);
}