Idle is a shadcn/ui theme built around a muted light teal primary color (#e5ebe9) with muted light cyan accents (#e5eaeb). The light mode uses a neutral background (#f7fdfb). Dark mode keeps the muted light teal primary (#e5ebe9) on a neutral background (#000000).
| Token | Light | Dark |
|---|---|---|
| Background | #f7fdfbmintcream | #000000black |
| Foreground | #030c09black | #ffffffwhite |
| Card | #f7fdfbmintcream | #000000black |
| Card foreground | #030c09black | #ffffffwhite |
| Popover | #f7fdfbmintcream | #000000black |
| Popover foreground | #030c09black | #ffffffwhite |
| Primary | #e5ebe9lavender | #e5ebe9lavender |
| Primary foreground | #465952darkslategray | #465952darkslategray |
| Secondary | #e5ebe6gainsboro | #e5ebe6gainsboro |
| Secondary foreground | #465948darkslategray | #465948darkslategray |
| Muted | #dfe7e0gainsboro | #182019black |
| Muted foreground | #5a685cdimgray | #97a599darkgray |
| Accent | #e5eaeblavender | #e5eaeblavender |
| Accent foreground | #465659darkslategray | #465659darkslategray |
| Destructive | #9b3408saddlebrown | #e44d0corangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #e5ebe9lavender | #e5ebe9lavender |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.18:1 | AAA |
| Text on card | 19.18:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 4.65:1 | AA |
| Accent | 6.32:1 | AA |
| Destructive | 7.25:1 | AAA |
| Text on background | 21.00:1 | AAA |
| Text on card | 21.00:1 | AAA |
| Primary button | 6.18:1 | AA |
| Secondary button | 6.23:1 | AA |
| Muted text | 6.47:1 | AA |
| Accent | 6.32:1 | AA |
| Destructive | 3.92:1 | AA Large |
Paste this into your globals.css to use Idle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.988 0.006 172.398);
--foreground: oklch(0.143 0.018 172.336);
--muted: oklch(0.92 0.012 149.516);
--muted-foreground: oklch(0.501 0.025 149.054);
--popover: oklch(0.988 0.006 172.398);
--popover-foreground: oklch(0.143 0.018 172.336);
--card: oklch(0.988 0.006 172.398);
--card-foreground: oklch(0.143 0.018 172.336);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.935 0.006 172.374);
--primary-foreground: oklch(0.444 0.026 170.754);
--secondary: oklch(0.934 0.009 149.569);
--secondary-foreground: oklch(0.441 0.035 148.633);
--accent: oklch(0.934 0.005 207.909);
--accent-foreground: oklch(0.44 0.021 207.84);
--destructive: oklch(0.471 0.145 39.121);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.935 0.006 172.374);
--chart-1: oklch(0.935 0.006 172.374);
--chart-2: oklch(0.934 0.009 149.569);
--chart-3: oklch(0.934 0.005 207.909);
--chart-4: oklch(0.956 0.006 149.61);
--chart-5: oklch(0.936 0.008 172.323);
}
.dark {
--radius: 0.5rem;
--background: oklch(0 0 0);
--foreground: oklch(1 0 180);
--muted: oklch(0.233 0.017 148.721);
--muted-foreground: oklch(0.707 0.023 149.278);
--popover: oklch(0 0 0);
--popover-foreground: oklch(1 0 180);
--card: oklch(0 0 0);
--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.935 0.006 172.374);
--primary-foreground: oklch(0.444 0.026 170.754);
--secondary: oklch(0.934 0.009 149.569);
--secondary-foreground: oklch(0.441 0.035 148.633);
--accent: oklch(0.934 0.005 207.909);
--accent-foreground: oklch(0.44 0.021 207.84);
--destructive: oklch(0.623 0.197 38.45);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.935 0.006 172.374);
--chart-1: oklch(0.935 0.006 172.374);
--chart-2: oklch(0.934 0.009 149.569);
--chart-3: oklch(0.934 0.005 207.909);
--chart-4: oklch(0.956 0.006 149.61);
--chart-5: oklch(0.936 0.008 172.323);
}