Folder for shadcn/ui

Folder is a shadcn/ui theme built around a vivid teal primary color (#07f27d) with vivid pink accents (#f2077d). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid teal primary (#07f27d) on a neutral background (#020805).

Color palette

TokenLightDark
Background
#ffffffwhite
#020805black
Foreground
#000000black
#ffffffwhite
Card
#fcfcfcsnow
#030c08black
Card foreground
#000000black
#ffffffwhite
Popover
#fcfcfcsnow
#030c08black
Popover foreground
#000000black
#ffffffwhite
Primary
#07f27dspringgreen
#07f27dspringgreen
Primary foreground
#012d17black
#012d17black
Secondary
#f2077ddeeppink
#f2077ddeeppink
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e5cdd9gainsboro
#321a26darkslategray
Muted foreground
#4a3b42darkslategray
#c4b5bdsilver
Accent
#f2077ddeeppink
#f2077ddeeppink
Accent foreground
#ffffffwhite
#ffffffwhite
Destructive
#6a180bmaroon
#d93117firebrick
Destructive foreground
#f7bab1lightpink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#07f27dspringgreen
#07f27dspringgreen

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button10.11:1AAA
Secondary button4.10:1AA Large
Muted text7.03:1AAA
Accent4.10:1AA Large
Destructive7.21:1AAA
Dark mode
Text on background20.18:1AAA
Text on card19.79:1AAA
Primary button10.11:1AAA
Secondary button4.10:1AA Large
Muted text8.12:1AAA
Accent4.10:1AA Large
Destructive4.77:1AA

CSS variables

Paste this into your globals.css to use Folder in your shadcn/ui project.

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.871 0.031 346.041);
  --muted-foreground: oklch(0.371 0.024 346.728);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --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.843 0.222 151.73);
  --primary-foreground: oklch(0.26 0.061 156.083);
  --secondary: oklch(0.623 0.25 1.453);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.623 0.25 1.453);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.348 0.118 31.66);
  --destructive-foreground: oklch(0.842 0.072 28.616);
  --ring: oklch(0.843 0.222 151.73);
  --chart-1: oklch(0.843 0.222 151.73);
  --chart-2: oklch(0.623 0.25 1.453);
  --chart-3: oklch(0.623 0.25 1.453);
  --chart-4: oklch(0.637 0.253 0.129);
  --chart-5: oklch(0.852 0.227 151.42);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.124 0.017 165.295);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.256 0.042 349.109);
  --muted-foreground: oklch(0.789 0.019 345.772);
  --popover: oklch(0.142 0.02 164.906);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.142 0.02 164.906);
  --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.843 0.222 151.73);
  --primary-foreground: oklch(0.26 0.061 156.083);
  --secondary: oklch(0.623 0.25 1.453);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.623 0.25 1.453);
  --accent-foreground: oklch(1 0 180);
  --destructive: oklch(0.578 0.207 31.576);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.843 0.222 151.73);
  --chart-1: oklch(0.843 0.222 151.73);
  --chart-2: oklch(0.623 0.25 1.453);
  --chart-3: oklch(0.623 0.25 1.453);
  --chart-4: oklch(0.637 0.253 0.129);
  --chart-5: oklch(0.852 0.227 151.42);
}