Unequaled is a shadcn/ui theme built around a yellow primary color (#cabb91) with violet accents (#bb91ca). The light mode uses a neutral background (#ffffff). Dark mode keeps the yellow primary (#cabb91) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #000000black |
| Foreground | #000000black | #fdfdfcwhite |
| Card | #ffffffwhite | #000000black |
| Card foreground | #000000black | #fdfdfcwhite |
| Popover | #ffffffwhite | #000000black |
| Popover foreground | #000000black | #fdfdfcwhite |
| Primary | #cabb91tan | #cabb91tan |
| Primary foreground | #1c180dblack | #1c180dblack |
| Secondary | #91cabbdarkgray | #91cabbdarkgray |
| Secondary foreground | #0d1c18black | #0d1c18black |
| Muted | #e8eeeclavender | #111716black |
| Muted foreground | #49504edarkslategray | #afb6b4darkgray |
| Accent | #bb91caplum | #bb91caplum |
| Accent foreground | #180d1cblack | #180d1cblack |
| Destructive | #832807saddlebrown | #f4632ftomato |
| Destructive foreground | #fcd0c0peachpuff | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #cabb91tan | #cabb91tan |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 9.27:1 | AAA |
| Secondary button | 9.49:1 | AAA |
| Muted text | 7.01:1 | AAA |
| Accent | 7.18:1 | AAA |
| Destructive | 6.58:1 | AA |
| Text on background | 20.63:1 | AAA |
| Text on card | 20.63:1 | AAA |
| Primary button | 9.27:1 | AAA |
| Secondary button | 9.49:1 | AAA |
| Muted text | 8.75:1 | AAA |
| Accent | 7.18:1 | AAA |
| Destructive | 6.68:1 | AA |
Paste this into your globals.css to use Unequaled in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0 0 0);
--muted: oklch(0.943 0.007 178.573);
--muted-foreground: oklch(0.424 0.008 178.208);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0 0 0);
--card: oklch(1 0 180);
--card-foreground: oklch(0 0 0);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.793 0.059 90.429);
--primary-foreground: oklch(0.209 0.02 90.361);
--secondary: oklch(0.795 0.063 176.247);
--secondary-foreground: oklch(0.21 0.021 175.358);
--accent: oklch(0.715 0.093 316.879);
--accent-foreground: oklch(0.182 0.032 316.737);
--destructive: oklch(0.413 0.131 37.486);
--destructive-foreground: oklch(0.891 0.054 40.965);
--ring: oklch(0.793 0.059 90.429);
--chart-1: oklch(0.793 0.059 90.429);
--chart-2: oklch(0.795 0.063 176.247);
--chart-3: oklch(0.715 0.093 316.879);
--chart-4: oklch(0.814 0.057 176.568);
--chart-5: oklch(0.797 0.063 90.421);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.994 0.002 90.134);
--muted: oklch(0.2 0.01 177.288);
--muted-foreground: oklch(0.77 0.007 178.512);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.994 0.002 90.134);
--card: oklch(0 0 0);
--card-foreground: oklch(0.994 0.002 90.134);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.793 0.059 90.429);
--primary-foreground: oklch(0.209 0.02 90.361);
--secondary: oklch(0.795 0.063 176.247);
--secondary-foreground: oklch(0.21 0.021 175.358);
--accent: oklch(0.715 0.093 316.879);
--accent-foreground: oklch(0.182 0.032 316.737);
--destructive: oklch(0.678 0.189 39.004);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.793 0.059 90.429);
--chart-1: oklch(0.793 0.059 90.429);
--chart-2: oklch(0.795 0.063 176.247);
--chart-3: oklch(0.715 0.093 316.879);
--chart-4: oklch(0.814 0.057 176.568);
--chart-5: oklch(0.797 0.063 90.421);
}