Application is a shadcn/ui theme built around a muted deep green primary color (#2f4134) with muted deep orange accents (#41342f). The light mode uses a neutral background (#f8fcf9). Dark mode keeps the muted deep green primary (#2f4134) on a neutral background (#020302).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcf9mintcream | #020302black |
| Foreground | #020903black | #f6f8f7whitesmoke |
| Card | #f8fcf9mintcream | #020302black |
| Card foreground | #020903black | #f6f8f7whitesmoke |
| Popover | #f8fcf9mintcream | #020302black |
| Popover foreground | #020903black | #f6f8f7whitesmoke |
| Primary | #2f4134darkslategray | #2f4134darkslategray |
| Primary foreground | #cad8celightgrey | #cad8celightgrey |
| Secondary | #342f41darkslategray | #342f41darkslategray |
| Secondary foreground | #cecad8lightgrey | #cecad8lightgrey |
| Muted | #d8d7dbgainsboro | #252428darkslategray |
| Muted foreground | #3e3a4bdarkslategray | #b9b4c5silver |
| Accent | #41342fdarkslategray | #41342fdarkslategray |
| Accent foreground | #d8cecalightgrey | #d8cecalightgrey |
| Destructive | #b34c14sienna | #d85b18chocolate |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #2f4134darkslategray | #2f4134darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 7.65:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 5.31:1 | AA |
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.37:1 | AAA |
| Secondary button | 8.01:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 7.74:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Application in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 154.413);
--foreground: oklch(0.124 0.023 153.808);
--muted: oklch(0.881 0.005 298.461);
--muted-foreground: oklch(0.359 0.03 297.084);
--popover: oklch(0.987 0.006 154.413);
--popover-foreground: oklch(0.124 0.023 153.808);
--card: oklch(0.987 0.006 154.413);
--card-foreground: oklch(0.124 0.023 153.808);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.356 0.032 152.791);
--primary-foreground: oklch(0.869 0.022 154.083);
--secondary: oklch(0.318 0.032 296.764);
--secondary-foreground: oklch(0.846 0.021 298.14);
--accent: oklch(0.338 0.021 40.962);
--accent-foreground: oklch(0.858 0.013 41.19);
--destructive: oklch(0.543 0.149 43.86);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.356 0.032 152.791);
--chart-1: oklch(0.356 0.032 152.791);
--chart-2: oklch(0.318 0.032 296.764);
--chart-3: oklch(0.338 0.021 40.962);
--chart-4: oklch(0.345 0.036 296.714);
--chart-5: oklch(0.359 0.038 152.466);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.095 0.01 154.148);
--foreground: oklch(0.978 0.003 154.476);
--muted: oklch(0.264 0.007 298.092);
--muted-foreground: oklch(0.779 0.025 298.012);
--popover: oklch(0.095 0.01 154.148);
--popover-foreground: oklch(0.978 0.003 154.476);
--card: oklch(0.095 0.01 154.148);
--card-foreground: oklch(0.978 0.003 154.476);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.356 0.032 152.791);
--primary-foreground: oklch(0.869 0.022 154.083);
--secondary: oklch(0.318 0.032 296.764);
--secondary-foreground: oklch(0.846 0.021 298.14);
--accent: oklch(0.338 0.021 40.962);
--accent-foreground: oklch(0.858 0.013 41.19);
--destructive: oklch(0.622 0.172 43.569);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.356 0.032 152.791);
--chart-1: oklch(0.356 0.032 152.791);
--chart-2: oklch(0.318 0.032 296.764);
--chart-3: oklch(0.338 0.021 40.962);
--chart-4: oklch(0.345 0.036 296.714);
--chart-5: oklch(0.359 0.038 152.466);
}