Idle for shadcn/ui

Idle is a shadcn/ui theme built around a vivid light teal primary color (#baf7e0) with vivid light cyan accents (#baf0f7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#baf7e0) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#ffffffwhite
#000000black
Foreground
#03120cblack
#fcfdfdwhite
Card
#fcfcfcsnow
#030303black
Card foreground
#020d09black
#ffffffwhite
Popover
#ffffffwhite
#000000black
Popover foreground
#03120cblack
#fcfdfdwhite
Primary
#baf7e0paleturquoise
#baf7e0paleturquoise
Primary foreground
#03170fblack
#03170fblack
Secondary
#baf7c1powderblue
#baf7c1powderblue
Secondary foreground
#031705black
#031705black
Muted
#e3e8e4gainsboro
#171c18black
Muted foreground
#3f5541darkslategray
#aac0addarkgray
Accent
#baf0f7paleturquoise
#baf0f7paleturquoise
Accent foreground
#031517black
#031517black
Destructive
#77160dmaroon
#d32717firebrick
Destructive foreground
#f8c3bfpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#baf7e0paleturquoise
#baf7e0paleturquoise

Contrast

WCAG 2 contrast ratios between each background and its foreground color.

Light mode
Text on background19.16:1AAA
Text on card19.31:1AAA
Primary button15.45:1AAA
Secondary button15.24:1AAA
Muted text6.54:1AA
Accent15.06:1AAA
Destructive7.09:1AAA
Dark mode
Text on background20.60:1AAA
Text on card20.67:1AAA
Primary button15.45:1AAA
Secondary button15.24:1AAA
Muted text8.92:1AAA
Accent15.06:1AAA
Destructive5.14:1AA

CSS variables

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.164 0.026 168.548);
  --muted: oklch(0.926 0.008 149.03);
  --muted-foreground: oklch(0.425 0.042 147.889);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.164 0.026 168.548);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.146 0.022 170.977);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.929 0.069 169.217);
  --primary-foreground: oklch(0.184 0.033 166.564);
  --secondary: oklch(0.922 0.096 147.825);
  --secondary-foreground: oklch(0.181 0.047 146.433);
  --accent: oklch(0.921 0.056 206.258);
  --accent-foreground: oklch(0.179 0.026 205.897);
  --destructive: oklch(0.373 0.133 29.852);
  --destructive-foreground: oklch(0.864 0.061 24.404);
  --ring: oklch(0.929 0.069 169.217);
  --chart-1: oklch(0.929 0.069 169.217);
  --chart-2: oklch(0.922 0.096 147.825);
  --chart-3: oklch(0.921 0.056 206.258);
  --chart-4: oklch(0.936 0.077 148.119);
  --chart-5: oklch(0.931 0.072 169.129);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.993 0.001 171.559);
  --muted: oklch(0.22 0.012 148.495);
  --muted-foreground: oklch(0.786 0.037 148.571);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.993 0.001 171.559);
  --card: oklch(0.092 0 180);
  --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.929 0.069 169.217);
  --primary-foreground: oklch(0.184 0.033 166.564);
  --secondary: oklch(0.922 0.096 147.825);
  --secondary-foreground: oklch(0.181 0.047 146.433);
  --accent: oklch(0.921 0.056 206.258);
  --accent-foreground: oklch(0.179 0.026 205.897);
  --destructive: oklch(0.561 0.208 30.032);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.929 0.069 169.217);
  --chart-1: oklch(0.929 0.069 169.217);
  --chart-2: oklch(0.922 0.096 147.825);
  --chart-3: oklch(0.921 0.056 206.258);
  --chart-4: oklch(0.936 0.077 148.119);
  --chart-5: oklch(0.931 0.072 169.129);
}