Clapboard is a shadcn/ui theme built around a light violet primary color (#f7effa) with light purple accents (#faeff8). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the light violet primary (#f7effa) on a neutral background (#030104).
| Token | Light | Dark |
|---|---|---|
| Background | #fdfbfewhite | #030104black |
| Foreground | #070209black | #fdfcfdwhite |
| Card | #fbf7fdghostwhite | #060208black |
| Card foreground | #030104black | #ffffffwhite |
| Popover | #fbf7fdghostwhite | #060208black |
| Popover foreground | #030104black | #ffffffwhite |
| Primary | #f7effawhitesmoke | #f7effawhitesmoke |
| Primary foreground | #732a8drebeccapurple | #732a8drebeccapurple |
| Secondary | #f2effawhitesmoke | #f2effawhitesmoke |
| Secondary foreground | #412a8ddarkslateblue | #412a8ddarkslateblue |
| Muted | #eae9eclavender | #131316black |
| Muted foreground | #4c475cdarkslategray | #a8a3b8darkgray |
| Accent | #faeff8lavenderblush | #faeff8lavenderblush |
| Accent foreground | #8d2a76purple | #8d2a76purple |
| Destructive | #962803saddlebrown | #e13c05orangered |
| Destructive foreground | #fed9cdbisque | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #f7effawhitesmoke | #f7effawhitesmoke |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.98:1 | AAA |
| Text on card | 19.64:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 9.55:1 | AAA |
| Muted text | 7.33:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 6.16:1 | AA |
| Text on background | 20.29:1 | AAA |
| Text on card | 20.54:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 9.55:1 | AAA |
| Muted text | 7.60:1 | AAA |
| Accent | 6.90:1 | AA |
| Destructive | 4.33:1 | AA Large |
Paste this into your globals.css to use Clapboard in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.004 317.18);
--foreground: oklch(0.103 0.029 319.584);
--muted: oklch(0.935 0.005 296.983);
--muted-foreground: oklch(0.411 0.036 295.492);
--popover: oklch(0.981 0.008 317.17);
--popover-foreground: oklch(0.082 0.023 319.584);
--card: oklch(0.981 0.008 317.17);
--card-foreground: oklch(0.082 0.023 319.584);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.962 0.017 317.149);
--primary-foreground: oklch(0.438 0.164 315.591);
--secondary: oklch(0.958 0.015 296.799);
--secondary-foreground: oklch(0.378 0.155 287.243);
--accent: oklch(0.964 0.016 333.51);
--accent-foreground: oklch(0.464 0.158 338.566);
--destructive: oklch(0.448 0.151 35.876);
--destructive-foreground: oklch(0.914 0.044 39.289);
--ring: oklch(0.962 0.017 317.149);
--chart-1: oklch(0.962 0.017 317.149);
--chart-2: oklch(0.958 0.015 296.799);
--chart-3: oklch(0.964 0.016 333.51);
--chart-4: oklch(0.99 0.004 297.012);
--chart-5: oklch(0.962 0.018 317.147);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.017 318.929);
--foreground: oklch(0.992 0.001 317.186);
--muted: oklch(0.187 0.007 296.357);
--muted-foreground: oklch(0.726 0.031 296.311);
--popover: oklch(0.106 0.021 318.929);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.106 0.021 318.929);
--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.962 0.017 317.149);
--primary-foreground: oklch(0.438 0.164 315.591);
--secondary: oklch(0.958 0.015 296.799);
--secondary-foreground: oklch(0.378 0.155 287.243);
--accent: oklch(0.964 0.016 333.51);
--accent-foreground: oklch(0.464 0.158 338.566);
--destructive: oklch(0.601 0.208 35.062);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.962 0.017 317.149);
--chart-1: oklch(0.962 0.017 317.149);
--chart-2: oklch(0.958 0.015 296.799);
--chart-3: oklch(0.964 0.016 333.51);
--chart-4: oklch(0.99 0.004 297.012);
--chart-5: oklch(0.962 0.018 317.147);
}