Incomparable is a shadcn/ui theme built around a vivid deep yellow primary color (#8c6103) with vivid deep blue accents (#032e8c). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep yellow primary (#8c6103) on a yellow-tinted background (#0e0c06).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0e0c06black |
| Foreground | #080602black | #f8f8f6whitesmoke |
| Card | #ffffffwhite | #0e0c06black |
| Card foreground | #080602black | #f8f8f6whitesmoke |
| Popover | #ffffffwhite | #0e0c06black |
| Popover foreground | #080602black | #f8f8f6whitesmoke |
| Primary | #8c6103saddlebrown | #8c6103saddlebrown |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #032e8cmidnightblue | #032e8cmidnightblue |
| Secondary foreground | #c3d6fepowderblue | #c3d6fepowderblue |
| Muted | #f0f1f5whitesmoke | #0a0c0fblack |
| Muted foreground | #414753darkslategray | #acb2bedarkgray |
| Accent | #032e8cmidnightblue | #032e8cmidnightblue |
| Accent foreground | #c3d6fepowderblue | #c3d6fepowderblue |
| Destructive | #af4004saddlebrown | #fb752dtomato |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #8c6103saddlebrown | #8c6103saddlebrown |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 5.51:1 | AA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 8.28:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 5.92:1 | AA |
| Text on background | 18.41:1 | AAA |
| Text on card | 18.41:1 | AAA |
| Primary button | 5.51:1 | AA |
| Secondary button | 8.08:1 | AAA |
| Muted text | 9.19:1 | AAA |
| Accent | 8.08:1 | AAA |
| Destructive | 7.67:1 | AAA |
Paste this into your globals.css to use Incomparable in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.124 0.015 91.965);
--muted: oklch(0.959 0.004 265.986);
--muted-foreground: oklch(0.396 0.022 265.669);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.124 0.015 91.965);
--card: oklch(1 0 180);
--card-foreground: oklch(0.124 0.015 91.965);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.524 0.108 77.737);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.349 0.161 262.546);
--secondary-foreground: oklch(0.874 0.059 265.566);
--accent: oklch(0.349 0.161 262.546);
--accent-foreground: oklch(0.874 0.059 265.566);
--destructive: oklch(0.519 0.157 41.385);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.524 0.108 77.737);
--chart-1: oklch(0.524 0.108 77.737);
--chart-2: oklch(0.349 0.161 262.546);
--chart-3: oklch(0.349 0.161 262.546);
--chart-4: oklch(0.374 0.175 262.636);
--chart-5: oklch(0.528 0.11 77.282);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.154 0.013 87.76);
--foreground: oklch(0.978 0.002 86.014);
--muted: oklch(0.154 0.007 265.734);
--muted-foreground: oklch(0.762 0.018 265.882);
--popover: oklch(0.154 0.013 87.76);
--popover-foreground: oklch(0.978 0.002 86.014);
--card: oklch(0.154 0.013 87.76);
--card-foreground: oklch(0.978 0.002 86.014);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.524 0.108 77.737);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.349 0.161 262.546);
--secondary-foreground: oklch(0.874 0.059 265.566);
--accent: oklch(0.349 0.161 262.546);
--accent-foreground: oklch(0.874 0.059 265.566);
--destructive: oklch(0.711 0.182 45.062);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.524 0.108 77.737);
--chart-1: oklch(0.524 0.108 77.737);
--chart-2: oklch(0.349 0.161 262.546);
--chart-3: oklch(0.349 0.161 262.546);
--chart-4: oklch(0.374 0.175 262.636);
--chart-5: oklch(0.528 0.11 77.282);
}