Gullible is a shadcn/ui theme built around a purple primary color (#b7348d) with green accents (#34b75d). The light mode uses a neutral background (#fdf7fb). Dark mode keeps the purple primary (#b7348d) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fdf7fbsnow | #000000black |
| Foreground | #050103black | #ffffffwhite |
| Card | #fdf7fbsnow | #000000black |
| Card foreground | #050103black | #ffffffwhite |
| Popover | #fdf7fbsnow | #000000black |
| Popover foreground | #050103black | #ffffffwhite |
| Primary | #b7348dmediumvioletred | #b7348dmediumvioletred |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #34b75dmediumseagreen | #34b75dmediumseagreen |
| Secondary foreground | #07180cblack | #07180cblack |
| Muted | #eceeedwhitesmoke | #111312black |
| Muted foreground | #555856dimgray | #a7aaa8darkgray |
| Accent | #34b75dmediumseagreen | #34b75dmediumseagreen |
| Accent foreground | #07180cblack | #07180cblack |
| Destructive | #b30300darkred | #ff2c29crimson |
| Destructive foreground | #ffe6e6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #b7348dmediumvioletred | #b7348dmediumvioletred |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.60:1 | AAA |
| Primary button | 5.40:1 | AA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 6.18:1 | AA |
| Accent | 7.05:1 | AAA |
| Destructive | 6.07:1 | AA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 5.40:1 | AA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 7.97:1 | AAA |
| Accent | 7.05:1 | AAA |
| Destructive | 3.71:1 | AA Large |
Paste this into your globals.css to use Gullible in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.009 336.736);
--foreground: oklch(0.082 0.026 337.246);
--muted: oklch(0.948 0.002 156.508);
--muted-foreground: oklch(0.458 0.006 156.309);
--popover: oklch(0.981 0.009 336.736);
--popover-foreground: oklch(0.082 0.026 337.246);
--card: oklch(0.981 0.009 336.736);
--card-foreground: oklch(0.082 0.026 337.246);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.55 0.19 343.333);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.689 0.171 149.555);
--secondary-foreground: oklch(0.189 0.034 152.726);
--accent: oklch(0.689 0.171 149.555);
--accent-foreground: oklch(0.189 0.034 152.726);
--destructive: oklch(0.481 0.196 29.436);
--destructive-foreground: oklch(0.945 0.028 18.82);
--ring: oklch(0.55 0.19 343.333);
--chart-1: oklch(0.55 0.19 343.333);
--chart-2: oklch(0.689 0.171 149.555);
--chart-3: oklch(0.689 0.171 149.555);
--chart-4: oklch(0.722 0.179 149.515);
--chart-5: oklch(0.553 0.198 343.677);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.183 0.004 156.151);
--muted-foreground: oklch(0.735 0.005 156.421);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.55 0.19 343.333);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.689 0.171 149.555);
--secondary-foreground: oklch(0.189 0.034 152.726);
--accent: oklch(0.689 0.171 149.555);
--accent-foreground: oklch(0.189 0.034 152.726);
--destructive: oklch(0.644 0.242 28.012);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.55 0.19 343.333);
--chart-1: oklch(0.55 0.19 343.333);
--chart-2: oklch(0.689 0.171 149.555);
--chart-3: oklch(0.689 0.171 149.555);
--chart-4: oklch(0.722 0.179 149.515);
--chart-5: oklch(0.553 0.198 343.677);
}