Buckwheat is a shadcn/ui theme built around a teal primary color (#46af98) with yellow accents (#af9846). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#46af98) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfefdwhite | #000000black |
| Foreground | #051411black | #f9fbfamintcream |
| Card | #f7fdfbmintcream | #030303black |
| Card foreground | #04100eblack | #fcfdfdwhite |
| Popover | #f7fdfbmintcream | #030303black |
| Popover foreground | #04100eblack | #fcfdfdwhite |
| Primary | #46af98cadetblue | #46af98cadetblue |
| Primary foreground | #0c1d19black | #0c1d19black |
| Secondary | #9846afdarkorchid | #9846afdarkorchid |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #f3eaf5whitesmoke | #120a15black |
| Muted foreground | #453649darkslategray | #c5b6c9silver |
| Accent | #af9846peru | #af9846peru |
| Accent foreground | #1d190cblack | #1d190cblack |
| Destructive | #9a130edarkred | #ed413btomato |
| Destructive foreground | #fcdfdemistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #46af98cadetblue | #46af98cadetblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.55:1 | AAA |
| Text on card | 18.75:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 5.48:1 | AA |
| Muted text | 9.55:1 | AAA |
| Accent | 6.19:1 | AA |
| Destructive | 6.77:1 | AA |
| Text on background | 20.20:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 6.51:1 | AA |
| Secondary button | 5.48:1 | AA |
| Muted text | 10.09:1 | AAA |
| Accent | 6.19:1 | AA |
| Destructive | 3.88:1 | AA Large |
Paste this into your globals.css to use Buckwheat in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.003 181.983);
--foreground: oklch(0.177 0.023 178.482);
--muted: oklch(0.948 0.016 318.884);
--muted-foreground: oklch(0.358 0.038 318.845);
--popover: oklch(0.989 0.006 181.898);
--popover-foreground: oklch(0.16 0.02 179.565);
--card: oklch(0.989 0.006 181.898);
--card-foreground: oklch(0.16 0.02 179.565);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.687 0.103 176.322);
--primary-foreground: oklch(0.215 0.025 178.19);
--secondary: oklch(0.543 0.174 318.397);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.684 0.106 93.971);
--accent-foreground: oklch(0.215 0.025 94.448);
--destructive: oklch(0.439 0.168 28.806);
--destructive-foreground: oklch(0.928 0.032 20.106);
--ring: oklch(0.687 0.103 176.322);
--chart-1: oklch(0.687 0.103 176.322);
--chart-2: oklch(0.543 0.174 318.397);
--chart-3: oklch(0.684 0.106 93.971);
--chart-4: oklch(0.567 0.177 318.438);
--chart-5: oklch(0.695 0.108 175.945);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.986 0.002 182.013);
--muted: oklch(0.162 0.025 318.803);
--muted-foreground: oklch(0.794 0.031 318.876);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.001 182.04);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 182.04);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.687 0.103 176.322);
--primary-foreground: oklch(0.215 0.025 178.19);
--secondary: oklch(0.543 0.174 318.397);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.684 0.106 93.971);
--accent-foreground: oklch(0.215 0.025 94.448);
--destructive: oklch(0.629 0.209 27.134);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.687 0.103 176.322);
--chart-1: oklch(0.687 0.103 176.322);
--chart-2: oklch(0.543 0.174 318.397);
--chart-3: oklch(0.684 0.106 93.971);
--chart-4: oklch(0.567 0.177 318.438);
--chart-5: oklch(0.695 0.108 175.945);
}