Shaker is a shadcn/ui theme built around a vivid teal primary color (#118868) with muted light teal accents (#b6cec8). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#118868) on a teal-tinted background (#060e0c).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #060e0cblack |
| Foreground | #041511black | #f5faf8mintcream |
| Card | #fcfcfcsnow | #08120fblack |
| Card foreground | #04110dblack | #f8fcfbmintcream |
| Popover | #ffffffwhite | #060e0cblack |
| Popover foreground | #041511black | #f5faf8mintcream |
| Primary | #118868teal | #118868teal |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2dad8lightgrey | #303030darkslategray |
| Secondary foreground | #374340darkslategray | #c9c9c9silver |
| Muted | #dfe7e5gainsboro | #201818black |
| Muted foreground | #536560dimgray | #ac9a9adarkgray |
| Accent | #b6cec8silver | #443c3cdarkslategray |
| Accent foreground | #21312ddarkslategray | #dbd6d6gainsboro |
| Destructive | #882101darkred | #fd450dorangered |
| Destructive foreground | #fecdbdpeachpuff | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #118868teal | #118868teal |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.74:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 4.41:1 | AA Large |
| Secondary button | 7.25:1 | AAA |
| Muted text | 4.91:1 | AA |
| Accent | 8.19:1 | AAA |
| Destructive | 6.47:1 | AA |
| Text on background | 18.47:1 | AAA |
| Text on card | 18.42:1 | AAA |
| Primary button | 4.41:1 | AA Large |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.51:1 | AA |
| Accent | 7.47:1 | AAA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Shaker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.179 0.026 174.647);
--muted: oklch(0.921 0.009 178.485);
--muted-foreground: oklch(0.49 0.024 177.323);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.179 0.026 174.647);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.162 0.022 175.96);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.559 0.109 168.434);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.882 0.009 178.478);
--secondary-foreground: oklch(0.372 0.017 177.413);
--accent: oklch(0.831 0.028 177.787);
--accent-foreground: oklch(0.297 0.023 176.305);
--destructive: oklch(0.415 0.143 35.263);
--destructive-foreground: oklch(0.886 0.061 37.592);
--ring: oklch(0.559 0.109 168.434);
--chart-1: oklch(0.559 0.109 168.434);
--chart-2: oklch(0.882 0.009 178.478);
--chart-3: oklch(0.831 0.028 177.787);
--chart-4: oklch(0.905 0.008 178.543);
--chart-5: oklch(0.565 0.111 168.073);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.155 0.014 176.947);
--foreground: oklch(0.98 0.005 178.623);
--muted: oklch(0.219 0.014 18.241);
--muted-foreground: oklch(0.702 0.022 17.681);
--popover: oklch(0.155 0.014 176.947);
--popover-foreground: oklch(0.98 0.005 178.623);
--card: oklch(0.17 0.016 175.89);
--card-foreground: oklch(0.987 0.004 178.678);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.559 0.109 168.434);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.311 0 180);
--secondary-foreground: oklch(0.837 0 171.254);
--accent: oklch(0.364 0.011 17.653);
--accent-foreground: oklch(0.881 0.005 17.253);
--destructive: oklch(0.656 0.227 34.763);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.559 0.109 168.434);
--chart-1: oklch(0.559 0.109 168.434);
--chart-2: oklch(0.311 0 180);
--chart-3: oklch(0.364 0.011 17.653);
--chart-4: oklch(0.341 0 158.199);
--chart-5: oklch(0.565 0.111 168.073);
}