Art for shadcn/ui

Art is a shadcn/ui theme built around a vivid teal primary color (#35e9a7) with vivid cyan accents (#35d1e9). The light mode uses a neutral background (#f8fcfa). Dark mode keeps the vivid teal primary (#35e9a7) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#f8fcfamintcream
#000000black
Foreground
#030d09black
#ffffffwhite
Card
#f5faf8mintcream
#030303black
Card foreground
#020806black
#ffffffwhite
Popover
#f5faf8mintcream
#030303black
Popover foreground
#020806black
#ffffffwhite
Primary
#35e9a7turquoise
#35e9a7turquoise
Primary foreground
#084932darkslategray
#084932darkslategray
Secondary
#35e94dlimegreen
#35e94dlimegreen
Secondary foreground
#084911darkgreen
#084911darkgreen
Muted
#f1f4f1whitesmoke
#0b0e0cblack
Muted foreground
#454a46darkslategray
#b5bab6silver
Accent
#35d1e9turquoise
#35d1e9turquoise
Accent foreground
#084149darkslategray
#084149darkslategray
Destructive
#ae100afirebrick
#f34039tomato
Destructive foreground
#feececlinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#35e9a7turquoise
#35e9a7turquoise

Contrast

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

Light mode
Text on background19.03:1AAA
Text on card19.15:1AAA
Primary button6.62:1AA
Secondary button6.52:1AA
Muted text8.15:1AAA
Accent6.12:1AA
Destructive6.43:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.62:1AA
Secondary button6.52:1AA
Muted text9.83:1AAA
Accent6.12:1AA
Destructive3.74:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.987 0.004 172.446);
  --foreground: oklch(0.144 0.02 172.177);
  --muted: oklch(0.964 0.005 149.617);
  --muted-foreground: oklch(0.402 0.008 149.426);
  --popover: oklch(0.981 0.007 172.38);
  --popover-foreground: oklch(0.125 0.017 172.868);
  --card: oklch(0.981 0.007 172.38);
  --card-foreground: oklch(0.125 0.017 172.868);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.83 0.168 162.684);
  --primary-foreground: oklch(0.362 0.075 162.331);
  --secondary: oklch(0.816 0.242 144.586);
  --secondary-foreground: oklch(0.356 0.107 144.459);
  --accent: oklch(0.792 0.127 210.563);
  --accent-foreground: oklch(0.345 0.056 210.777);
  --destructive: oklch(0.476 0.188 29.125);
  --destructive-foreground: oklch(0.958 0.019 19.891);
  --ring: oklch(0.83 0.168 162.684);
  --chart-1: oklch(0.83 0.168 162.684);
  --chart-2: oklch(0.816 0.242 144.586);
  --chart-3: oklch(0.792 0.127 210.563);
  --chart-4: oklch(0.824 0.231 145.008);
  --chart-5: oklch(0.838 0.173 162.342);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.161 0.008 149.046);
  --muted-foreground: oklch(0.784 0.007 149.573);
  --popover: oklch(0.092 0 180);
  --popover-foreground: oklch(1 0 180);
  --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.83 0.168 162.684);
  --primary-foreground: oklch(0.362 0.075 162.331);
  --secondary: oklch(0.816 0.242 144.586);
  --secondary-foreground: oklch(0.356 0.107 144.459);
  --accent: oklch(0.792 0.127 210.563);
  --accent-foreground: oklch(0.345 0.056 210.777);
  --destructive: oklch(0.639 0.217 27.358);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.83 0.168 162.684);
  --chart-1: oklch(0.83 0.168 162.684);
  --chart-2: oklch(0.816 0.242 144.586);
  --chart-3: oklch(0.792 0.127 210.563);
  --chart-4: oklch(0.824 0.231 145.008);
  --chart-5: oklch(0.838 0.173 162.342);
}