Salute is a shadcn/ui theme built around a light green primary color (#dbf1c5) with muted light green accents (#c1cfb5). The light mode uses a neutral background (#fcfefb). Dark mode keeps the light green primary (#dbf1c5) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfefbwhite | #030401black |
| Foreground | #070c03black | #f7f9f6whitesmoke |
| Card | #fcfefbwhite | #030401black |
| Card foreground | #070c03black | #f7f9f6whitesmoke |
| Popover | #fcfefbwhite | #030401black |
| Popover foreground | #070c03black | #f7f9f6whitesmoke |
| Primary | #dbf1c5gainsboro | #dbf1c5gainsboro |
| Primary foreground | #0f1906black | #0f1906black |
| Secondary | #d9ded4gainsboro | #171b13black |
| Secondary foreground | #3f4837darkslategray | #afbea2darkgray |
| Muted | #f0f3ecwhitesmoke | #0f130cblack |
| Muted foreground | #666a62dimgray | #999d95darkgray |
| Accent | #c1cfb5silver | #26301ddarkslategray |
| Accent foreground | #293120darkslategray | #bfcfafsilver |
| Destructive | #a70601darkred | #e40901red |
| Destructive foreground | #ffdddbmistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #dbf1c5gainsboro | #dbf1c5gainsboro |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.51:1 | AAA |
| Text on card | 19.51:1 | AAA |
| Primary button | 15.00:1 | AAA |
| Secondary button | 6.97:1 | AA |
| Muted text | 4.93:1 | AA |
| Accent | 8.25:1 | AAA |
| Destructive | 6.19:1 | AA |
| Text on background | 19.45:1 | AAA |
| Text on card | 19.45:1 | AAA |
| Primary button | 15.00:1 | AAA |
| Secondary button | 8.90:1 | AAA |
| Muted text | 6.80:1 | AA |
| Accent | 8.39:1 | AAA |
| Destructive | 4.82:1 | AA |
Paste this into your globals.css to use Salute in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.005 129.177);
--foreground: oklch(0.146 0.024 128.116);
--muted: oklch(0.96 0.011 129.242);
--muted-foreground: oklch(0.518 0.014 129.406);
--popover: oklch(0.995 0.005 129.177);
--popover-foreground: oklch(0.146 0.024 128.116);
--card: oklch(0.995 0.005 129.177);
--card-foreground: oklch(0.146 0.024 128.116);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.931 0.063 129.871);
--primary-foreground: oklch(0.197 0.038 131.171);
--secondary: oklch(0.893 0.014 129.298);
--secondary-foreground: oklch(0.389 0.029 129.961);
--accent: oklch(0.836 0.038 129.615);
--accent-foreground: oklch(0.301 0.032 130.343);
--destructive: oklch(0.46 0.186 29.616);
--destructive-foreground: oklch(0.925 0.038 20.214);
--ring: oklch(0.931 0.063 129.871);
--chart-1: oklch(0.931 0.063 129.871);
--chart-2: oklch(0.893 0.014 129.298);
--chart-3: oklch(0.836 0.038 129.615);
--chart-4: oklch(0.915 0.012 129.26);
--chart-5: oklch(0.933 0.066 129.907);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.099 0.012 128.165);
--foreground: oklch(0.98 0.005 129.18);
--muted: oklch(0.18 0.016 130.105);
--muted-foreground: oklch(0.69 0.013 129.321);
--popover: oklch(0.099 0.012 128.165);
--popover-foreground: oklch(0.98 0.005 129.18);
--card: oklch(0.099 0.012 128.165);
--card-foreground: oklch(0.98 0.005 129.18);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.931 0.063 129.871);
--primary-foreground: oklch(0.197 0.038 131.171);
--secondary: oklch(0.215 0.017 130.001);
--secondary-foreground: oklch(0.783 0.043 129.717);
--accent: oklch(0.293 0.036 130.548);
--accent-foreground: oklch(0.834 0.047 129.738);
--destructive: oklch(0.58 0.235 29.493);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.931 0.063 129.871);
--chart-1: oklch(0.931 0.063 129.871);
--chart-2: oklch(0.215 0.017 130.001);
--chart-3: oklch(0.293 0.036 130.548);
--chart-4: oklch(0.251 0.022 130.091);
--chart-5: oklch(0.933 0.066 129.907);
}