Catalogue is a shadcn/ui theme built around a deep violet primary color (#0e091a) with deep green accents (#091a0e). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the deep violet primary (#0e091a) on a violet-tinted background (#06030c).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #06030cblack |
| Foreground | #070410black | #f6f4fawhitesmoke |
| Card | #fcfbfewhite | #06030cblack |
| Card foreground | #070410black | #f6f4fawhitesmoke |
| Popover | #fcfbfewhite | #06030cblack |
| Popover foreground | #070410black | #f6f4fawhitesmoke |
| Primary | #0e091ablack | #0e091ablack |
| Primary foreground | #9882d3mediumpurple | #9882d3mediumpurple |
| Secondary | #1a0e09black | #1a0e09black |
| Secondary foreground | #d39882darksalmon | #d39882darksalmon |
| Muted | #f3eae7linen | #180f0cblack |
| Muted foreground | #504f4edarkslategray | #b1b0afdarkgray |
| Accent | #091a0eblack | #091a0eblack |
| Accent foreground | #3eb15dmediumseagreen | #3eb15dmediumseagreen |
| Destructive | #661a05maroon | #f34a1borangered |
| Destructive foreground | #fab6a3lightpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #0e091ablack | #0e091ablack |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.73:1 | AAA |
| Text on card | 19.73:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 6.91:1 | AA |
| Accent | 6.54:1 | AA |
| Destructive | 7.16:1 | AAA |
| Text on background | 18.74:1 | AAA |
| Text on card | 18.74:1 | AAA |
| Primary button | 6.02:1 | AA |
| Secondary button | 7.72:1 | AAA |
| Muted text | 8.71:1 | AAA |
| Accent | 6.54:1 | AA |
| Destructive | 3.61:1 | AA Large |
Paste this into your globals.css to use Catalogue in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.99 0.003 298.514);
--foreground: oklch(0.124 0.03 297.077);
--muted: oklch(0.944 0.011 41.219);
--muted-foreground: oklch(0.427 0.002 41.273);
--popover: oklch(0.99 0.003 298.514);
--popover-foreground: oklch(0.124 0.03 297.077);
--card: oklch(0.99 0.003 298.514);
--card-foreground: oklch(0.124 0.03 297.077);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.158 0.036 294.23);
--primary-foreground: oklch(0.66 0.119 295.203);
--secondary: oklch(0.179 0.024 40.82);
--secondary-foreground: oklch(0.731 0.078 40.831);
--accent: oklch(0.2 0.034 150.927);
--accent-foreground: oklch(0.677 0.16 148.915);
--destructive: oklch(0.342 0.112 35.389);
--destructive-foreground: oklch(0.835 0.084 36.056);
--ring: oklch(0.158 0.036 294.23);
--chart-1: oklch(0.158 0.036 294.23);
--chart-2: oklch(0.179 0.024 40.82);
--chart-3: oklch(0.2 0.034 150.927);
--chart-4: oklch(0.213 0.032 40.697);
--chart-5: oklch(0.157 0.038 293.928);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.112 0.026 298.207);
--foreground: oklch(0.971 0.008 298.417);
--muted: oklch(0.179 0.017 40.868);
--muted-foreground: oklch(0.757 0.001 41.289);
--popover: oklch(0.112 0.026 298.207);
--popover-foreground: oklch(0.971 0.008 298.417);
--card: oklch(0.112 0.026 298.207);
--card-foreground: oklch(0.971 0.008 298.417);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.158 0.036 294.23);
--primary-foreground: oklch(0.66 0.119 295.203);
--secondary: oklch(0.179 0.024 40.82);
--secondary-foreground: oklch(0.731 0.078 40.831);
--accent: oklch(0.2 0.034 150.927);
--accent-foreground: oklch(0.677 0.16 148.915);
--destructive: oklch(0.646 0.213 35.055);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.158 0.036 294.23);
--chart-1: oklch(0.158 0.036 294.23);
--chart-2: oklch(0.179 0.024 40.82);
--chart-3: oklch(0.2 0.034 150.927);
--chart-4: oklch(0.213 0.032 40.697);
--chart-5: oklch(0.157 0.038 293.928);
}