Salute is a shadcn/ui theme built around a light green primary color (#deeab3) with light purple accents (#eab3de). The light mode uses a neutral background (#fdfefb). Dark mode keeps the light green primary (#deeab3) on a neutral background (#030401).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfefbwhite | #030401black |
| Foreground | #0b0d02black | #fbfbf8snow |
| Card | #fdfefbwhite | #030401black |
| Card foreground | #0b0d02black | #fbfbf8snow |
| Popover | #fdfefbwhite | #030401black |
| Popover foreground | #0b0d02black | #fbfbf8snow |
| Primary | #deeab3palegoldenrod | #deeab3palegoldenrod |
| Primary foreground | #475418darkolivegreen | #475418darkolivegreen |
| Secondary | #b3deeapowderblue | #b3deeapowderblue |
| Secondary foreground | #184754darkslategray | #184754darkslategray |
| Muted | #dce3e4gainsboro | #1b2123black |
| Muted foreground | #5f6a6ddimgray | #929da0darkgray |
| Accent | #eab3dethistle | #eab3dethistle |
| Accent foreground | #541847indigo | #541847indigo |
| Destructive | #750a0amaroon | #ee3a3acrimson |
| Destructive foreground | #f9b9b9lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #deeab3palegoldenrod | #deeab3palegoldenrod |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.36:1 | AAA |
| Text on card | 19.36:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 4.27:1 | AA Large |
| Accent | 7.52:1 | AAA |
| Destructive | 7.00:1 | AAA |
| Text on background | 19.82:1 | AAA |
| Text on card | 19.82:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 7.03:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.52:1 | AAA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Salute in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.996 0.004 116.411);
--foreground: oklch(0.152 0.026 117.491);
--muted: oklch(0.911 0.007 216.045);
--muted-foreground: oklch(0.516 0.015 216.17);
--popover: oklch(0.996 0.004 116.411);
--popover-foreground: oklch(0.152 0.026 117.491);
--card: oklch(0.996 0.004 116.411);
--card-foreground: oklch(0.152 0.026 117.491);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.914 0.072 117.778);
--primary-foreground: oklch(0.42 0.085 120.678);
--secondary: oklch(0.874 0.047 216.428);
--secondary-foreground: oklch(0.37 0.055 219.412);
--accent: oklch(0.83 0.084 334.099);
--accent-foreground: oklch(0.323 0.107 337.497);
--destructive: oklch(0.36 0.139 27.947);
--destructive-foreground: oklch(0.843 0.075 18.752);
--ring: oklch(0.914 0.072 117.778);
--chart-1: oklch(0.914 0.072 117.778);
--chart-2: oklch(0.874 0.047 216.428);
--chart-3: oklch(0.83 0.084 334.099);
--chart-4: oklch(0.894 0.04 216.319);
--chart-5: oklch(0.917 0.076 117.848);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.102 0.014 116.75);
--foreground: oklch(0.988 0.004 116.408);
--muted: oklch(0.242 0.01 216.273);
--muted-foreground: oklch(0.688 0.014 216.111);
--popover: oklch(0.102 0.014 116.75);
--popover-foreground: oklch(0.988 0.004 116.408);
--card: oklch(0.102 0.014 116.75);
--card-foreground: oklch(0.988 0.004 116.408);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.914 0.072 117.778);
--primary-foreground: oklch(0.42 0.085 120.678);
--secondary: oklch(0.874 0.047 216.428);
--secondary-foreground: oklch(0.37 0.055 219.412);
--accent: oklch(0.83 0.084 334.099);
--accent-foreground: oklch(0.323 0.107 337.497);
--destructive: oklch(0.625 0.216 26.117);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.914 0.072 117.778);
--chart-1: oklch(0.914 0.072 117.778);
--chart-2: oklch(0.874 0.047 216.428);
--chart-3: oklch(0.83 0.084 334.099);
--chart-4: oklch(0.894 0.04 216.319);
--chart-5: oklch(0.917 0.076 117.848);
}