Gambling is a shadcn/ui theme built around a deep pink primary color (#5b2940) with deep teal accents (#295b45). The light mode uses a neutral background (#fefbfc). Dark mode keeps the deep pink primary (#5b2940) on a pink-tinted background (#0b0407).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfcsnow | #0b0407black |
| Foreground | #15040cblack | #fdfcfcsnow |
| Card | #fefbfcsnow | #0b0407black |
| Card foreground | #15040cblack | #fdfcfcsnow |
| Popover | #fefbfcsnow | #0b0407black |
| Popover foreground | #15040cblack | #fdfcfcsnow |
| Primary | #5b2940darkslategray | #5b2940darkslategray |
| Primary foreground | #e9cedagainsboro | #e9cedagainsboro |
| Secondary | #295b45darkslategray | #295b45darkslategray |
| Secondary foreground | #cee9ddgainsboro | #cee9ddgainsboro |
| Muted | #d9e7e1gainsboro | #18261fblack |
| Muted foreground | #54635ddimgray | #9caba4darkgray |
| Accent | #295b45darkslategray | #295b45darkslategray |
| Accent foreground | #cee9ddgainsboro | #cee9ddgainsboro |
| Destructive | #8e0e0bdarkred | #f04542tomato |
| Destructive foreground | #fbd1d0pink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #5b2940darkslategray | #5b2940darkslategray |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.34:1 | AAA |
| Text on card | 19.34:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 4.97:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 6.85:1 | AA |
| Text on background | 19.81:1 | AAA |
| Text on card | 19.81:1 | AAA |
| Primary button | 7.76:1 | AAA |
| Secondary button | 6.06:1 | AA |
| Muted text | 6.59:1 | AA |
| Accent | 6.06:1 | AA |
| Destructive | 3.73:1 | AA Large |
Paste this into your globals.css to use Gambling in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.004 347.927);
--foreground: oklch(0.146 0.036 351.763);
--muted: oklch(0.917 0.017 167.285);
--muted-foreground: oklch(0.486 0.021 166.573);
--popover: oklch(0.99 0.004 347.927);
--popover-foreground: oklch(0.146 0.036 351.763);
--card: oklch(0.99 0.004 347.927);
--card-foreground: oklch(0.146 0.036 351.763);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.358 0.079 353.553);
--primary-foreground: oklch(0.877 0.034 348.853);
--secondary: oklch(0.431 0.067 162.237);
--secondary-foreground: oklch(0.91 0.033 166.774);
--accent: oklch(0.431 0.067 162.237);
--accent-foreground: oklch(0.91 0.033 166.774);
--destructive: oklch(0.412 0.16 28.528);
--destructive-foreground: oklch(0.896 0.048 19.234);
--ring: oklch(0.358 0.079 353.553);
--chart-1: oklch(0.358 0.079 353.553);
--chart-2: oklch(0.431 0.067 162.237);
--chart-3: oklch(0.431 0.067 162.237);
--chart-4: oklch(0.465 0.073 162.137);
--chart-5: oklch(0.358 0.085 354.032);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.123 0.019 347.707);
--foreground: oklch(0.992 0.002 347.855);
--muted: oklch(0.252 0.023 164.997);
--muted-foreground: oklch(0.726 0.019 167.072);
--popover: oklch(0.123 0.019 347.707);
--popover-foreground: oklch(0.992 0.002 347.855);
--card: oklch(0.123 0.019 347.707);
--card-foreground: oklch(0.992 0.002 347.855);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.358 0.079 353.553);
--primary-foreground: oklch(0.877 0.034 348.853);
--secondary: oklch(0.431 0.067 162.237);
--secondary-foreground: oklch(0.91 0.033 166.774);
--accent: oklch(0.431 0.067 162.237);
--accent-foreground: oklch(0.91 0.033 166.774);
--destructive: oklch(0.639 0.208 26.082);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.358 0.079 353.553);
--chart-1: oklch(0.358 0.079 353.553);
--chart-2: oklch(0.431 0.067 162.237);
--chart-3: oklch(0.431 0.067 162.237);
--chart-4: oklch(0.465 0.073 162.137);
--chart-5: oklch(0.358 0.085 354.032);
}