Bogus is a shadcn/ui theme built around a muted orange primary color (#ae9c8f) with muted blue accents (#8fa1ae). The light mode uses a neutral background (#fdf9f7). Dark mode keeps the muted orange primary (#ae9c8f) on an orange-tinted background (#0a0705).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf9f7snow | #0a0705black |
| Foreground | #110903black | #ffffffwhite |
| Card | #fdf9f7snow | #0a0705black |
| Card foreground | #110903black | #ffffffwhite |
| Popover | #fdf9f7snow | #0a0705black |
| Popover foreground | #110903black | #ffffffwhite |
| Primary | #ae9c8frosybrown | #ae9c8frosybrown |
| Primary foreground | #060504black | #060504black |
| Secondary | #8fa1aedarkgray | #8fa1aedarkgray |
| Secondary foreground | #040506black | #040506black |
| Muted | #d8dcdegainsboro | #212427darkslategray |
| Muted foreground | #565758dimgray | #a7a8a9darkgray |
| Accent | #8fa1aedarkgray | #8fa1aedarkgray |
| Accent foreground | #040506black | #040506black |
| Destructive | #621704maroon | #f7481dorangered |
| Destructive foreground | #fbb09dlightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ae9c8frosybrown | #ae9c8frosybrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.90:1 | AAA |
| Text on card | 18.90:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 5.24:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 7.17:1 | AAA |
| Text on background | 20.06:1 | AAA |
| Text on card | 20.06:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 7.61:1 | AAA |
| Muted text | 6.54:1 | AA |
| Accent | 7.61:1 | AAA |
| Destructive | 3.56:1 | AA Large |
Paste this into your globals.css to use Bogus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.985 0.005 58.294);
--foreground: oklch(0.149 0.022 64.863);
--muted: oklch(0.892 0.005 238.44);
--muted-foreground: oklch(0.456 0.002 238.417);
--popover: oklch(0.985 0.005 58.294);
--popover-foreground: oklch(0.149 0.022 64.863);
--card: oklch(0.985 0.005 58.294);
--card-foreground: oklch(0.149 0.022 64.863);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.703 0.028 57.8);
--primary-foreground: oklch(0.116 0.003 60.613);
--secondary: oklch(0.698 0.028 238.954);
--secondary-foreground: oklch(0.115 0.003 236.207);
--accent: oklch(0.698 0.028 238.954);
--accent-foreground: oklch(0.115 0.003 236.207);
--destructive: oklch(0.331 0.112 34.706);
--destructive-foreground: oklch(0.823 0.094 34.595);
--ring: oklch(0.703 0.028 57.8);
--chart-1: oklch(0.703 0.028 57.8);
--chart-2: oklch(0.698 0.028 238.954);
--chart-3: oklch(0.698 0.028 238.954);
--chart-4: oklch(0.723 0.026 238.881);
--chart-5: oklch(0.704 0.034 57.692);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.133 0.009 63.274);
--foreground: oklch(1 0 180);
--muted: oklch(0.259 0.007 238.732);
--muted-foreground: oklch(0.732 0.002 238.393);
--popover: oklch(0.133 0.009 63.274);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.133 0.009 63.274);
--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.703 0.028 57.8);
--primary-foreground: oklch(0.116 0.003 60.613);
--secondary: oklch(0.698 0.028 238.954);
--secondary-foreground: oklch(0.115 0.003 236.207);
--accent: oklch(0.698 0.028 238.954);
--accent-foreground: oklch(0.115 0.003 236.207);
--destructive: oklch(0.65 0.217 34.294);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.703 0.028 57.8);
--chart-1: oklch(0.703 0.028 57.8);
--chart-2: oklch(0.698 0.028 238.954);
--chart-3: oklch(0.698 0.028 238.954);
--chart-4: oklch(0.723 0.026 238.881);
--chart-5: oklch(0.704 0.034 57.692);
}