Idle is a shadcn/ui theme built around a light blue primary color (#c4cff2) with light green accents (#cff2c4). The light mode uses a neutral background (#ffffff). Dark mode keeps the light blue primary (#c4cff2) on a neutral background (#020204).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #020204black |
| Foreground | #020612black | #f5f6fawhitesmoke |
| Card | #ffffffwhite | #020204black |
| Card foreground | #020612black | #f5f6fawhitesmoke |
| Popover | #ffffffwhite | #020204black |
| Popover foreground | #020612black | #f5f6fawhitesmoke |
| Primary | #c4cff2lightblue | #c4cff2lightblue |
| Primary foreground | #182c6dmidnightblue | #182c6dmidnightblue |
| Secondary | #f2c4cfpink | #f2c4cfpink |
| Secondary foreground | #6d182cmaroon | #6d182cmaroon |
| Muted | #f1dfe3mistyrose | #200e12black |
| Muted foreground | #554448darkslategray | #bbaaaedarkgray |
| Accent | #cff2c4lightgrey | #cff2c4lightgrey |
| Accent foreground | #0a1906black | #0a1906black |
| Destructive | #a84105saddlebrown | #f25e07orangered |
| Destructive foreground | #ffffffwhite | #000000black |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c4cff2lightblue | #c4cff2lightblue |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.24:1 | AAA |
| Text on card | 20.24:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 7.11:1 | AAA |
| Accent | 14.87:1 | AAA |
| Destructive | 6.12:1 | AA |
| Text on background | 19.21:1 | AAA |
| Text on card | 19.21:1 | AAA |
| Primary button | 8.38:1 | AAA |
| Secondary button | 7.49:1 | AAA |
| Muted text | 8.36:1 | AAA |
| Accent | 14.87:1 | AAA |
| Destructive | 6.38:1 | AA |
Paste this into your globals.css to use Idle in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(1 0 180);
--foreground: oklch(0.125 0.03 263.001);
--muted: oklch(0.92 0.02 1.572);
--muted-foreground: oklch(0.406 0.024 2.556);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.125 0.03 263.001);
--card: oklch(1 0 180);
--card-foreground: oklch(0.125 0.03 263.001);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.858 0.05 271.964);
--primary-foreground: oklch(0.32 0.116 266.763);
--secondary: oklch(0.865 0.054 2.644);
--secondary-foreground: oklch(0.359 0.118 12.2);
--accent: oklch(0.925 0.071 138.422);
--accent-foreground: oklch(0.194 0.043 138.203);
--destructive: oklch(0.51 0.149 42.992);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.858 0.05 271.964);
--chart-1: oklch(0.858 0.05 271.964);
--chart-2: oklch(0.865 0.054 2.644);
--chart-3: oklch(0.925 0.071 138.422);
--chart-4: oklch(0.893 0.042 2.23);
--chart-5: oklch(0.856 0.053 271.925);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.085 0.009 267.729);
--foreground: oklch(0.973 0.006 272.595);
--muted: oklch(0.192 0.031 5.404);
--muted-foreground: oklch(0.754 0.02 1.697);
--popover: oklch(0.085 0.009 267.729);
--popover-foreground: oklch(0.973 0.006 272.595);
--card: oklch(0.085 0.009 267.729);
--card-foreground: oklch(0.973 0.006 272.595);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.858 0.05 271.964);
--primary-foreground: oklch(0.32 0.116 266.763);
--secondary: oklch(0.865 0.054 2.644);
--secondary-foreground: oklch(0.359 0.118 12.2);
--accent: oklch(0.925 0.071 138.422);
--accent-foreground: oklch(0.194 0.043 138.203);
--destructive: oklch(0.666 0.198 42.115);
--destructive-foreground: oklch(0 0 0);
--ring: oklch(0.858 0.05 271.964);
--chart-1: oklch(0.858 0.05 271.964);
--chart-2: oklch(0.865 0.054 2.644);
--chart-3: oklch(0.925 0.071 138.422);
--chart-4: oklch(0.893 0.042 2.23);
--chart-5: oklch(0.856 0.053 271.925);
}