Bog is a shadcn/ui theme built around a blue primary color (#607bdc) with yellow accents (#dcc160). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#607bdc) on a blue-tinted background (#07080e).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #07080eblack |
| Foreground | #020408black | #ffffffwhite |
| Card | #ffffffwhite | #07080eblack |
| Card foreground | #020408black | #ffffffwhite |
| Popover | #ffffffwhite | #07080eblack |
| Popover foreground | #020408black | #ffffffwhite |
| Primary | #607bdccornflowerblue | #607bdccornflowerblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #dcc160darkkhaki | #dcc160darkkhaki |
| Secondary foreground | #080702black | #080702black |
| Muted | #eeeaddbeige | #221e11black |
| Muted foreground | #6b6961dimgray | #9e9c94darkgray |
| Accent | #dcc160darkkhaki | #dcc160darkkhaki |
| Accent foreground | #080702black | #080702black |
| Destructive | #682803maroon | #f86916chocolate |
| Destructive foreground | #fcc2a1navajowhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #607bdccornflowerblue | #607bdccornflowerblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.51:1 | AAA |
| Text on card | 20.51:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 11.39:1 | AAA |
| Muted text | 4.57:1 | AA |
| Accent | 11.39:1 | AAA |
| Destructive | 7.05:1 | AAA |
| Text on background | 19.99:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 3.91:1 | AA Large |
| Secondary button | 11.39:1 | AAA |
| Muted text | 6.05:1 | AA |
| Accent | 11.39:1 | AAA |
| Destructive | 7.02:1 | AAA |
Paste this into your globals.css to use Bog in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.104 0.015 267.385);
--muted: oklch(0.937 0.017 94.058);
--muted-foreground: oklch(0.52 0.013 94.111);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.104 0.015 267.385);
--card: oklch(1 0 180);
--card-foreground: oklch(0.104 0.015 267.385);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.609 0.15 269.86);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.815 0.121 94.103);
--secondary-foreground: oklch(0.128 0.018 98.871);
--accent: oklch(0.815 0.121 94.103);
--accent-foreground: oklch(0.128 0.018 98.871);
--destructive: oklch(0.365 0.102 44.769);
--destructive-foreground: oklch(0.859 0.08 51.382);
--ring: oklch(0.609 0.15 269.86);
--chart-1: oklch(0.609 0.15 269.86);
--chart-2: oklch(0.815 0.121 94.103);
--chart-3: oklch(0.815 0.121 94.103);
--chart-4: oklch(0.829 0.113 94.282);
--chart-5: oklch(0.606 0.157 269.611);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.013 270.639);
--foreground: oklch(1 0 180);
--muted: oklch(0.236 0.023 94.494);
--muted-foreground: oklch(0.692 0.012 94.042);
--popover: oklch(0.136 0.013 270.639);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.136 0.013 270.639);
--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.609 0.15 269.86);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.815 0.121 94.103);
--secondary-foreground: oklch(0.128 0.018 98.871);
--accent: oklch(0.815 0.121 94.103);
--accent-foreground: oklch(0.128 0.018 98.871);
--destructive: oklch(0.69 0.193 44.079);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.609 0.15 269.86);
--chart-1: oklch(0.609 0.15 269.86);
--chart-2: oklch(0.815 0.121 94.103);
--chart-3: oklch(0.815 0.121 94.103);
--chart-4: oklch(0.829 0.113 94.282);
--chart-5: oklch(0.606 0.157 269.611);
}