Verb for shadcn/ui

Verb is a shadcn/ui theme built around a light purple primary color (#f2d8f8) with light teal accents (#d8f8f2). The light mode uses a neutral background (#fdfbfe). Dark mode keeps the light purple primary (#f2d8f8) on a purple-tinted background (#0c070d).

Color palette

TokenLightDark
Background
#fdfbfewhite
#0c070dblack
Foreground
#0f0212black
#f8f6f9whitesmoke
Card
#fcf7fdghostwhite
#0f0911black
Card foreground
#0b020eblack
#fbf9fbsnow
Popover
#fdfbfewhite
#0c070dblack
Popover foreground
#0f0212black
#f8f6f9whitesmoke
Primary
#f2d8f8lavender
#f2d8f8lavender
Primary foreground
#701986purple
#701986purple
Secondary
#f8f2d8beige
#f8f2d8beige
Secondary foreground
#2f2809black
#2f2809black
Muted
#e0ddd2gainsboro
#2d2a1fdarkslategray
Muted foreground
#595959dimgray
#a6a6a6darkgray
Accent
#d8f8f2lightcyan
#d8f8f2lightcyan
Accent foreground
#092f28black
#092f28black
Destructive
#ce2b12firebrick
#ed4e35tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f2d8f8lavender
#f2d8f8lavender

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.26:1AAA
Primary button7.34:1AAA
Secondary button13.04:1AAA
Muted text5.14:1AA
Accent12.84:1AAA
Destructive5.25:1AA
Dark mode
Text on background18.57:1AAA
Text on card18.79:1AAA
Primary button7.34:1AAA
Secondary button13.04:1AAA
Muted text5.87:1AA
Accent12.84:1AAA
Destructive3.65:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.005 319.446);
  --foreground: oklch(0.13 0.046 320.688);
  --muted: oklch(0.896 0.015 95.226);
  --muted-foreground: oklch(0.465 0 180);
  --popover: oklch(0.991 0.005 319.446);
  --popover-foreground: oklch(0.13 0.046 320.688);
  --card: oklch(0.981 0.01 319.447);
  --card-foreground: oklch(0.117 0.04 321.516);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.913 0.05 319.459);
  --primary-foreground: oklch(0.411 0.176 318.376);
  --secondary: oklch(0.958 0.034 95.414);
  --secondary-foreground: oklch(0.277 0.047 94.986);
  --accent: oklch(0.954 0.034 182.184);
  --accent-foreground: oklch(0.278 0.045 176.664);
  --destructive: oklch(0.555 0.202 31.515);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.05 319.459);
  --chart-1: oklch(0.913 0.05 319.459);
  --chart-2: oklch(0.958 0.034 95.414);
  --chart-3: oklch(0.954 0.034 182.184);
  --chart-4: oklch(0.972 0.023 95.294);
  --chart-5: oklch(0.912 0.053 319.459);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.139 0.017 319.825);
  --foreground: oklch(0.975 0.005 319.446);
  --muted: oklch(0.286 0.02 95.67);
  --muted-foreground: oklch(0.724 0 180);
  --popover: oklch(0.139 0.017 319.825);
  --popover-foreground: oklch(0.975 0.005 319.446);
  --card: oklch(0.151 0.02 319.512);
  --card-foreground: oklch(0.984 0.003 319.445);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.913 0.05 319.459);
  --primary-foreground: oklch(0.411 0.176 318.376);
  --secondary: oklch(0.958 0.034 95.414);
  --secondary-foreground: oklch(0.277 0.047 94.986);
  --accent: oklch(0.954 0.034 182.184);
  --accent-foreground: oklch(0.278 0.045 176.664);
  --destructive: oklch(0.642 0.2 31.534);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.913 0.05 319.459);
  --chart-1: oklch(0.913 0.05 319.459);
  --chart-2: oklch(0.958 0.034 95.414);
  --chart-3: oklch(0.954 0.034 182.184);
  --chart-4: oklch(0.972 0.023 95.294);
  --chart-5: oklch(0.912 0.053 319.459);
}