Dividend for shadcn/ui

Dividend is a shadcn/ui theme built around a vivid light teal primary color (#8df6cc) with vivid light pink accents (#f68db7). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid light teal primary (#8df6cc) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#ffffffwhite
#010403black
Foreground
#06140eblack
#f7f8f8whitesmoke
Card
#ffffffwhite
#010403black
Card foreground
#06140eblack
#f7f8f8whitesmoke
Popover
#ffffffwhite
#010403black
Popover foreground
#06140eblack
#f7f8f8whitesmoke
Primary
#8df6ccaquamarine
#8df6ccaquamarine
Primary foreground
#064c30darkslategray
#064c30darkslategray
Secondary
#f68db7hotpink
#f68db7hotpink
Secondary foreground
#4c0622maroon
#4c0622maroon
Muted
#e8e3e5gainsboro
#1c1719black
Muted foreground
#4f4549darkslategray
#bab0b4silver
Accent
#f68db7hotpink
#f68db7hotpink
Accent foreground
#4c0622maroon
#4c0622maroon
Destructive
#de1802red
#f21a02red
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#8df6ccaquamarine
#8df6ccaquamarine

Contrast

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

Light mode
Text on background18.84:1AAA
Text on card18.84:1AAA
Primary button7.79:1AAA
Secondary button6.95:1AA
Muted text7.26:1AAA
Accent6.95:1AA
Destructive4.94:1AA
Dark mode
Text on background19.35:1AAA
Text on card19.35:1AAA
Primary button7.79:1AAA
Secondary button6.95:1AA
Muted text8.38:1AAA
Accent6.95:1AA
Destructive4.25:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.174 0.023 166.822);
  --muted: oklch(0.921 0.006 350.793);
  --muted-foreground: oklch(0.401 0.016 351.689);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.174 0.023 166.822);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.174 0.023 166.822);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.899 0.115 166.098);
  --primary-foreground: oklch(0.368 0.081 159.666);
  --secondary: oklch(0.768 0.136 355.333);
  --secondary-foreground: oklch(0.274 0.102 3.768);
  --accent: oklch(0.768 0.136 355.333);
  --accent-foreground: oklch(0.274 0.102 3.768);
  --destructive: oklch(0.572 0.226 30.343);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.899 0.115 166.098);
  --chart-1: oklch(0.899 0.115 166.098);
  --chart-2: oklch(0.768 0.136 355.333);
  --chart-3: oklch(0.768 0.136 355.333);
  --chart-4: oklch(0.794 0.118 354.569);
  --chart-5: oklch(0.903 0.119 165.942);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.098 0.012 170.875);
  --foreground: oklch(0.978 0.002 170.57);
  --muted: oklch(0.212 0.008 351.675);
  --muted-foreground: oklch(0.767 0.013 351.103);
  --popover: oklch(0.098 0.012 170.875);
  --popover-foreground: oklch(0.978 0.002 170.57);
  --card: oklch(0.098 0.012 170.875);
  --card-foreground: oklch(0.978 0.002 170.57);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.899 0.115 166.098);
  --primary-foreground: oklch(0.368 0.081 159.666);
  --secondary: oklch(0.768 0.136 355.333);
  --secondary-foreground: oklch(0.274 0.102 3.768);
  --accent: oklch(0.768 0.136 355.333);
  --accent-foreground: oklch(0.274 0.102 3.768);
  --destructive: oklch(0.611 0.242 30.283);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.899 0.115 166.098);
  --chart-1: oklch(0.899 0.115 166.098);
  --chart-2: oklch(0.768 0.136 355.333);
  --chart-3: oklch(0.768 0.136 355.333);
  --chart-4: oklch(0.794 0.118 354.569);
  --chart-5: oklch(0.903 0.119 165.942);
}