Sandy is a shadcn/ui theme built around a neutral gray primary color (#968d88) with muted light orange accents (#d3cdca). The light mode uses a neutral background (#ffffff). Dark mode keeps the neutral gray primary (#968d88) on a neutral background (#080503).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #080503black |
| Foreground | #0f0905black | #fdfcfcsnow |
| Card | #fcfcfcsnow | #0b0704black |
| Card foreground | #0c0704black | #ffffffwhite |
| Popover | #fcfcfcsnow | #0b0704black |
| Popover foreground | #0c0704black | #ffffffwhite |
| Primary | #968d88gray | #968d88gray |
| Primary foreground | #000000black | #000000black |
| Secondary | #dfdeddgainsboro | #211e1cblack |
| Secondary foreground | #484442darkslategray | #beb6b1silver |
| Muted | #e1d7d0gainsboro | #2f241edarkslategray |
| Muted foreground | #6e645edimgray | #a19791rosybrown |
| Accent | #d3cdcalightgrey | #382f29darkslategray |
| Accent foreground | #3b3430darkslategray | #d2c7c1silver |
| Destructive | #610805maroon | #f4130bred |
| Destructive foreground | #faa19elightsalmon | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #968d88gray | #968d88gray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.78:1 | AAA |
| Text on card | 19.61:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 7.14:1 | AAA |
| Muted text | 4.06:1 | AA Large |
| Accent | 7.79:1 | AAA |
| Destructive | 6.88:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 20.07:1 | AAA |
| Primary button | 6.46:1 | AA |
| Secondary button | 8.29:1 | AAA |
| Muted text | 5.27:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 4.26:1 | AA Large |
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.147 0.015 58.913);
--muted: oklch(0.885 0.014 54.282);
--muted-foreground: oklch(0.511 0.016 54.079);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.133 0.013 61.719);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.133 0.013 61.719);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.65 0.013 54.243);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.9 0.002 54.471);
--secondary-foreground: oklch(0.39 0.006 54.301);
--accent: oklch(0.853 0.008 54.37);
--accent-foreground: oklch(0.332 0.012 54.026);
--destructive: oklch(0.316 0.122 29.142);
--destructive-foreground: oklch(0.797 0.107 21.9);
--ring: oklch(0.65 0.013 54.243);
--chart-1: oklch(0.65 0.013 54.243);
--chart-2: oklch(0.9 0.002 54.471);
--chart-3: oklch(0.853 0.008 54.37);
--chart-4: oklch(0.923 0.002 54.48);
--chart-5: oklch(0.65 0.019 54.114);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.116 0.011 61.898);
--foreground: oklch(0.992 0.001 54.493);
--muted: oklch(0.271 0.02 53.532);
--muted-foreground: oklch(0.684 0.015 54.207);
--popover: oklch(0.133 0.013 61.582);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.133 0.013 61.582);
--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.65 0.013 54.243);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.238 0.007 54.13);
--secondary-foreground: oklch(0.782 0.011 54.306);
--accent: oklch(0.312 0.017 53.758);
--accent-foreground: oklch(0.838 0.015 54.262);
--destructive: oklch(0.611 0.245 29.27);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.65 0.013 54.243);
--chart-1: oklch(0.65 0.013 54.243);
--chart-2: oklch(0.238 0.007 54.13);
--chart-3: oklch(0.312 0.017 53.758);
--chart-4: oklch(0.27 0.008 54.106);
--chart-5: oklch(0.65 0.019 54.114);
}