Bogus is a shadcn/ui theme built around a near-white primary color (#fafafa) with near-white accents (#fafafa). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the near-white primary (#fafafa) on a teal-tinted background (#050b09).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #050b09black |
| Foreground | #020d0ablack | #ffffffwhite |
| Card | #f7fdfbmintcream | #050b09black |
| Card foreground | #020d0ablack | #ffffffwhite |
| Popover | #f7fdfbmintcream | #050b09black |
| Popover foreground | #020d0ablack | #ffffffwhite |
| Primary | #fafafasnow | #fafafasnow |
| Primary foreground | #2c302fdarkslategray | #2c302fdarkslategray |
| Secondary | #fafafasnow | #fafafasnow |
| Secondary foreground | #2c302cdarkslategray | #2c302cdarkslategray |
| Muted | #edf3eewhitesmoke | #0c120dblack |
| Muted foreground | #434c45darkslategray | #b3bcb5silver |
| Accent | #fafafasnow | #fafafasnow |
| Accent foreground | #2c2f30darkslategray | #2c2f30darkslategray |
| Destructive | #971302darkred | #fd2408orangered |
| Destructive foreground | #fed2cdpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fafafasnow | #fafafasnow |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.13:1 | AAA |
| Text on card | 19.13:1 | AAA |
| Primary button | 12.81:1 | AAA |
| Secondary button | 12.84:1 | AAA |
| Muted text | 7.89:1 | AAA |
| Accent | 12.92:1 | AAA |
| Destructive | 6.33:1 | AA |
| Text on background | 19.89:1 | AAA |
| Text on card | 19.89:1 | AAA |
| Primary button | 12.81:1 | AAA |
| Secondary button | 12.84:1 | AAA |
| Muted text | 9.70:1 | AAA |
| Accent | 12.92:1 | AAA |
| Destructive | 3.87:1 | AA Large |
Paste this into your globals.css to use Bogus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.006 175.424);
--foreground: oklch(0.147 0.023 174.697);
--muted: oklch(0.957 0.009 151.268);
--muted-foreground: oklch(0.405 0.016 150.828);
--popover: oklch(0.989 0.006 175.424);
--popover-foreground: oklch(0.147 0.023 174.697);
--card: oklch(0.989 0.006 175.424);
--card-foreground: oklch(0.147 0.023 174.697);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.985 0.001 175.598);
--primary-foreground: oklch(0.305 0.007 174.941);
--secondary: oklch(0.985 0.001 151.396);
--secondary-foreground: oklch(0.304 0.009 150.965);
--accent: oklch(0.985 0 212.662);
--accent-foreground: oklch(0.303 0.005 212.689);
--destructive: oklch(0.434 0.167 31.087);
--destructive-foreground: oklch(0.901 0.051 26.916);
--ring: oklch(0.985 0.001 175.598);
--chart-1: oklch(0.985 0.001 175.598);
--chart-2: oklch(0.985 0.001 151.396);
--chart-3: oklch(0.985 0 212.662);
--chart-4: oklch(1.007 0 331.412);
--chart-5: oklch(0.985 0.001 175.588);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.139 0.012 175.725);
--foreground: oklch(1 0 180);
--muted: oklch(0.175 0.014 150.199);
--muted-foreground: oklch(0.786 0.014 151.157);
--popover: oklch(0.139 0.012 175.725);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.139 0.012 175.725);
--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.985 0.001 175.598);
--primary-foreground: oklch(0.305 0.007 174.941);
--secondary: oklch(0.985 0.001 151.396);
--secondary-foreground: oklch(0.304 0.009 150.965);
--accent: oklch(0.985 0 212.662);
--accent-foreground: oklch(0.303 0.005 212.689);
--destructive: oklch(0.634 0.246 30.649);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.985 0.001 175.598);
--chart-1: oklch(0.985 0.001 175.598);
--chart-2: oklch(0.985 0.001 151.396);
--chart-3: oklch(0.985 0 212.662);
--chart-4: oklch(1.007 0 331.412);
--chart-5: oklch(0.985 0.001 175.588);
}