Turkey is a shadcn/ui theme built around a near-black primary color (#010309) with near-black accents (#030901). The light mode uses a neutral background (#f7f8fd). Dark mode keeps the near-black primary (#010309) on a blue-tinted background (#04060b).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f8fdghostwhite | #04060bblack |
| Foreground | #050710black | #f9f9fbghostwhite |
| Card | #f7f8fdghostwhite | #04060bblack |
| Card foreground | #050710black | #f9f9fbghostwhite |
| Popover | #f7f8fdghostwhite | #04060bblack |
| Popover foreground | #050710black | #f9f9fbghostwhite |
| Primary | #010309black | #010309black |
| Primary foreground | #afbaf3lightsteelblue | #afbaf3lightsteelblue |
| Secondary | #090103black | #090103black |
| Secondary foreground | #f3afbalightpink | #f3afbalightpink |
| Muted | #f1efefwhitesmoke | #100e0fblack |
| Muted foreground | #47393bdarkslategray | #c6b8bbsilver |
| Accent | #030901black | #030901black |
| Accent foreground | #36ba1climegreen | #36ba1climegreen |
| Destructive | #ca0202firebrick | #fd1212red |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #010309black | #010309black |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.94:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 10.95:1 | AAA |
| Secondary button | 11.44:1 | AAA |
| Muted text | 9.53:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 5.96:1 | AA |
| Text on background | 19.30:1 | AAA |
| Text on card | 19.30:1 | AAA |
| Primary button | 10.95:1 | AAA |
| Secondary button | 11.44:1 | AAA |
| Muted text | 10.03:1 | AAA |
| Accent | 7.86:1 | AAA |
| Destructive | 3.99:1 | AA Large |
Paste this into your globals.css to use Turkey in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.007 277.166);
--foreground: oklch(0.129 0.022 271.568);
--muted: oklch(0.953 0.002 5.513);
--muted-foreground: oklch(0.359 0.02 6.879);
--popover: oklch(0.98 0.007 277.166);
--popover-foreground: oklch(0.129 0.022 271.568);
--card: oklch(0.98 0.007 277.166);
--card-foreground: oklch(0.129 0.022 271.568);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.095 0.023 267.061);
--primary-foreground: oklch(0.802 0.081 275.638);
--secondary: oklch(0.1 0.025 6.333);
--secondary-foreground: oklch(0.821 0.081 7.955);
--accent: oklch(0.126 0.029 138.247);
--accent-foreground: oklch(0.692 0.217 141.061);
--destructive: oklch(0.527 0.216 29.148);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.095 0.023 267.061);
--chart-1: oklch(0.095 0.023 267.061);
--chart-2: oklch(0.1 0.025 6.333);
--chart-3: oklch(0.126 0.029 138.247);
--chart-4: oklch(0.142 0.038 9.32);
--chart-5: oklch(0.094 0.024 266.354);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.12 0.014 272.74);
--foreground: oklch(0.983 0.002 277.236);
--muted: oklch(0.168 0.004 6.011);
--muted-foreground: oklch(0.796 0.016 5.974);
--popover: oklch(0.12 0.014 272.74);
--popover-foreground: oklch(0.983 0.002 277.236);
--card: oklch(0.12 0.014 272.74);
--card-foreground: oklch(0.983 0.002 277.236);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.095 0.023 267.061);
--primary-foreground: oklch(0.802 0.081 275.638);
--secondary: oklch(0.1 0.025 6.333);
--secondary-foreground: oklch(0.821 0.081 7.955);
--accent: oklch(0.126 0.029 138.247);
--accent-foreground: oklch(0.692 0.217 141.061);
--destructive: oklch(0.627 0.252 28.754);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.095 0.023 267.061);
--chart-1: oklch(0.095 0.023 267.061);
--chart-2: oklch(0.1 0.025 6.333);
--chart-3: oklch(0.126 0.029 138.247);
--chart-4: oklch(0.142 0.038 9.32);
--chart-5: oklch(0.094 0.024 266.354);
}