Scripture for shadcn/ui

Scripture is a shadcn/ui theme built around a light teal primary color (#c7f0ef) with light yellow accents (#f0efc7). The light mode uses a neutral background (#f8fcfc). Dark mode keeps the light teal primary (#c7f0ef) on a neutral background (#010404).

Color palette

TokenLightDark
Background
#f8fcfcmintcream
#010404black
Foreground
#020808black
#fcfdfdwhite
Card
#f8fcfcmintcream
#010404black
Card foreground
#020808black
#fcfdfdwhite
Popover
#f8fcfcmintcream
#010404black
Popover foreground
#020808black
#fcfdfdwhite
Primary
#c7f0efpaleturquoise
#c7f0efpaleturquoise
Primary foreground
#071818black
#071818black
Secondary
#efc7f0lavender
#efc7f0lavender
Secondary foreground
#671d68purple
#671d68purple
Muted
#e4cde4gainsboro
#311b32darkslategray
Muted foreground
#433c44darkslategray
#c3bbc3silver
Accent
#f0efc7blanchedalmond
#f0efc7blanchedalmond
Accent foreground
#181807black
#181807black
Destructive
#80310asaddlebrown
#ee5e17chocolate
Destructive foreground
#fad4c1peachpuff
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#c7f0efpaleturquoise
#c7f0efpaleturquoise

Contrast

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

Light mode
Text on background19.52:1AAA
Text on card19.52:1AAA
Primary button14.82:1AAA
Secondary button7.21:1AAA
Muted text7.20:1AAA
Accent15.23:1AAA
Destructive6.45:1AA
Dark mode
Text on background20.19:1AAA
Text on card20.19:1AAA
Primary button14.82:1AAA
Secondary button7.21:1AAA
Muted text8.41:1AAA
Accent15.23:1AAA
Destructive6.23:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.988 0.005 195.894);
  --foreground: oklch(0.126 0.015 194.428);
  --muted: oklch(0.875 0.04 325.409);
  --muted-foreground: oklch(0.366 0.016 325.406);
  --popover: oklch(0.988 0.005 195.894);
  --popover-foreground: oklch(0.126 0.015 194.428);
  --card: oklch(0.988 0.005 195.894);
  --card-foreground: oklch(0.126 0.015 194.428);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.925 0.042 195.2);
  --primary-foreground: oklch(0.194 0.024 193.964);
  --secondary: oklch(0.876 0.07 325.636);
  --secondary-foreground: oklch(0.38 0.141 327.217);
  --accent: oklch(0.942 0.052 106.561);
  --accent-foreground: oklch(0.203 0.031 107.989);
  --destructive: oklch(0.421 0.119 42.337);
  --destructive-foreground: oklch(0.898 0.05 48.143);
  --ring: oklch(0.925 0.042 195.2);
  --chart-1: oklch(0.925 0.042 195.2);
  --chart-2: oklch(0.876 0.07 325.636);
  --chart-3: oklch(0.942 0.052 106.561);
  --chart-4: oklch(0.902 0.055 325.51);
  --chart-5: oklch(0.927 0.044 195.164);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.1 0.011 194.484);
  --foreground: oklch(0.993 0.001 195.962);
  --muted: oklch(0.262 0.052 326.356);
  --muted-foreground: oklch(0.802 0.013 325.217);
  --popover: oklch(0.1 0.011 194.484);
  --popover-foreground: oklch(0.993 0.001 195.962);
  --card: oklch(0.1 0.011 194.484);
  --card-foreground: oklch(0.993 0.001 195.962);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.925 0.042 195.2);
  --primary-foreground: oklch(0.194 0.024 193.964);
  --secondary: oklch(0.876 0.07 325.636);
  --secondary-foreground: oklch(0.38 0.141 327.217);
  --accent: oklch(0.942 0.052 106.561);
  --accent-foreground: oklch(0.203 0.031 107.989);
  --destructive: oklch(0.66 0.192 41.752);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.925 0.042 195.2);
  --chart-1: oklch(0.925 0.042 195.2);
  --chart-2: oklch(0.876 0.07 325.636);
  --chart-3: oklch(0.942 0.052 106.561);
  --chart-4: oklch(0.902 0.055 325.51);
  --chart-5: oklch(0.927 0.044 195.164);
}