Gemsbok is a shadcn/ui theme built around a deep indigo primary color (#06051f) with muted light indigo accents (#c1bfd9). The light mode uses a neutral background (#f7f7fd). Dark mode keeps the deep indigo primary (#06051f) on a neutral background (#020203).
| Token | Light | Dark |
|---|---|---|
| Background | #f7f7fdghostwhite | #020203black |
| Foreground | #04030cblack | #ffffffwhite |
| Card | #f7f7fdghostwhite | #020203black |
| Card foreground | #04030cblack | #ffffffwhite |
| Popover | #f7f7fdghostwhite | #020203black |
| Popover foreground | #04030cblack | #ffffffwhite |
| Primary | #06051fblack | #06051fblack |
| Primary foreground | #c9c5f6thistle | #c9c5f6thistle |
| Secondary | #dbdbe6gainsboro | #19191fblack |
| Secondary foreground | #3c3a55darkslategray | #aeadbddarkgray |
| Muted | #f0f0f4whitesmoke | #0b0b0fblack |
| Muted foreground | #555463dimgray | #9d9cabdarkgray |
| Accent | #c1bfd9lightsteelblue | #2c2b40darkslategray |
| Accent foreground | #282640darkslategray | #c6c5d8thistle |
| Destructive | #c61515firebrick | #d41616firebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #06051fblack | #06051fblack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.17:1 | AAA |
| Text on card | 19.17:1 | AAA |
| Primary button | 12.21:1 | AAA |
| Secondary button | 7.91:1 | AAA |
| Muted text | 6.52:1 | AA |
| Accent | 8.14:1 | AAA |
| Destructive | 5.94:1 | AA |
| Text on background | 20.76:1 | AAA |
| Text on card | 20.76:1 | AAA |
| Primary button | 12.21:1 | AAA |
| Secondary button | 7.92:1 | AAA |
| Muted text | 7.28:1 | AAA |
| Accent | 8.11:1 | AAA |
| Destructive | 5.33:1 | AA |
Paste this into your globals.css to use Gemsbok in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.977 0.009 289.309);
--foreground: oklch(0.11 0.024 286.132);
--muted: oklch(0.957 0.006 289.365);
--muted-foreground: oklch(0.454 0.024 288.472);
--popover: oklch(0.977 0.009 289.309);
--popover-foreground: oklch(0.11 0.024 286.132);
--card: oklch(0.977 0.009 289.309);
--card-foreground: oklch(0.11 0.024 286.132);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.139 0.056 280.282);
--primary-foreground: oklch(0.843 0.068 287.898);
--secondary: oklch(0.894 0.016 289.145);
--secondary-foreground: oklch(0.362 0.046 286.88);
--accent: oklch(0.815 0.036 288.643);
--accent-foreground: oklch(0.284 0.046 286.103);
--destructive: oklch(0.527 0.206 28.239);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.139 0.056 280.282);
--chart-1: oklch(0.139 0.056 280.282);
--chart-2: oklch(0.894 0.016 289.145);
--chart-3: oklch(0.815 0.036 288.643);
--chart-4: oklch(0.921 0.012 289.238);
--chart-5: oklch(0.137 0.059 279.629);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.084 0.009 288.004);
--foreground: oklch(1 0 180);
--muted: oklch(0.15 0.009 288.286);
--muted-foreground: oklch(0.698 0.021 288.899);
--popover: oklch(0.084 0.009 288.004);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.084 0.009 288.004);
--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.139 0.056 280.282);
--primary-foreground: oklch(0.843 0.068 287.898);
--secondary: oklch(0.216 0.012 288.409);
--secondary-foreground: oklch(0.753 0.023 288.896);
--accent: oklch(0.3 0.038 286.886);
--accent-foreground: oklch(0.83 0.027 288.863);
--destructive: oklch(0.554 0.217 28.287);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.139 0.056 280.282);
--chart-1: oklch(0.139 0.056 280.282);
--chart-2: oklch(0.216 0.012 288.409);
--chart-3: oklch(0.3 0.038 286.886);
--chart-4: oklch(0.247 0.015 288.318);
--chart-5: oklch(0.137 0.059 279.629);
}