Nu Disco Light is a shadcn/ui theme built around a vivid pink primary color (#b5034a) with neutral gray accents (#d9d9d9). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid pink primary (#b5034a) on a neutral background (#ffffff).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #ffffffwhite |
| Foreground | #0c001fblack | #0c001fblack |
| Card | #fafafasnow | #fafafasnow |
| Card foreground | #020005black | #020005black |
| Popover | #f7f7f7whitesmoke | #f7f7f7whitesmoke |
| Popover foreground | #000000black | #000000black |
| Primary | #b5034acrimson | #b5034acrimson |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #d2acbbsilver | #d2acbbsilver |
| Secondary foreground | #321b24black | #321b24black |
| Muted | #e9e2e2gainsboro | #e9e2e2gainsboro |
| Muted foreground | #564343darkslategray | #564343darkslategray |
| Accent | #d9d9d9gainsboro | #d9d9d9gainsboro |
| Accent foreground | #404040darkslategray | #404040darkslategray |
| Destructive | #cc280ffirebrick | #cc280ffirebrick |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #f2f2f2whitesmoke | #f2f2f2whitesmoke |
| Input | #ebebeblinen | #ebebeblinen |
| Ring | #b5034acrimson | #b5034acrimson |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.28:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.83:1 | AA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 5.40:1 | AA |
| Text on background | 20.28:1 | AAA |
| Text on card | 20.00:1 | AAA |
| Primary button | 6.83:1 | AA |
| Secondary button | 7.87:1 | AAA |
| Muted text | 7.22:1 | AAA |
| Accent | 7.32:1 | AAA |
| Destructive | 5.40:1 | AA |
Paste this into your globals.css to use Nu Disco Light in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.07 298.218);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.067 0.034 305.966);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.495 0.197 8.986);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.783 0.049 352.316);
--secondary-foreground: oklch(0.256 0.039 354.68);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.548 0.201 31.459);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.495 0.197 8.986);
--chart-1: oklch(0.495 0.197 8.986);
--chart-2: oklch(0.783 0.049 352.316);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.81 0.043 352.057);
--chart-5: oklch(0.5 0.2 9.587);
}
.dark {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.13 0.07 298.218);
--muted: oklch(0.919 0.007 17.278);
--muted-foreground: oklch(0.404 0.025 18.259);
--popover: oklch(0.977 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.985 0 180);
--card-foreground: oklch(0.067 0.034 305.966);
--border: oklch(0.962 0 180);
--input: oklch(0.939 0 180);
--primary: oklch(0.495 0.197 8.986);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.783 0.049 352.316);
--secondary-foreground: oklch(0.256 0.039 354.68);
--accent: oklch(0.885 0 180);
--accent-foreground: oklch(0.371 0 168.69);
--destructive: oklch(0.548 0.201 31.459);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.495 0.197 8.986);
--chart-1: oklch(0.495 0.197 8.986);
--chart-2: oklch(0.783 0.049 352.316);
--chart-3: oklch(0.885 0 180);
--chart-4: oklch(0.81 0.043 352.057);
--chart-5: oklch(0.5 0.2 9.587);
}