bokite is a shadcn/ui theme built around a vivid blue primary color (#2463eb) with vivid yellow accents (#ebac24). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid blue primary (#2463eb) on a blue-tinted background (#040810).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #040810black |
| Foreground | #02060dblack | #f7f7f8whitesmoke |
| Card | #fcfcfcsnow | #060a14black |
| Card foreground | #010409black | #f9fafaghostwhite |
| Popover | #fcfcfcsnow | #060a14black |
| Popover foreground | #010409black | #f9fafaghostwhite |
| Primary | #2463ebroyalblue | #2463ebroyalblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #ebac24goldenrod | #ebac24goldenrod |
| Secondary foreground | #3d2b06black | #3d2b06black |
| Muted | #ece9e4linen | #1b1813black |
| Muted foreground | #6f6652dimgray | #ada390rosybrown |
| Accent | #ebac24goldenrod | #ebac24goldenrod |
| Accent foreground | #3d2b06black | #3d2b06black |
| Destructive | #d52101firebrick | #fe3d1borangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e8e9eelavender | #21242cdarkslategray |
| Input | #e8e9eelavender | #21242cdarkslategray |
| Ring | #2463ebroyalblue | #2463ebroyalblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.30:1 | AAA |
| Text on card | 20.09:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.73:1 | AA |
| Muted text | 4.70:1 | AA |
| Accent | 6.73:1 | AA |
| Destructive | 5.18:1 | AA |
| Text on background | 18.70:1 | AAA |
| Text on card | 18.92:1 | AAA |
| Primary button | 5.19:1 | AA |
| Secondary button | 6.73:1 | AA |
| Muted text | 7.08:1 | AAA |
| Accent | 6.73:1 | AA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use bokite in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.117 0.023 255.108);
--muted: oklch(0.936 0.007 86.036);
--muted-foreground: oklch(0.514 0.032 86.057);
--popover: oklch(0.992 0 161.565);
--popover-foreground: oklch(0.102 0.02 254.405);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.102 0.02 254.405);
--border: oklch(0.935 0.006 265.978);
--input: oklch(0.935 0.006 265.978);
--primary: oklch(0.545 0.215 262.741);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.783 0.154 80.372);
--secondary-foreground: oklch(0.303 0.057 82.133);
--accent: oklch(0.783 0.154 80.372);
--accent-foreground: oklch(0.303 0.057 82.133);
--destructive: oklch(0.56 0.215 31.448);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.545 0.215 262.741);
--chart-1: oklch(0.545 0.215 262.741);
--chart-2: oklch(0.783 0.154 80.372);
--chart-3: oklch(0.783 0.154 80.372);
--chart-4: oklch(0.795 0.15 81.696);
--chart-5: oklch(0.545 0.222 262.715);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.134 0.019 260.126);
--foreground: oklch(0.976 0.001 266);
--muted: oklch(0.211 0.01 86.09);
--muted-foreground: oklch(0.719 0.03 86.095);
--popover: oklch(0.146 0.023 262.146);
--popover-foreground: oklch(0.984 0.001 266.002);
--card: oklch(0.146 0.023 262.146);
--card-foreground: oklch(0.984 0.001 266.002);
--border: oklch(0.261 0.016 265.629);
--input: oklch(0.261 0.016 265.629);
--primary: oklch(0.545 0.215 262.741);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.783 0.154 80.372);
--secondary-foreground: oklch(0.303 0.057 82.133);
--accent: oklch(0.783 0.154 80.372);
--accent-foreground: oklch(0.303 0.057 82.133);
--destructive: oklch(0.652 0.232 32.126);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.545 0.215 262.741);
--chart-1: oklch(0.545 0.215 262.741);
--chart-2: oklch(0.783 0.154 80.372);
--chart-3: oklch(0.783 0.154 80.372);
--chart-4: oklch(0.795 0.15 81.696);
--chart-5: oklch(0.545 0.222 262.715);
}