Ruckus is a shadcn/ui theme built around an orange primary color (#c09468) with blue accents (#6894c0). The light mode uses a neutral background (#fefcfb). Dark mode keeps the orange primary (#c09468) on an orange-tinted background (#0c0803).
| Token | Light | Dark |
|---|---|---|
| Background | #fefcfbsnow | #0c0803black |
| Foreground | #040301black | #fbfaf9snow |
| Card | #fefcfbsnow | #0c0803black |
| Card foreground | #040301black | #fbfaf9snow |
| Popover | #fefcfbsnow | #0c0803black |
| Popover foreground | #040301black | #fbfaf9snow |
| Primary | #c09468darkkhaki | #c09468darkkhaki |
| Primary foreground | #000000black | #000000black |
| Secondary | #6894c0cadetblue | #6894c0cadetblue |
| Secondary foreground | #000000black | #000000black |
| Muted | #e0e8f1lavender | #0e171fblack |
| Muted foreground | #5c636adimgray | #959ca3darkgray |
| Accent | #6894c0cadetblue | #6894c0cadetblue |
| Accent foreground | #000000black | #000000black |
| Destructive | #cb4806chocolate | #f85e12orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c09468darkkhaki | #c09468darkkhaki |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.20:1 | AAA |
| Text on card | 20.20:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 4.92:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 4.70:1 | AA |
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 7.66:1 | AAA |
| Secondary button | 6.57:1 | AA |
| Muted text | 6.50:1 | AA |
| Accent | 6.57:1 | AA |
| Destructive | 6.59:1 | AA |
Paste this into your globals.css to use Ruckus in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.993 0.002 67.795);
--foreground: oklch(0.095 0.011 76.491);
--muted: oklch(0.927 0.015 247.986);
--muted-foreground: oklch(0.498 0.014 248.111);
--popover: oklch(0.993 0.002 67.795);
--popover-foreground: oklch(0.095 0.011 76.491);
--card: oklch(0.993 0.002 67.795);
--card-foreground: oklch(0.095 0.011 76.491);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.697 0.079 65.905);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.652 0.082 249.176);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.652 0.082 249.176);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.576 0.178 40.155);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.697 0.079 65.905);
--chart-1: oklch(0.697 0.079 65.905);
--chart-2: oklch(0.652 0.082 249.176);
--chart-3: oklch(0.652 0.082 249.176);
--chart-4: oklch(0.677 0.075 248.995);
--chart-5: oklch(0.7 0.085 65.693);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.136 0.015 75.19);
--foreground: oklch(0.985 0.002 67.803);
--muted: oklch(0.2 0.021 248.935);
--muted-foreground: oklch(0.688 0.013 248.017);
--popover: oklch(0.136 0.015 75.19);
--popover-foreground: oklch(0.985 0.002 67.803);
--card: oklch(0.136 0.015 75.19);
--card-foreground: oklch(0.985 0.002 67.803);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.697 0.079 65.905);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.652 0.082 249.176);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.652 0.082 249.176);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.675 0.202 41);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.697 0.079 65.905);
--chart-1: oklch(0.697 0.079 65.905);
--chart-2: oklch(0.652 0.082 249.176);
--chart-3: oklch(0.652 0.082 249.176);
--chart-4: oklch(0.677 0.075 248.995);
--chart-5: oklch(0.7 0.085 65.693);
}