Coverall for shadcn/ui

Coverall is a shadcn/ui theme built around a light red primary color (#f5c2cd) with light teal accents (#c2f5ea). The light mode uses a neutral background (#fefbfc). Dark mode keeps the light red primary (#f5c2cd) on a neutral background (#030202).

Color palette

TokenLightDark
Background
#fefbfcsnow
#030202black
Foreground
#170307black
#fdfcfcsnow
Card
#fefbfcsnow
#030202black
Card foreground
#170307black
#fdfcfcsnow
Popover
#fefbfcsnow
#030202black
Popover foreground
#170307black
#fdfcfcsnow
Primary
#f5c2cdpink
#f5c2cdpink
Primary foreground
#721327maroon
#721327maroon
Secondary
#c2f5eapaleturquoise
#c2f5eapaleturquoise
Secondary foreground
#041a16black
#041a16black
Muted
#d2eae5gainsboro
#152d28darkslategray
Muted foreground
#4f635fdimgray
#9cb0abdarkgray
Accent
#c2f5eapaleturquoise
#c2f5eapaleturquoise
Accent foreground
#041a16black
#041a16black
Destructive
#cd2c13firebrick
#e53115orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f5c2cdpink
#f5c2cdpink

Contrast

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

Light mode
Text on background19.37:1AAA
Text on card19.37:1AAA
Primary button7.31:1AAA
Secondary button15.05:1AAA
Muted text5.06:1AA
Accent15.05:1AAA
Destructive5.28:1AA
Dark mode
Text on background20.24:1AAA
Text on card20.24:1AAA
Primary button7.31:1AAA
Secondary button15.05:1AAA
Muted text6.37:1AA
Accent15.05:1AAA
Destructive4.40:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.99 0.003 2.164);
  --foreground: oklch(0.142 0.041 5.911);
  --muted: oklch(0.918 0.027 181.235);
  --muted-foreground: oklch(0.482 0.025 180.566);
  --popover: oklch(0.99 0.003 2.164);
  --popover-foreground: oklch(0.142 0.041 5.911);
  --card: oklch(0.99 0.003 2.164);
  --card-foreground: oklch(0.142 0.041 5.911);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.861 0.06 3.942);
  --primary-foreground: oklch(0.363 0.128 15.04);
  --secondary: oklch(0.932 0.054 180.335);
  --secondary-foreground: oklch(0.199 0.031 177.038);
  --accent: oklch(0.932 0.054 180.335);
  --accent-foreground: oklch(0.199 0.031 177.038);
  --destructive: oklch(0.553 0.2 31.542);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.06 3.942);
  --chart-1: oklch(0.861 0.06 3.942);
  --chart-2: oklch(0.932 0.054 180.335);
  --chart-3: oklch(0.932 0.054 180.335);
  --chart-4: oklch(0.946 0.043 180.739);
  --chart-5: oklch(0.86 0.063 4.024);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.087 0.008 2.133);
  --foreground: oklch(0.991 0.002 2.118);
  --muted: oklch(0.277 0.032 178.115);
  --muted-foreground: oklch(0.739 0.023 181.194);
  --popover: oklch(0.087 0.008 2.133);
  --popover-foreground: oklch(0.991 0.002 2.118);
  --card: oklch(0.087 0.008 2.133);
  --card-foreground: oklch(0.991 0.002 2.118);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.861 0.06 3.942);
  --primary-foreground: oklch(0.363 0.128 15.04);
  --secondary: oklch(0.932 0.054 180.335);
  --secondary-foreground: oklch(0.199 0.031 177.038);
  --accent: oklch(0.932 0.054 180.335);
  --accent-foreground: oklch(0.199 0.031 177.038);
  --destructive: oklch(0.599 0.218 31.516);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.861 0.06 3.942);
  --chart-1: oklch(0.861 0.06 3.942);
  --chart-2: oklch(0.932 0.054 180.335);
  --chart-3: oklch(0.932 0.054 180.335);
  --chart-4: oklch(0.946 0.043 180.739);
  --chart-5: oklch(0.86 0.063 4.024);
}