Dancing is a shadcn/ui theme built around a blue primary color (#91b7d4) with green accents (#b7d491). The light mode uses a neutral background (#ffffff). Dark mode keeps the blue primary (#91b7d4) on a neutral background (#020303).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020303black |
| Foreground | #04080bblack | #f8fafcghostwhite |
| Card | #fcfcfcsnow | #030507black |
| Card foreground | #030508black | #fcfdfdwhite |
| Popover | #ffffffwhite | #020303black |
| Popover foreground | #04080bblack | #f8fafcghostwhite |
| Primary | #91b7d4skyblue | #91b7d4skyblue |
| Primary foreground | #0e1b25black | #0e1b25black |
| Secondary | #d491b7plum | #d491b7plum |
| Secondary foreground | #250e1bblack | #250e1bblack |
| Muted | #e1dbdegainsboro | #241e22black |
| Muted foreground | #52474ddarkslategray | #b8adb3darkgray |
| Accent | #b7d491tan | #b7d491tan |
| Accent foreground | #1b250eblack | #1b250eblack |
| Destructive | #810604maroon | #f93c39tomato |
| Destructive foreground | #fdbbbalightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #91b7d4skyblue | #91b7d4skyblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.10:1 | AAA |
| Text on card | 19.96:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 6.50:1 | AA |
| Accent | 9.75:1 | AAA |
| Destructive | 6.64:1 | AA |
| Text on background | 19.76:1 | AAA |
| Text on card | 19.99:1 | AAA |
| Primary button | 8.25:1 | AAA |
| Secondary button | 7.36:1 | AAA |
| Muted text | 7.50:1 | AAA |
| Accent | 9.75:1 | AAA |
| Destructive | 3.66:1 | AA Large |
Paste this into your globals.css to use Dancing in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.131 0.012 234.102);
--muted: oklch(0.897 0.007 341.995);
--muted-foreground: oklch(0.411 0.017 342.789);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.131 0.012 234.102);
--card: oklch(0.992 0 161.565);
--card-foreground: oklch(0.114 0.011 233.662);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.762 0.059 241.459);
--primary-foreground: oklch(0.215 0.026 242.4);
--secondary: oklch(0.734 0.095 344.687);
--secondary-foreground: oklch(0.205 0.043 346.464);
--accent: oklch(0.832 0.095 127.375);
--accent-foreground: oklch(0.247 0.041 128.346);
--destructive: oklch(0.381 0.152 29.085);
--destructive-foreground: oklch(0.852 0.077 19.893);
--ring: oklch(0.762 0.059 241.459);
--chart-1: oklch(0.762 0.059 241.459);
--chart-2: oklch(0.734 0.095 344.687);
--chart-3: oklch(0.832 0.095 127.375);
--chart-4: oklch(0.76 0.085 344.303);
--chart-5: oklch(0.762 0.063 241.552);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.091 0.006 235.715);
--foreground: oklch(0.984 0.003 240.327);
--muted: oklch(0.244 0.01 342.74);
--muted-foreground: oklch(0.759 0.015 342.27);
--popover: oklch(0.091 0.006 235.715);
--popover-foreground: oklch(0.984 0.003 240.327);
--card: oklch(0.115 0.007 235.715);
--card-foreground: oklch(0.992 0.002 240.305);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.762 0.059 241.459);
--primary-foreground: oklch(0.215 0.026 242.4);
--secondary: oklch(0.734 0.095 344.687);
--secondary-foreground: oklch(0.205 0.043 346.464);
--accent: oklch(0.832 0.095 127.375);
--accent-foreground: oklch(0.247 0.041 128.346);
--destructive: oklch(0.646 0.225 26.924);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.762 0.059 241.459);
--chart-1: oklch(0.762 0.059 241.459);
--chart-2: oklch(0.734 0.095 344.687);
--chart-3: oklch(0.832 0.095 127.375);
--chart-4: oklch(0.76 0.085 344.303);
--chart-5: oklch(0.762 0.063 241.552);
}