Cluttered is a shadcn/ui theme built around a vivid violet primary color (#ac0ffa) with muted light violet accents (#e6e3e8). The light mode uses a neutral background (#fbf7fd). Dark mode keeps the vivid violet primary (#ac0ffa) on a violet-tinted background (#0c0410).
| Token | Light | Dark |
|---|---|---|
| Background | #fbf7fdghostwhite | #0c0410black |
| Foreground | #030104black | #f8f6f8whitesmoke |
| Card | #f9f3fcghostwhite | #0f0614black |
| Card foreground | #000000black | #faf9fbghostwhite |
| Popover | #fbf7fdghostwhite | #0c0410black |
| Popover foreground | #030104black | #f8f6f8whitesmoke |
| Primary | #ac0ffadarkviolet | #ac0ffadarkviolet |
| Primary foreground | #ffffffwhite | #ffffffwhite |
| Secondary | #e6e3e8gainsboro | #221f23black |
| Secondary foreground | #4f4653darkslategray | #bcb5bfsilver |
| Muted | #d9d7dbgainsboro | #272428darkslategray |
| Muted foreground | #544a59darkslategray | #b0a6b5darkgray |
| Accent | #e6e3e8gainsboro | #221f23black |
| Accent foreground | #4f4653darkslategray | #bcb5bfsilver |
| Destructive | #b20806firebrick | #df0a07red |
| Destructive foreground | #feeceblinen | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #ac0ffadarkviolet | #ac0ffadarkviolet |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.60:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 5.00:1 | AA |
| Secondary button | 7.10:1 | AAA |
| Muted text | 5.87:1 | AA |
| Accent | 7.10:1 | AAA |
| Destructive | 6.27:1 | AA |
| Text on background | 18.72:1 | AAA |
| Text on card | 18.96:1 | AAA |
| Primary button | 5.00:1 | AA |
| Secondary button | 8.15:1 | AAA |
| Muted text | 6.53:1 | AA |
| Accent | 8.15:1 | AAA |
| Destructive | 5.03:1 | AA |
Paste this into your globals.css to use Cluttered in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.98 0.009 314.781);
--foreground: oklch(0.084 0.016 316.517);
--muted: oklch(0.882 0.006 314.795);
--muted-foreground: oklch(0.425 0.027 314.52);
--popover: oklch(0.98 0.009 314.781);
--popover-foreground: oklch(0.084 0.016 316.517);
--card: oklch(0.971 0.014 314.757);
--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.583 0.292 308.333);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.921 0.006 314.794);
--secondary-foreground: oklch(0.408 0.023 314.557);
--accent: oklch(0.921 0.006 314.794);
--accent-foreground: oklch(0.408 0.023 314.557);
--destructive: oklch(0.482 0.194 29.129);
--destructive-foreground: oklch(0.957 0.021 18.696);
--ring: oklch(0.583 0.292 308.333);
--chart-1: oklch(0.583 0.292 308.333);
--chart-2: oklch(0.921 0.006 314.794);
--chart-3: oklch(0.921 0.006 314.794);
--chart-4: oklch(0.945 0.004 314.805);
--chart-5: oklch(0.586 0.296 307.999);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.132 0.03 315.114);
--foreground: oklch(0.976 0.003 314.811);
--muted: oklch(0.266 0.008 314.683);
--muted-foreground: oklch(0.738 0.024 314.672);
--popover: oklch(0.132 0.03 315.114);
--popover-foreground: oklch(0.976 0.003 314.811);
--card: oklch(0.144 0.035 314.255);
--card-foreground: oklch(0.984 0.002 314.816);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.583 0.292 308.333);
--primary-foreground: oklch(1 0 180);
--secondary: oklch(0.244 0.01 314.632);
--secondary-foreground: oklch(0.782 0.015 314.732);
--accent: oklch(0.244 0.01 314.632);
--accent-foreground: oklch(0.782 0.015 314.732);
--destructive: oklch(0.569 0.23 29.153);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.583 0.292 308.333);
--chart-1: oklch(0.583 0.292 308.333);
--chart-2: oklch(0.244 0.01 314.632);
--chart-3: oklch(0.244 0.01 314.632);
--chart-4: oklch(0.275 0.012 314.62);
--chart-5: oklch(0.586 0.296 307.999);
}