Sandy is a shadcn/ui theme built around a vivid light teal primary color (#a6f7e4) with vivid light red accents (#f7a6b9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#a6f7e4) on a neutral background (#020807).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020807black |
| Foreground | #04110eblack | #f8fcfbmintcream |
| Card | #ffffffwhite | #020807black |
| Card foreground | #04110eblack | #f8fcfbmintcream |
| Popover | #ffffffwhite | #020807black |
| Popover foreground | #04110eblack | #f8fcfbmintcream |
| Primary | #a6f7e4paleturquoise | #a6f7e4paleturquoise |
| Primary foreground | #000504black | #000504black |
| Secondary | #f7a6b9lightpink | #f7a6b9lightpink |
| Secondary foreground | #62091emaroon | #62091emaroon |
| Muted | #f0e6e8linen | #1a0f12black |
| Muted foreground | #61484ddimgray | #b79ea4darkgray |
| Accent | #f7a6b9lightpink | #f7a6b9lightpink |
| Accent foreground | #62091emaroon | #62091emaroon |
| Destructive | #963903saddlebrown | #fa6c19chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a6f7e4paleturquoise | #a6f7e4paleturquoise |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.23:1 | AAA |
| Text on card | 19.23:1 | AAA |
| Primary button | 16.63:1 | AAA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 6.73:1 | AA |
| Accent | 7.05:1 | AAA |
| Destructive | 7.29:1 | AAA |
| Text on background | 19.52:1 | AAA |
| Text on card | 19.52:1 | AAA |
| Primary button | 16.63:1 | AAA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 7.52:1 | AAA |
| Accent | 7.05:1 | AAA |
| Destructive | 7.22:1 | AAA |
Paste this into your globals.css to use Sandy in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.161 0.021 178.284);
--muted: oklch(0.932 0.011 1.303);
--muted-foreground: oklch(0.429 0.036 3.199);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.161 0.021 178.284);
--card: oklch(1 0 180);
--card-foreground: oklch(0.161 0.021 178.284);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.918 0.083 178.069);
--primary-foreground: oklch(0.102 0.016 180.944);
--secondary: oklch(0.809 0.097 4.212);
--secondary-foreground: oklch(0.322 0.119 15.697);
--accent: oklch(0.809 0.097 4.212);
--accent-foreground: oklch(0.322 0.119 15.697);
--destructive: oklch(0.469 0.137 43.087);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.918 0.083 178.069);
--chart-1: oklch(0.918 0.083 178.069);
--chart-2: oklch(0.809 0.097 4.212);
--chart-3: oklch(0.809 0.097 4.212);
--chart-4: oklch(0.838 0.081 3.566);
--chart-5: oklch(0.921 0.086 177.969);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.124 0.014 180.949);
--foreground: oklch(0.987 0.004 180.848);
--muted: oklch(0.185 0.018 3.562);
--muted-foreground: oklch(0.724 0.031 2.121);
--popover: oklch(0.124 0.014 180.949);
--popover-foreground: oklch(0.987 0.004 180.848);
--card: oklch(0.124 0.014 180.949);
--card-foreground: oklch(0.987 0.004 180.848);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.918 0.083 178.069);
--primary-foreground: oklch(0.102 0.016 180.944);
--secondary: oklch(0.809 0.097 4.212);
--secondary-foreground: oklch(0.322 0.119 15.697);
--accent: oklch(0.809 0.097 4.212);
--accent-foreground: oklch(0.322 0.119 15.697);
--destructive: oklch(0.697 0.193 44.355);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.918 0.083 178.069);
--chart-1: oklch(0.918 0.083 178.069);
--chart-2: oklch(0.809 0.097 4.212);
--chart-3: oklch(0.809 0.097 4.212);
--chart-4: oklch(0.838 0.081 3.566);
--chart-5: oklch(0.921 0.086 177.969);
}