Royal Raul Hedgehog is a shadcn/ui theme built around a violet primary color (#8b78ba) with green accents (#a7ba78). The light mode uses a neutral background (#ffffff). Dark mode keeps the violet primary (#8b78ba) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #080510black | #f7f6f8whitesmoke |
| Card | #ffffffwhite | #000000black |
| Card foreground | #080510black | #f7f6f8whitesmoke |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #080510black | #f7f6f8whitesmoke |
| Primary | #8b78bamediumpurple | #8b78bamediumpurple |
| Primary foreground | #000000black | #000000black |
| Secondary | #a7ba78darkkhaki | #a7ba78darkkhaki |
| Secondary foreground | #000000black | #000000black |
| Muted | #e7e8e3gainsboro | #1b1c17black |
| Muted foreground | #4b4b48darkslategray | #b6b7b4silver |
| Accent | #a7ba78darkkhaki | #a7ba78darkkhaki |
| Accent foreground | #000000black | #000000black |
| Destructive | #88370csaddlebrown | #dd5a13chocolate |
| Destructive foreground | #fbdccbbisque | #ffffffwhite |
| Border | #e5e4e7gainsboro | #201f23black |
| Input | #e5e4e7gainsboro | #201f23black |
| Ring | #8b78bamediumpurple | #8b78bamediumpurple |
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 | 5.50:1 | AA |
| Secondary button | 9.91:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 9.91:1 | AAA |
| Destructive | 6.21:1 | AA |
| Text on background | 19.49:1 | AAA |
| Text on card | 19.49:1 | AAA |
| Primary button | 5.50:1 | AA |
| Secondary button | 9.91:1 | AAA |
| Muted text | 8.49:1 | AAA |
| Accent | 9.91:1 | AAA |
| Destructive | 3.80:1 | AA Large |
Paste this into your globals.css to use Royal Raul Hedgehog in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.126 0.028 298.047);
--muted: oklch(0.929 0.008 119.446);
--muted-foreground: oklch(0.413 0.005 119.51);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.126 0.028 298.047);
--card: oklch(1 0 180);
--card-foreground: oklch(0.126 0.028 298.047);
--border: oklch(0.921 0.004 299.239);
--input: oklch(0.921 0.004 299.239);
--primary: oklch(0.617 0.099 296.425);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.758 0.09 121.448);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.758 0.09 121.448);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.444 0.122 43.765);
--destructive-foreground: oklch(0.915 0.041 50.122);
--ring: oklch(0.617 0.099 296.425);
--chart-1: oklch(0.617 0.099 296.425);
--chart-2: oklch(0.758 0.09 121.448);
--chart-3: oklch(0.758 0.09 121.448);
--chart-4: oklch(0.776 0.083 121.223);
--chart-5: oklch(0.611 0.108 296.098);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.975 0.002 299.261);
--muted: oklch(0.224 0.011 120.142);
--muted-foreground: oklch(0.776 0.004 119.398);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.975 0.002 299.261);
--card: oklch(0 0 0);
--card-foreground: oklch(0.975 0.002 299.261);
--border: oklch(0.244 0.006 298.856);
--input: oklch(0.244 0.006 298.856);
--primary: oklch(0.617 0.099 296.425);
--primary-foreground: oklch(0 0 0);
--secondary: oklch(0.758 0.09 121.448);
--secondary-foreground: oklch(0 0 0);
--accent: oklch(0.758 0.09 121.448);
--accent-foreground: oklch(0 0 0);
--destructive: oklch(0.627 0.179 42.859);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.617 0.099 296.425);
--chart-1: oklch(0.617 0.099 296.425);
--chart-2: oklch(0.758 0.09 121.448);
--chart-3: oklch(0.758 0.09 121.448);
--chart-4: oklch(0.776 0.083 121.223);
--chart-5: oklch(0.611 0.108 296.098);
}