Crooked is a shadcn/ui theme built around a deep teal primary color (#13533d) with deep cyan accents (#134953). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the deep teal primary (#13533d) on a neutral background (#030706).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #030706black |
| Foreground | #010503black | #f8fcfamintcream |
| Card | #fbfdfdwhite | #030706black |
| Card foreground | #010503black | #f8fcfamintcream |
| Popover | #fbfdfdwhite | #030706black |
| Popover foreground | #010503black | #f8fcfamintcream |
| Primary | #13533ddarkslategray | #13533ddarkslategray |
| Primary foreground | #acecd6powderblue | #acecd6powderblue |
| Secondary | #13531ddarkgreen | #13531ddarkgreen |
| Secondary foreground | #acecb6palegreen | #acecb6palegreen |
| Muted | #d5ddd6gainsboro | #222a24darkslategray |
| Muted foreground | #4e6a52dimgray | #95b19adarkseagreen |
| Accent | #134953darkslategray | #134953darkslategray |
| Accent foreground | #ace2ecpowderblue | #ace2ecpowderblue |
| Destructive | #a21702darkred | #fd5035tomato |
| Destructive foreground | #ffdcd7mistyrose | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #13533ddarkslategray | #13533ddarkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.14:1 | AAA |
| Text on card | 20.14:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 6.74:1 | AA |
| Muted text | 4.30:1 | AA Large |
| Accent | 7.00:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.56:1 | AAA |
| Text on card | 19.56:1 | AAA |
| Primary button | 6.73:1 | AA |
| Secondary button | 6.74:1 | AA |
| Muted text | 6.33:1 | AA |
| Accent | 7.00:1 | AAA |
| Destructive | 6.36:1 | AA |
Paste this into your globals.css to use Crooked in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.994 0.002 173.509);
--foreground: oklch(0.101 0.016 173.903);
--muted: oklch(0.889 0.012 150.069);
--muted-foreground: oklch(0.494 0.049 148.851);
--popover: oklch(0.994 0.002 173.509);
--popover-foreground: oklch(0.101 0.016 173.903);
--card: oklch(0.994 0.002 173.509);
--card-foreground: oklch(0.101 0.016 173.903);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.397 0.074 165.022);
--primary-foreground: oklch(0.894 0.072 170.962);
--secondary: oklch(0.39 0.107 145.438);
--secondary-foreground: oklch(0.886 0.099 148.668);
--accent: oklch(0.377 0.057 211.859);
--accent-foreground: oklch(0.88 0.057 209.552);
--destructive: oklch(0.456 0.174 31.401);
--destructive-foreground: oklch(0.922 0.039 28.209);
--ring: oklch(0.397 0.074 165.022);
--chart-1: oklch(0.397 0.074 165.022);
--chart-2: oklch(0.39 0.107 145.438);
--chart-3: oklch(0.377 0.057 211.859);
--chart-4: oklch(0.429 0.119 145.33);
--chart-5: oklch(0.401 0.077 164.636);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.122 0.011 173.762);
--foreground: oklch(0.987 0.005 173.439);
--muted: oklch(0.276 0.016 149.461);
--muted-foreground: oklch(0.733 0.045 149.412);
--popover: oklch(0.122 0.011 173.762);
--popover-foreground: oklch(0.987 0.005 173.439);
--card: oklch(0.122 0.011 173.762);
--card-foreground: oklch(0.987 0.005 173.439);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.397 0.074 165.022);
--primary-foreground: oklch(0.894 0.072 170.962);
--secondary: oklch(0.39 0.107 145.438);
--secondary-foreground: oklch(0.886 0.099 148.668);
--accent: oklch(0.377 0.057 211.859);
--accent-foreground: oklch(0.88 0.057 209.552);
--destructive: oklch(0.67 0.214 31.59);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.397 0.074 165.022);
--chart-1: oklch(0.397 0.074 165.022);
--chart-2: oklch(0.39 0.107 145.438);
--chart-3: oklch(0.377 0.057 211.859);
--chart-4: oklch(0.429 0.119 145.33);
--chart-5: oklch(0.401 0.077 164.636);
}