Poker is a shadcn/ui theme built around a light teal primary color (#e3f8f0) with neutral gray accents (#dadcdc). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the light teal primary (#e3f8f0) on a teal-tinted background (#05100c).
| Token | Light | Dark |
|---|---|---|
| Background | #f8fcfamintcream | #05100cblack |
| Foreground | #04110cblack | #f6f8f8whitesmoke |
| Card | #f8fcfamintcream | #05100cblack |
| Card foreground | #04110cblack | #f6f8f8whitesmoke |
| Popover | #f8fcfamintcream | #05100cblack |
| Popover foreground | #04110cblack | #f6f8f8whitesmoke |
| Primary | #e3f8f0honeydew | #e3f8f0honeydew |
| Primary foreground | #0e3426darkslategray | #0e3426darkslategray |
| Secondary | #dadcdcgainsboro | #1f2825darkslategray |
| Secondary foreground | #404443darkslategray | #b4c5bfsilver |
| Muted | #cde9dfgainsboro | #163227darkslategray |
| Muted foreground | #526f65dimgray | #90ada2darkseagreen |
| Accent | #dadcdcgainsboro | #1f2825darkslategray |
| Accent foreground | #404443darkslategray | #b4c5bfsilver |
| Destructive | #700101maroon | #fe2020red |
| Destructive foreground | #ffa4a4lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e3f8f0honeydew | #e3f8f0honeydew |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 18.60:1 | AAA |
| Text on card | 18.60:1 | AAA |
| Primary button | 12.27:1 | AAA |
| Secondary button | 7.19:1 | AAA |
| Muted text | 4.28:1 | AA Large |
| Accent | 7.19:1 | AAA |
| Destructive | 6.57:1 | AA |
| Text on background | 18.19:1 | AAA |
| Text on card | 18.19:1 | AAA |
| Primary button | 12.27:1 | AAA |
| Secondary button | 8.38:1 | AAA |
| Muted text | 5.73:1 | AA |
| Accent | 8.38:1 | AAA |
| Destructive | 3.86:1 | AA Large |
Paste this into your globals.css to use Poker in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.987 0.005 172.432);
--foreground: oklch(0.162 0.023 169.805);
--muted: oklch(0.912 0.032 171.506);
--muted-foreground: oklch(0.517 0.038 170.237);
--popover: oklch(0.987 0.005 172.432);
--popover-foreground: oklch(0.162 0.023 169.805);
--card: oklch(0.987 0.005 172.432);
--card-foreground: oklch(0.162 0.023 169.805);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.96 0.024 171.835);
--primary-foreground: oklch(0.295 0.051 165.414);
--secondary: oklch(0.894 0.003 172.492);
--secondary-foreground: oklch(0.383 0.006 172.13);
--accent: oklch(0.894 0.003 172.492);
--accent-foreground: oklch(0.383 0.006 172.13);
--destructive: oklch(0.342 0.14 29.147);
--destructive-foreground: oklch(0.808 0.108 19.698);
--ring: oklch(0.96 0.024 171.835);
--chart-1: oklch(0.96 0.024 171.835);
--chart-2: oklch(0.894 0.003 172.492);
--chart-3: oklch(0.894 0.003 172.492);
--chart-4: oklch(0.917 0.002 172.512);
--chart-5: oklch(0.961 0.025 171.797);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.158 0.019 170.311);
--foreground: oklch(0.978 0.002 172.507);
--muted: oklch(0.29 0.039 167.616);
--muted-foreground: oklch(0.721 0.036 171.064);
--popover: oklch(0.158 0.019 170.311);
--popover-foreground: oklch(0.978 0.002 172.507);
--card: oklch(0.158 0.019 170.311);
--card-foreground: oklch(0.978 0.002 172.507);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.96 0.024 171.835);
--primary-foreground: oklch(0.295 0.051 165.414);
--secondary: oklch(0.268 0.014 170.906);
--secondary-foreground: oklch(0.809 0.021 171.812);
--accent: oklch(0.268 0.014 170.906);
--accent-foreground: oklch(0.809 0.021 171.812);
--destructive: oklch(0.635 0.248 28.147);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.96 0.024 171.835);
--chart-1: oklch(0.96 0.024 171.835);
--chart-2: oklch(0.268 0.014 170.906);
--chart-3: oklch(0.268 0.014 170.906);
--chart-4: oklch(0.301 0.017 170.819);
--chart-5: oklch(0.961 0.025 171.797);
}