Bribery is a shadcn/ui theme built around a vivid red primary color (#a2061b) with muted light red accents (#ddcacd). The light mode uses a neutral background (#fcf7f8). Dark mode keeps the vivid red primary (#a2061b) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcf7f8snow | #000000black |
| Foreground | #000000black | #fdfcfcsnow |
| Card | #fbf4f5lavenderblush | #030303black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fbf4f5lavenderblush | #030303black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #a2061bfirebrick | #a2061bfirebrick |
| Primary foreground | #fedde1mistyrose | #fedde1mistyrose |
| Secondary | #ede8e9linen | #3c2a2cdarkslategray |
| Secondary foreground | #5c474adarkolivegreen | #d5c3c5thistle |
| Muted | #f1eeefwhitesmoke | #110e0eblack |
| Muted foreground | #544043darkslategray | #bfabaedarkgray |
| Accent | #ddcacdlightgrey | #543136darkslategray |
| Accent foreground | #482e31darkslategray | #e5d2d4gainsboro |
| Destructive | #cc1905firebrick | #fa4733tomato |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #a2061bfirebrick | #a2061bfirebrick |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.86:1 | AAA |
| Text on card | 19.31:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 7.05:1 | AAA |
| Muted text | 8.33:1 | AAA |
| Accent | 7.84:1 | AAA |
| Destructive | 5.66:1 | AA |
| Text on background | 20.50:1 | AAA |
| Text on card | 20.67:1 | AAA |
| Primary button | 6.43:1 | AA |
| Secondary button | 7.98:1 | AAA |
| Muted text | 8.83:1 | AAA |
| Accent | 7.77:1 | AAA |
| Destructive | 3.49:1 | AA Large |
Paste this into your globals.css to use Bribery in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.981 0.005 7.884);
--foreground: oklch(0 0 0);
--muted: oklch(0.953 0.003 7.817);
--muted-foreground: oklch(0.394 0.027 9.414);
--popover: oklch(0.972 0.008 7.954);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.972 0.008 7.954);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.452 0.18 24.64);
--primary-foreground: oklch(0.925 0.037 8.726);
--secondary: oklch(0.935 0.006 7.901);
--secondary-foreground: oklch(0.421 0.029 9.441);
--accent: oklch(0.856 0.022 8.364);
--accent-foreground: oklch(0.332 0.038 10.592);
--destructive: oklch(0.538 0.21 30.397);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.452 0.18 24.64);
--chart-1: oklch(0.452 0.18 24.64);
--chart-2: oklch(0.935 0.006 7.901);
--chart-3: oklch(0.856 0.022 8.364);
--chart-4: oklch(0.96 0.004 7.841);
--chart-5: oklch(0.456 0.183 25.071);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.992 0.001 7.767);
--muted: oklch(0.167 0.004 8.356);
--muted-foreground: oklch(0.76 0.023 8.469);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.092 0 180);
--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.452 0.18 24.64);
--primary-foreground: oklch(0.925 0.037 8.726);
--secondary: oklch(0.307 0.028 9.95);
--secondary-foreground: oklch(0.833 0.021 8.361);
--accent: oklch(0.357 0.051 11.282);
--accent-foreground: oklch(0.88 0.021 8.327);
--destructive: oklch(0.656 0.218 30.181);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.452 0.18 24.64);
--chart-1: oklch(0.452 0.18 24.64);
--chart-2: oklch(0.307 0.028 9.95);
--chart-3: oklch(0.357 0.051 11.282);
--chart-4: oklch(0.335 0.031 10.021);
--chart-5: oklch(0.456 0.183 25.071);
}