Bogus is a shadcn/ui theme built around a light violet primary color (#e2d9f2) with light purple accents (#efd9f2). The light mode uses a neutral background (#f9f7fd). Dark mode keeps the light violet primary (#e2d9f2) on a neutral background (#050307).
| Token | Light | Dark |
|---|---|---|
| Background | #f9f7fdghostwhite | #050307black |
| Foreground | #0b0415black | #f7f5fawhitesmoke |
| Card | #f9f7fdghostwhite | #050307black |
| Card foreground | #0b0415black | #f7f5fawhitesmoke |
| Popover | #f9f7fdghostwhite | #050307black |
| Popover foreground | #0b0415black | #f7f5fawhitesmoke |
| Primary | #e2d9f2lavender | #e2d9f2lavender |
| Primary foreground | #422673darkslateblue | #422673darkslateblue |
| Secondary | #d9dcf2lavender | #d9dcf2lavender |
| Secondary foreground | #263073midnightblue | #263073midnightblue |
| Muted | #ebecf4lavender | #0b0c14black |
| Muted foreground | #55586ddimgray | #9296aadarkgray |
| Accent | #efd9f2lavender | #efd9f2lavender |
| Accent foreground | #692673rebeccapurple | #692673rebeccapurple |
| Destructive | #8a0a0adarkred | #ef1f1fcrimson |
| Destructive foreground | #fbcbcbpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e2d9f2lavender | #e2d9f2lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.94:1 | AAA |
| Text on card | 18.94:1 | AAA |
| Primary button | 8.77:1 | AAA |
| Secondary button | 8.83:1 | AAA |
| Muted text | 5.96:1 | AA |
| Accent | 7.45:1 | AAA |
| Destructive | 6.80:1 | AA |
| Text on background | 18.98:1 | AAA |
| Text on card | 18.98:1 | AAA |
| Primary button | 8.77:1 | AAA |
| Secondary button | 8.83:1 | AAA |
| Muted text | 6.65:1 | AA |
| Accent | 7.45:1 | AAA |
| Destructive | 4.28:1 | AA Large |
Paste this into your globals.css to use Bogus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.979 0.008 302.802);
--foreground: oklch(0.134 0.039 300.314);
--muted: oklch(0.946 0.01 279.174);
--muted-foreground: oklch(0.467 0.033 278.18);
--popover: oklch(0.979 0.008 302.802);
--popover-foreground: oklch(0.134 0.039 300.314);
--card: oklch(0.979 0.008 302.802);
--card-foreground: oklch(0.134 0.039 300.314);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.9 0.036 302.321);
--primary-foreground: oklch(0.35 0.125 296.158);
--secondary: oklch(0.899 0.03 278.81);
--secondary-foreground: oklch(0.343 0.114 272.362);
--accent: oklch(0.91 0.042 321.718);
--accent-foreground: oklch(0.4 0.138 322.109);
--destructive: oklch(0.403 0.159 28.355);
--destructive-foreground: oklch(0.883 0.056 18.257);
--ring: oklch(0.9 0.036 302.321);
--chart-1: oklch(0.9 0.036 302.321);
--chart-2: oklch(0.899 0.03 278.81);
--chart-3: oklch(0.91 0.042 321.718);
--chart-4: oklch(0.93 0.021 278.991);
--chart-5: oklch(0.898 0.038 302.283);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.104 0.017 303.531);
--foreground: oklch(0.972 0.008 302.81);
--muted: oklch(0.157 0.016 277.538);
--muted-foreground: oklch(0.676 0.03 278.638);
--popover: oklch(0.104 0.017 303.531);
--popover-foreground: oklch(0.972 0.008 302.81);
--card: oklch(0.104 0.017 303.531);
--card-foreground: oklch(0.972 0.008 302.81);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.9 0.036 302.321);
--primary-foreground: oklch(0.35 0.125 296.158);
--secondary: oklch(0.899 0.03 278.81);
--secondary-foreground: oklch(0.343 0.114 272.362);
--accent: oklch(0.91 0.042 321.718);
--accent-foreground: oklch(0.4 0.138 322.109);
--destructive: oklch(0.608 0.236 28.055);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.9 0.036 302.321);
--chart-1: oklch(0.9 0.036 302.321);
--chart-2: oklch(0.899 0.03 278.81);
--chart-3: oklch(0.91 0.042 321.718);
--chart-4: oklch(0.93 0.021 278.991);
--chart-5: oklch(0.898 0.038 302.283);
}