Verse for shadcn/ui

Verse is a shadcn/ui theme built around a vivid deep red primary color (#4f0402) with vivid deep teal accents (#024e4f). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid deep red primary (#4f0402) on a red-tinted background (#0e0707).

Color palette

TokenLightDark
Background
#ffffffwhite
#0e0707black
Foreground
#040101black
#fbf9f9snow
Card
#ffffffwhite
#0e0707black
Card foreground
#040101black
#fbf9f9snow
Popover
#ffffffwhite
#0e0707black
Popover foreground
#040101black
#fbf9f9snow
Primary
#4f0402maroon
#4f0402maroon
Primary foreground
#fb8a88lightcoral
#fb8a88lightcoral
Secondary
#024e4fdarkslategray
#024e4fdarkslategray
Secondary foreground
#25f5f8aqua
#25f5f8aqua
Muted
#ecf3f3whitesmoke
#0c1313black
Muted foreground
#3d4343darkslategray
#bcc2c2silver
Accent
#024e4fdarkslategray
#024e4fdarkslategray
Accent foreground
#25f5f8aqua
#25f5f8aqua
Destructive
#c5470dchocolate
#f16422chocolate
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#4f0402maroon
#4f0402maroon

Contrast

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

Light mode
Text on background20.79:1AAA
Text on card20.79:1AAA
Primary button6.73:1AA
Secondary button7.03:1AAA
Muted text8.97:1AAA
Accent7.03:1AAA
Destructive4.92:1AA
Dark mode
Text on background19.05:1AAA
Text on card19.05:1AAA
Primary button6.73:1AA
Secondary button7.03:1AAA
Muted text10.43:1AAA
Accent7.03:1AAA
Destructive6.57:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.082 0.016 22.718);
  --muted: oklch(0.959 0.007 198.252);
  --muted-foreground: oklch(0.376 0.008 198.038);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.082 0.016 22.718);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.082 0.016 22.718);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.273 0.107 29);
  --primary-foreground: oklch(0.757 0.138 21.862);
  --secondary: oklch(0.384 0.065 196.734);
  --secondary-foreground: oklch(0.881 0.146 196.748);
  --accent: oklch(0.384 0.065 196.734);
  --accent-foreground: oklch(0.881 0.146 196.748);
  --destructive: oklch(0.565 0.172 40.039);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.273 0.107 29);
  --chart-1: oklch(0.273 0.107 29);
  --chart-2: oklch(0.384 0.065 196.734);
  --chart-3: oklch(0.384 0.065 196.734);
  --chart-4: oklch(0.432 0.073 196.773);
  --chart-5: oklch(0.274 0.109 29.366);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.138 0.014 20.282);
  --foreground: oklch(0.983 0.003 18.404);
  --muted: oklch(0.178 0.01 197.566);
  --muted-foreground: oklch(0.81 0.007 198.234);
  --popover: oklch(0.138 0.014 20.282);
  --popover-foreground: oklch(0.983 0.003 18.404);
  --card: oklch(0.138 0.014 20.282);
  --card-foreground: oklch(0.983 0.003 18.404);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.273 0.107 29);
  --primary-foreground: oklch(0.757 0.138 21.862);
  --secondary: oklch(0.384 0.065 196.734);
  --secondary-foreground: oklch(0.881 0.146 196.748);
  --accent: oklch(0.384 0.065 196.734);
  --accent-foreground: oklch(0.881 0.146 196.748);
  --destructive: oklch(0.673 0.188 41.699);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.273 0.107 29);
  --chart-1: oklch(0.273 0.107 29);
  --chart-2: oklch(0.384 0.065 196.734);
  --chart-3: oklch(0.384 0.065 196.734);
  --chart-4: oklch(0.432 0.073 196.773);
  --chart-5: oklch(0.274 0.109 29.366);
}