Bet is a shadcn/ui theme built around a vivid light cyan primary color (#ecf9fd) with vivid light green accents (#f9fdec). The light mode uses a neutral background (#fbfdfd). Dark mode keeps the vivid light cyan primary (#ecf9fd) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fbfdfdwhite | #000000black |
| Foreground | #061013black | #f9fafbghostwhite |
| Card | #f8fbfcghostwhite | #030303black |
| Card foreground | #050d0fblack | #fcfdfdwhite |
| Popover | #f8fbfcghostwhite | #030303black |
| Popover foreground | #050d0fblack | #fcfdfdwhite |
| Primary | #ecf9fdaliceblue | #ecf9fdaliceblue |
| Primary foreground | #06394bdarkslategray | #06394bdarkslategray |
| Secondary | #fdecf9lavenderblush | #fdecf9lavenderblush |
| Secondary foreground | #aa0e80mediumvioletred | #aa0e80mediumvioletred |
| Muted | #f6eff4whitesmoke | #10090eblack |
| Muted foreground | #474346darkslategray | #bcb8bbsilver |
| Accent | #f9fdecivory | #f9fdecivory |
| Accent foreground | #394b06darkolivegreen | #394b06darkolivegreen |
| Destructive | #782f07saddlebrown | #f37735tomato |
| Destructive foreground | #fbcfb7peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ecf9fdaliceblue | #ecf9fdaliceblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.86:1 | AAA |
| Text on card | 18.83:1 | AAA |
| Primary button | 11.52:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 8.58:1 | AAA |
| Accent | 9.31:1 | AAA |
| Destructive | 6.65:1 | AA |
| Text on background | 20.09:1 | AAA |
| Text on card | 20.29:1 | AAA |
| Primary button | 11.52:1 | AAA |
| Secondary button | 6.02:1 | AA |
| Muted text | 10.01:1 | AAA |
| Accent | 9.31:1 | AAA |
| Destructive | 7.52:1 | AAA |
Paste this into your globals.css to use Bet in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 221.32);
--foreground: oklch(0.164 0.016 221.896);
--muted: oklch(0.958 0.01 334.708);
--muted-foreground: oklch(0.387 0.007 334.862);
--popover: oklch(0.986 0.004 221.335);
--popover-foreground: oklch(0.15 0.014 220.203);
--card: oklch(0.986 0.004 221.335);
--card-foreground: oklch(0.15 0.014 220.203);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.974 0.015 221.445);
--primary-foreground: oklch(0.323 0.059 228.561);
--secondary: oklch(0.961 0.025 334.977);
--secondary-foreground: oklch(0.498 0.206 343.192);
--accent: oklch(0.987 0.023 118.978);
--accent-foreground: oklch(0.385 0.092 124.553);
--destructive: oklch(0.404 0.113 43.377);
--destructive-foreground: oklch(0.885 0.06 49.864);
--ring: oklch(0.974 0.015 221.445);
--chart-1: oklch(0.974 0.015 221.445);
--chart-2: oklch(0.961 0.025 334.977);
--chart-3: oklch(0.987 0.023 118.978);
--chart-4: oklch(0.99 0.006 334.637);
--chart-5: oklch(0.974 0.015 221.45);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.985 0.002 221.318);
--muted: oklch(0.153 0.016 336.207);
--muted-foreground: oklch(0.787 0.006 334.666);
--popover: oklch(0.092 0 180);
--popover-foreground: oklch(0.993 0.001 221.311);
--card: oklch(0.092 0 180);
--card-foreground: oklch(0.993 0.001 221.311);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.974 0.015 221.445);
--primary-foreground: oklch(0.323 0.059 228.561);
--secondary: oklch(0.961 0.025 334.977);
--secondary-foreground: oklch(0.498 0.206 343.192);
--accent: oklch(0.987 0.023 118.978);
--accent-foreground: oklch(0.385 0.092 124.553);
--destructive: oklch(0.705 0.171 45.824);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.974 0.015 221.445);
--chart-1: oklch(0.974 0.015 221.445);
--chart-2: oklch(0.961 0.025 334.977);
--chart-3: oklch(0.987 0.023 118.978);
--chart-4: oklch(0.99 0.006 334.637);
--chart-5: oklch(0.974 0.015 221.45);
}