Idle is a shadcn/ui theme built around a purple primary color (#c98ed2) with pink accents (#d28eb9). The light mode uses a neutral background (#fefbfe). Dark mode keeps the purple primary (#c98ed2) on a neutral background (#040104).
| Token | Light | Dark |
|---|---|---|
| Background | #fefbfewhite | #040104black |
| Foreground | #000000black | #fdfbfdsnow |
| Card | #fcf7fdghostwhite | #070208black |
| Card foreground | #000000black | #ffffffwhite |
| Popover | #fcf7fdghostwhite | #070208black |
| Popover foreground | #000000black | #ffffffwhite |
| Primary | #c98ed2plum | #c98ed2plum |
| Primary foreground | #1e0d21black | #1e0d21black |
| Secondary | #a78ed2mediumpurple | #a78ed2mediumpurple |
| Secondary foreground | #140d21black | #140d21black |
| Muted | #efeef2whitesmoke | #0f0d11black |
| Muted foreground | #605f63dimgray | #9e9ca0darkgray |
| Accent | #d28eb9plum | #d28eb9plum |
| Accent foreground | #210d1ablack | #210d1ablack |
| Destructive | #990a00darkred | #ff2919orangered |
| Destructive foreground | #ffcfccpink | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c98ed2plum | #c98ed2plum |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.42:1 | AAA |
| Text on card | 19.85:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 5.48:1 | AA |
| Accent | 7.30:1 | AAA |
| Destructive | 6.27:1 | AA |
| Text on background | 20.16:1 | AAA |
| Text on card | 20.52:1 | AAA |
| Primary button | 7.29:1 | AAA |
| Secondary button | 6.70:1 | AA |
| Muted text | 7.09:1 | AAA |
| Accent | 7.30:1 | AAA |
| Destructive | 3.76:1 | AA Large |
Paste this into your globals.css to use Idle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.991 0.005 321.606);
--foreground: oklch(0 0 0);
--muted: oklch(0.951 0.005 302.847);
--muted-foreground: oklch(0.488 0.006 302.731);
--popover: oklch(0.982 0.009 321.619);
--popover-foreground: oklch(0 0 0);
--card: oklch(0.982 0.009 321.619);
--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.727 0.115 321.986);
--primary-foreground: oklch(0.195 0.046 322.105);
--secondary: oklch(0.694 0.101 300.643);
--secondary-foreground: oklch(0.18 0.04 299.244);
--accent: oklch(0.727 0.099 341.445);
--accent-foreground: oklch(0.195 0.04 342.746);
--destructive: oklch(0.433 0.172 30.213);
--destructive-foreground: oklch(0.896 0.054 22.987);
--ring: oklch(0.727 0.115 321.986);
--chart-1: oklch(0.727 0.115 321.986);
--chart-2: oklch(0.694 0.101 300.643);
--chart-3: oklch(0.727 0.099 341.445);
--chart-4: oklch(0.724 0.091 300.982);
--chart-5: oklch(0.726 0.123 322.007);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.018 323.294);
--foreground: oklch(0.991 0.003 321.602);
--muted: oklch(0.165 0.008 302.197);
--muted-foreground: oklch(0.696 0.006 302.802);
--popover: oklch(0.107 0.023 323.294);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.107 0.023 323.294);
--card-foreground: oklch(1 0 180);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.727 0.115 321.986);
--primary-foreground: oklch(0.195 0.046 322.105);
--secondary: oklch(0.694 0.101 300.643);
--secondary-foreground: oklch(0.18 0.04 299.244);
--accent: oklch(0.727 0.099 341.445);
--accent-foreground: oklch(0.195 0.04 342.746);
--destructive: oklch(0.641 0.245 29.68);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.727 0.115 321.986);
--chart-1: oklch(0.727 0.115 321.986);
--chart-2: oklch(0.694 0.101 300.643);
--chart-3: oklch(0.727 0.099 341.445);
--chart-4: oklch(0.724 0.091 300.982);
--chart-5: oklch(0.726 0.123 322.007);
}