Misty is a shadcn/ui theme built around a cyan primary color (#5fbed3) with red accents (#d3745f). The light mode uses a neutral background (#f7fcfd). Dark mode keeps the cyan primary (#5fbed3) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fcfdghostwhite | #000000black |
| Foreground | #020708black | #ffffffwhite |
| Card | #f3fafcaliceblue | #030303black |
| Card foreground | #010304black | #ffffffwhite |
| Popover | #f7fcfdghostwhite | #000000black |
| Popover foreground | #020708black | #ffffffwhite |
| Primary | #5fbed3mediumturquoise | #5fbed3mediumturquoise |
| Primary foreground | #000000black | #000000black |
| Secondary | #d3745findianred | #d3745findianred |
| Secondary foreground | #000000black | #000000black |
| Muted | #edddd9gainsboro | #261612black |
| Muted foreground | #404040darkslategray | #bfbfbfsilver |
| Accent | #d3745findianred | #d3745findianred |
| Accent foreground | #000000black | #000000black |
| Destructive | #a01303darkred | #fa220ared |
| Destructive foreground | #fedbd7mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5fbed3mediumturquoise | #5fbed3mediumturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 9.77:1 | AAA |
| Secondary button | 6.44:1 | AA |
| Muted text | 7.84:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 6.31:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 9.77:1 | AAA |
| Secondary button | 6.44:1 | AA |
| Muted text | 9.48:1 | AAA |
| Accent | 6.44:1 | AA |
| Destructive | 3.96:1 | AA Large |
Paste this into your globals.css to use Misty in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.006 212.666);
--foreground: oklch(0.121 0.012 208.974);
--muted: oklch(0.908 0.019 32.675);
--muted-foreground: oklch(0.371 0 168.69);
--popover: oklch(0.987 0.006 212.666);
--popover-foreground: oklch(0.121 0.012 208.974);
--card: oklch(0.981 0.008 212.669);
--card-foreground: oklch(0.096 0.009 208.974);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.751 0.094 214.371);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.661 0.124 33.698);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.124 33.698);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.451 0.175 30.592);
--destructive-foreground: oklch(0.92 0.04 25.4);
--ring: oklch(0.751 0.094 214.371);
--chart-1: oklch(0.751 0.094 214.371);
--chart-2: oklch(0.661 0.124 33.698);
--chart-3: oklch(0.661 0.124 33.698);
--chart-4: oklch(0.685 0.114 33.528);
--chart-5: oklch(0.756 0.098 214.547);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.22 0.028 33.234);
--muted-foreground: oklch(0.805 0 169.695);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.751 0.094 214.371);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.661 0.124 33.698);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.661 0.124 33.698);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.628 0.245 30.355);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.751 0.094 214.371);
--chart-1: oklch(0.751 0.094 214.371);
--chart-2: oklch(0.661 0.124 33.698);
--chart-3: oklch(0.661 0.124 33.698);
--chart-4: oklch(0.685 0.114 33.528);
--chart-5: oklch(0.756 0.098 214.547);
}