Clone is a shadcn/ui theme built around a light yellow primary color (#ebe9c1) with light green accents (#d9ebc1). The light mode uses a neutral background (#fefefb). Dark mode keeps the light yellow primary (#ebe9c1) on a neutral background (#040302).
| Token | Light | Dark |
|---|---|---|
| Background | #fefefbwhite | #040302black |
| Foreground | #0e0d02black | #fcfcf8snow |
| Card | #fefefbwhite | #040302black |
| Card foreground | #0e0d02black | #fcfcf8snow |
| Popover | #fefefbwhite | #040302black |
| Popover foreground | #0e0d02black | #fcfcf8snow |
| Primary | #ebe9c1wheat | #ebe9c1wheat |
| Primary foreground | #100f05black | #100f05black |
| Secondary | #ebd3c1wheat | #ebd3c1wheat |
| Secondary foreground | #5d391dsaddlebrown | #5d391dsaddlebrown |
| Muted | #eee2d8antiquewhite | #271b11black |
| Muted foreground | #585756dimgray | #a9a8a7darkgray |
| Accent | #d9ebc1lightgrey | #d9ebc1lightgrey |
| Accent foreground | #0b1005black | #0b1005black |
| Destructive | #822408saddlebrown | #f35d30tomato |
| Destructive foreground | #fbcec0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ebe9c1wheat | #ebe9c1wheat |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.22:1 | AAA |
| Text on card | 19.22:1 | AAA |
| Primary button | 15.49:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 5.64:1 | AA |
| Accent | 15.26:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 20.01:1 | AAA |
| Text on card | 20.01:1 | AAA |
| Primary button | 15.49:1 | AAA |
| Secondary button | 7.09:1 | AAA |
| Muted text | 7.09:1 | AAA |
| Accent | 15.26:1 | AAA |
| Destructive | 6.42:1 | AA |
Paste this into your globals.css to use Clone in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.995 0.003 103.157);
--foreground: oklch(0.155 0.027 106.344);
--muted: oklch(0.918 0.018 60.011);
--muted-foreground: oklch(0.456 0.002 60.23);
--popover: oklch(0.995 0.003 103.157);
--popover-foreground: oklch(0.155 0.027 106.344);
--card: oklch(0.995 0.003 103.157);
--card-foreground: oklch(0.155 0.027 106.344);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.925 0.052 103.993);
--primary-foreground: oklch(0.165 0.021 105.243);
--secondary: oklch(0.883 0.037 59.705);
--secondary-foreground: oklch(0.381 0.066 56.545);
--accent: oklch(0.917 0.059 126.63);
--accent-foreground: oklch(0.162 0.024 126.476);
--destructive: oklch(0.407 0.133 35.762);
--destructive-foreground: oklch(0.887 0.055 37.592);
--ring: oklch(0.925 0.052 103.993);
--chart-1: oklch(0.925 0.052 103.993);
--chart-2: oklch(0.883 0.037 59.705);
--chart-3: oklch(0.917 0.059 126.63);
--chart-4: oklch(0.905 0.03 59.831);
--chart-5: oklch(0.928 0.055 104.035);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.1 0.01 105.307);
--foreground: oklch(0.989 0.005 103.187);
--muted: oklch(0.233 0.025 58.499);
--muted-foreground: oklch(0.733 0.002 60.254);
--popover: oklch(0.1 0.01 105.307);
--popover-foreground: oklch(0.989 0.005 103.187);
--card: oklch(0.1 0.01 105.307);
--card-foreground: oklch(0.989 0.005 103.187);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.925 0.052 103.993);
--primary-foreground: oklch(0.165 0.021 105.243);
--secondary: oklch(0.883 0.037 59.705);
--secondary-foreground: oklch(0.381 0.066 56.545);
--accent: oklch(0.917 0.059 126.63);
--accent-foreground: oklch(0.162 0.024 126.476);
--destructive: oklch(0.668 0.193 36.908);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.925 0.052 103.993);
--chart-1: oklch(0.925 0.052 103.993);
--chart-2: oklch(0.883 0.037 59.705);
--chart-3: oklch(0.917 0.059 126.63);
--chart-4: oklch(0.905 0.03 59.831);
--chart-5: oklch(0.928 0.055 104.035);
}