Mission is a shadcn/ui theme built around a vivid light teal primary color (#99fae7) with vivid light cyan accents (#99ddfa). The light mode uses a neutral background (#fbfefd). Dark mode keeps the vivid light teal primary (#99fae7) on a neutral background (#010403).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #010403black |
| Foreground | #000000black | #ffffffwhite |
| Card | #f8fcfbmintcream | #030706black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #f8fcfbmintcream | #030706black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #99fae7paleturquoise | #99fae7paleturquoise |
| Primary foreground | #045d4bdarkslategray | #045d4bdarkslategray |
| Secondary | #99fab6palegreen | #99fab6palegreen |
| Secondary foreground | #045d1fdarkgreen | #045d1fdarkgreen |
| Muted | #dceae0gainsboro | #152319black |
| Muted foreground | #484b49darkslategray | #b4b7b4silver |
| Accent | #99ddfalightskyblue | #99ddfalightskyblue |
| Accent foreground | #04425ddarkslategray | #04425ddarkslategray |
| Destructive | #85240fsaddlebrown | #eb6547tomato |
| Destructive foreground | #f9d5cdbisque | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #99fae7paleturquoise | #99fae7paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.66:1 | AAA |
| Text on card | 20.32:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 7.10:1 | AAA |
| Accent | 7.24:1 | AAA |
| Destructive | 6.81:1 | AA |
| Text on background | 20.60:1 | AAA |
| Text on card | 20.22:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 6.45:1 | AA |
| Muted text | 8.04:1 | AAA |
| Accent | 7.24:1 | AAA |
| Destructive | 6.48:1 | AA |
Paste this into your globals.css to use Mission in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 183.114);
--foreground: oklch(0 0 0);
--muted: oklch(0.924 0.021 155.437);
--muted-foreground: oklch(0.411 0.005 155.629);
--popover: oklch(0.988 0.005 183.043);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.988 0.005 183.043);
--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.92 0.097 179.831);
--primary-foreground: oklch(0.426 0.08 173.578);
--secondary: oklch(0.908 0.132 152.642);
--secondary-foreground: oklch(0.416 0.121 146.939);
--accent: oklch(0.862 0.079 226.655);
--accent-foreground: oklch(0.358 0.072 234.04);
--destructive: oklch(0.414 0.135 33.814);
--destructive-foreground: oklch(0.901 0.043 32.749);
--ring: oklch(0.92 0.097 179.831);
--chart-1: oklch(0.92 0.097 179.831);
--chart-2: oklch(0.908 0.132 152.642);
--chart-3: oklch(0.862 0.079 226.655);
--chart-4: oklch(0.919 0.114 153.192);
--chart-5: oklch(0.923 0.099 179.726);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.097 0.009 183.061);
--foreground: oklch(1 0 180);
--muted: oklch(0.241 0.028 153.39);
--muted-foreground: oklch(0.775 0.004 155.761);
--popover: oklch(0.123 0.011 183.061);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.123 0.011 183.061);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.92 0.097 179.831);
--primary-foreground: oklch(0.426 0.08 173.578);
--secondary: oklch(0.908 0.132 152.642);
--secondary-foreground: oklch(0.416 0.121 146.939);
--accent: oklch(0.862 0.079 226.655);
--accent-foreground: oklch(0.358 0.072 234.04);
--destructive: oklch(0.669 0.172 34.12);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.92 0.097 179.831);
--chart-1: oklch(0.92 0.097 179.831);
--chart-2: oklch(0.908 0.132 152.642);
--chart-3: oklch(0.862 0.079 226.655);
--chart-4: oklch(0.919 0.114 153.192);
--chart-5: oklch(0.923 0.099 179.726);
}