Cheek is a shadcn/ui theme built around a blue primary color (#16408d) with muted light blue accents (#bdc4d1). The light mode uses a neutral background (#fcfcfd). Dark mode keeps the blue primary (#16408d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfcfdwhite | #000000black |
| Foreground | #030812black | #f6f7f9whitesmoke |
| Card | #fcfcfdwhite | #000000black |
| Card foreground | #030812black | #f6f7f9whitesmoke |
| Popover | #fcfcfdwhite | #000000black |
| Popover foreground | #030812black | #f6f7f9whitesmoke |
| Primary | #16408dmidnightblue | #16408dmidnightblue |
| Primary foreground | #dce6f9lavender | #dce6f9lavender |
| Secondary | #dddfe4gainsboro | #141415black |
| Secondary foreground | #3f4550darkslategray | #aaacb1darkgray |
| Muted | #e3e5e8gainsboro | #17191cblack |
| Muted foreground | #5c616adimgray | #9599a3darkgray |
| Accent | #bdc4d1silver | #1f2228black |
| Accent foreground | #262b36darkslategray | #b5bac5silver |
| Destructive | #9f440fsaddlebrown | #e96316chocolate |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #16408dmidnightblue | #16408dmidnightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 7.79:1 | AAA |
| Secondary button | 7.24:1 | AAA |
| Muted text | 4.91:1 | AA |
| Accent | 8.07:1 | AAA |
| Destructive | 6.38:1 | AA |
| Text on background | 19.59:1 | AAA |
| Text on card | 19.59:1 | AAA |
| Primary button | 7.79:1 | AAA |
| Secondary button | 8.10:1 | AAA |
| Muted text | 6.19:1 | AA |
| Accent | 8.15:1 | AAA |
| Destructive | 6.28:1 | AA |
Paste this into your globals.css to use Cheek in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.002 263.051);
--foreground: oklch(0.132 0.026 254.741);
--muted: oklch(0.92 0.005 263.043);
--muted-foreground: oklch(0.493 0.016 262.968);
--popover: oklch(0.991 0.002 263.051);
--popover-foreground: oklch(0.132 0.026 254.741);
--card: oklch(0.991 0.002 263.051);
--card-foreground: oklch(0.132 0.026 254.741);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.391 0.137 261.399);
--primary-foreground: oklch(0.923 0.029 262.971);
--secondary: oklch(0.904 0.007 263.039);
--secondary-foreground: oklch(0.389 0.021 262.877);
--accent: oklch(0.818 0.02 262.994);
--accent-foreground: oklch(0.29 0.021 262.768);
--destructive: oklch(0.499 0.135 44.932);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.391 0.137 261.399);
--chart-1: oklch(0.391 0.137 261.399);
--chart-2: oklch(0.904 0.007 263.039);
--chart-3: oklch(0.818 0.02 262.994);
--chart-4: oklch(0.928 0.005 263.044);
--chart-5: oklch(0.391 0.142 261.42);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.003 263.048);
--muted: oklch(0.211 0.008 262.948);
--muted-foreground: oklch(0.683 0.014 263.005);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.003 263.048);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.003 263.048);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.391 0.137 261.399);
--primary-foreground: oklch(0.923 0.029 262.971);
--secondary: oklch(0.192 0.002 263.03);
--secondary-foreground: oklch(0.745 0.007 263.037);
--accent: oklch(0.253 0.011 262.913);
--accent-foreground: oklch(0.789 0.016 263.008);
--destructive: oklch(0.66 0.184 44.237);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.391 0.137 261.399);
--chart-1: oklch(0.391 0.137 261.399);
--chart-2: oklch(0.192 0.002 263.03);
--chart-3: oklch(0.253 0.011 262.913);
--chart-4: oklch(0.225 0.003 263.026);
--chart-5: oklch(0.391 0.142 261.42);
}