Vermicelli is a shadcn/ui theme built around a muted indigo primary color (#574e7e) with muted indigo accents (#afaac5). The light mode uses a neutral background (#fcfbfe). Dark mode keeps the muted indigo primary (#574e7e) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfbfewhite | #000000black |
| Foreground | #020104black | #f6f5fawhitesmoke |
| Card | #fcfbfewhite | #000000black |
| Card foreground | #020104black | #f6f5fawhitesmoke |
| Popover | #fcfbfewhite | #000000black |
| Popover foreground | #020104black | #f6f5fawhitesmoke |
| Primary | #574e7edarkslateblue | #574e7edarkslateblue |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #c8c5d3thistle | #2b2932darkslategray |
| Secondary foreground | #2f2c3adarkslategray | #c4c1cdsilver |
| Muted | #dcd9e8gainsboro | #1a1726black |
| Muted foreground | #5f5d65dimgray | #9c9aa2darkgray |
| Accent | #afaac5silver | #3a364adarkslategray |
| Accent foreground | #1b1924black | #d5d3dfgainsboro |
| Destructive | #e30202red | #fd0d0dred |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #574e7edarkslateblue | #574e7edarkslateblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.17:1 | AAA |
| Text on card | 20.17:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 8.04:1 | AAA |
| Muted text | 4.66:1 | AA |
| Accent | 7.75:1 | AAA |
| Destructive | 4.90:1 | AA |
| Text on background | 19.35:1 | AAA |
| Text on card | 19.35:1 | AAA |
| Primary button | 7.53:1 | AAA |
| Secondary button | 8.05:1 | AAA |
| Muted text | 6.32:1 | AA |
| Accent | 7.91:1 | AAA |
| Destructive | 4.02:1 | AA Large |
Paste this into your globals.css to use Vermicelli in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.989 0.004 295.505);
--foreground: oklch(0.076 0.019 294.396);
--muted: oklch(0.891 0.021 295.144);
--muted-foreground: oklch(0.483 0.012 295.104);
--popover: oklch(0.989 0.004 295.505);
--popover-foreground: oklch(0.076 0.019 294.396);
--card: oklch(0.989 0.004 295.505);
--card-foreground: oklch(0.076 0.019 294.396);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.453 0.079 292.125);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.831 0.019 295.167);
--secondary-foreground: oklch(0.303 0.024 294.096);
--accent: oklch(0.751 0.039 294.614);
--accent-foreground: oklch(0.221 0.023 293.627);
--destructive: oklch(0.576 0.236 29.16);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.453 0.079 292.125);
--chart-1: oklch(0.453 0.079 292.125);
--chart-2: oklch(0.831 0.019 295.167);
--chart-3: oklch(0.751 0.039 294.614);
--chart-4: oklch(0.857 0.016 295.243);
--chart-5: oklch(0.447 0.089 291.576);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(0.971 0.007 295.439);
--muted: oklch(0.216 0.03 292.894);
--muted-foreground: oklch(0.691 0.011 295.276);
--popover: oklch(0 0 0);
--popover-foreground: oklch(0.971 0.007 295.439);
--card: oklch(0 0 0);
--card-foreground: oklch(0.971 0.007 295.439);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.453 0.079 292.125);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.288 0.017 294.494);
--secondary-foreground: oklch(0.817 0.016 295.224);
--accent: oklch(0.344 0.036 293.612);
--accent-foreground: oklch(0.871 0.017 295.221);
--destructive: oklch(0.626 0.253 28.913);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.453 0.079 292.125);
--chart-1: oklch(0.453 0.079 292.125);
--chart-2: oklch(0.288 0.017 294.494);
--chart-3: oklch(0.344 0.036 293.612);
--chart-4: oklch(0.317 0.019 294.453);
--chart-5: oklch(0.447 0.089 291.576);
}