Retrospective for shadcn/ui

Retrospective is a shadcn/ui theme built around a near-white primary color (#ffffff) with muted light red accents (#dfd8d8). The light mode uses a neutral background (#ffffff). Dark mode keeps the near-white primary (#ffffff) on a neutral background (#080202).

Color palette

TokenLightDark
Background
#ffffffwhite
#080202black
Foreground
#0c0303black
#fdfbfbsnow
Card
#ffffffwhite
#080202black
Card foreground
#0c0303black
#fdfbfbsnow
Popover
#ffffffwhite
#080202black
Popover foreground
#0c0303black
#fdfbfbsnow
Primary
#ffffffwhite
#ffffffwhite
Primary foreground
#333333darkslategray
#333333darkslategray
Secondary
#dfd8d8gainsboro
#271c1cblack
Secondary foreground
#483c3cdarkslategray
#c6aeaesilver
Muted
#f3ececlinen
#130c0cblack
Muted foreground
#534646darkslategray
#b9acacdarkgray
Accent
#dfd8d8gainsboro
#271c1cblack
Accent foreground
#483c3cdarkslategray
#c6aeaesilver
Destructive
#a70f01darkred
#fe4534tomato
Destructive foreground
#ffdedbmistyrose
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#ffffffwhite
#ffffffwhite

Contrast

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

Light mode
Text on background20.38:1AAA
Text on card20.38:1AAA
Primary button12.63:1AAA
Secondary button7.52:1AAA
Muted text7.73:1AAA
Accent7.52:1AAA
Destructive6.14:1AA
Dark mode
Text on background19.95:1AAA
Text on card19.95:1AAA
Primary button12.63:1AAA
Secondary button7.96:1AAA
Muted text8.81:1AAA
Accent7.96:1AAA
Destructive3.43:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.119 0.021 20.618);
  --muted: oklch(0.949 0.008 17.291);
  --muted-foreground: oklch(0.407 0.019 17.954);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.119 0.021 20.618);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.119 0.021 20.618);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.888 0.007 17.29);
  --secondary-foreground: oklch(0.37 0.017 17.933);
  --accent: oklch(0.888 0.007 17.29);
  --accent-foreground: oklch(0.37 0.017 17.933);
  --destructive: oklch(0.463 0.183 30.326);
  --destructive-foreground: oklch(0.928 0.036 24.003);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.888 0.007 17.29);
  --chart-3: oklch(0.888 0.007 17.29);
  --chart-4: oklch(0.912 0.006 17.258);
  --chart-5: oklch(1 0 180);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.103 0.019 20.789);
  --foreground: oklch(0.991 0.002 17.194);
  --muted: oklch(0.163 0.012 18.495);
  --muted-foreground: oklch(0.755 0.016 17.511);
  --popover: oklch(0.103 0.019 20.789);
  --popover-foreground: oklch(0.991 0.002 17.194);
  --card: oklch(0.103 0.019 20.789);
  --card-foreground: oklch(0.991 0.002 17.194);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(1 0 180);
  --primary-foreground: oklch(0.321 0 180);
  --secondary: oklch(0.238 0.018 18.488);
  --secondary-foreground: oklch(0.772 0.027 17.754);
  --accent: oklch(0.238 0.018 18.488);
  --accent-foreground: oklch(0.772 0.027 17.754);
  --destructive: oklch(0.661 0.224 29.538);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(1 0 180);
  --chart-1: oklch(1 0 180);
  --chart-2: oklch(0.238 0.018 18.488);
  --chart-3: oklch(0.238 0.018 18.488);
  --chart-4: oklch(0.268 0.021 18.581);
  --chart-5: oklch(1 0 180);
}