Sake is a shadcn/ui theme built around a vivid light yellow primary color (#f6e292) with vivid light blue accents (#92a6f6). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light yellow primary (#f6e292) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080702black | #faf9f4whitesmoke |
| Card | #fcfcfcsnow | #030303black |
| Card foreground | #040301black | #fcfbf8snow |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #080702black | #faf9f4whitesmoke |
| Primary | #f6e292khaki | #f6e292khaki |
| Primary foreground | #504107darkolivegreen | #504107darkolivegreen |
| Secondary | #92a6f6lightskyblue | #92a6f6lightskyblue |
| Secondary foreground | #071550midnightblue | #071550midnightblue |
| Muted | #ebecf0lavender | #0f1014black |
| Muted foreground | #5d5e5fdimgray | #a0a0a2darkgray |
| Accent | #92a6f6lightskyblue | #92a6f6lightskyblue |
| Accent foreground | #071550midnightblue | #071550midnightblue |
| Destructive | #681008maroon | #d52110firebrick |
| Destructive foreground | #f9b0aalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f6e292khaki | #f6e292khaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.16:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 7.34:1 | AAA |
| Muted text | 5.48:1 | AA |
| Accent | 7.34:1 | AAA |
| Destructive | 7.07:1 | AAA |
| Text on background | 19.92:1 | AAA |
| Text on card | 19.98:1 | AAA |
| Primary button | 7.73:1 | AAA |
| Secondary button | 7.34:1 | AAA |
| Muted text | 7.26:1 | AAA |
| Accent | 7.34:1 | AAA |
| Destructive | 5.16:1 | AA |
Paste this into your globals.css to use Sake in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.127 0.016 99.499);
--muted: oklch(0.942 0.005 274.963);
--muted-foreground: oklch(0.481 0.002 274.972);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.127 0.016 99.499);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.101 0.013 99.499);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.912 0.102 95.786);
--primary-foreground: oklch(0.382 0.074 93.464);
--secondary: oklch(0.743 0.118 272.546);
--secondary-foreground: oklch(0.235 0.109 266.088);
--accent: oklch(0.743 0.118 272.546);
--accent-foreground: oklch(0.235 0.109 266.088);
--destructive: oklch(0.337 0.123 30.009);
--destructive-foreground: oklch(0.824 0.086 24.903);
--ring: oklch(0.912 0.102 95.786);
--chart-1: oklch(0.912 0.102 95.786);
--chart-2: oklch(0.743 0.118 272.546);
--chart-3: oklch(0.743 0.118 272.546);
--chart-4: oklch(0.776 0.101 273.053);
--chart-5: oklch(0.916 0.105 95.781);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.982 0.006 95.109);
--muted: oklch(0.175 0.008 274.395);
--muted-foreground: oklch(0.706 0.002 274.996);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.982 0.006 95.109);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.988 0.004 95.084);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.912 0.102 95.786);
--primary-foreground: oklch(0.382 0.074 93.464);
--secondary: oklch(0.743 0.118 272.546);
--secondary-foreground: oklch(0.235 0.109 266.088);
--accent: oklch(0.743 0.118 272.546);
--accent-foreground: oklch(0.235 0.109 266.088);
--destructive: oklch(0.56 0.214 30.093);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.912 0.102 95.786);
--chart-1: oklch(0.912 0.102 95.786);
--chart-2: oklch(0.743 0.118 272.546);
--chart-3: oklch(0.743 0.118 272.546);
--chart-4: oklch(0.776 0.101 273.053);
--chart-5: oklch(0.916 0.105 95.781);
}