Retrospective for shadcn/ui

Retrospective is a shadcn/ui theme built around a blue primary color (#6b93b8) with orange accents (#b8906b). The light mode uses a neutral background (#fbfdfe). Dark mode keeps the blue primary (#6b93b8) on a neutral background (#020303).

Color palette

TokenLightDark
Background
#fbfdfewhite
#020303black
Foreground
#02080dblack
#f5f7f9whitesmoke
Card
#f6fafdghostwhite
#030507black
Card foreground
#010509black
#f9fafbghostwhite
Popover
#fbfdfewhite
#020303black
Popover foreground
#02080dblack
#f5f7f9whitesmoke
Primary
#6b93b8cadetblue
#6b93b8cadetblue
Primary foreground
#000000black
#000000black
Secondary
#b8906brosybrown
#b8906brosybrown
Secondary foreground
#000000black
#000000black
Muted
#dcd9d5gainsboro
#2a2623darkslategray
Muted foreground
#6e665edimgray
#a19991rosybrown
Accent
#b8906brosybrown
#b8906brosybrown
Accent foreground
#000000black
#000000black
Destructive
#8d0c07darkred
#f4312acrimson
Destructive foreground
#fccbcapink
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6b93b8cadetblue
#6b93b8cadetblue

Contrast

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

Light mode
Text on background19.66:1AAA
Text on card19.50:1AAA
Primary button6.46:1AA
Secondary button7.23:1AAA
Muted text3.99:1AA Large
Accent7.23:1AAA
Destructive6.67:1AA
Dark mode
Text on background19.26:1AAA
Text on card19.51:1AAA
Primary button6.46:1AA
Secondary button7.23:1AAA
Muted text5.34:1AA
Accent7.23:1AAA
Destructive3.95:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.992 0.003 246);
  --foreground: oklch(0.128 0.018 237.173);
  --muted: oklch(0.886 0.006 65.886);
  --muted-foreground: oklch(0.515 0.016 65.574);
  --popover: oklch(0.992 0.003 246);
  --popover-foreground: oklch(0.128 0.018 237.173);
  --card: oklch(0.983 0.006 246.035);
  --card-foreground: oklch(0.112 0.016 235.926);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.647 0.071 247.303);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.682 0.07 64.308);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.682 0.07 64.308);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.408 0.16 29.098);
  --destructive-foreground: oklch(0.885 0.056 20.566);
  --ring: oklch(0.647 0.071 247.303);
  --chart-1: oklch(0.647 0.071 247.303);
  --chart-2: oklch(0.682 0.07 64.308);
  --chart-3: oklch(0.682 0.07 64.308);
  --chart-4: oklch(0.705 0.065 64.552);
  --chart-5: oklch(0.647 0.077 247.441);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.09 0.006 241.207);
  --foreground: oklch(0.976 0.003 246.006);
  --muted: oklch(0.272 0.008 65.6);
  --muted-foreground: oklch(0.687 0.015 65.699);
  --popover: oklch(0.09 0.006 241.207);
  --popover-foreground: oklch(0.976 0.003 246.006);
  --card: oklch(0.114 0.007 241.207);
  --card-foreground: oklch(0.984 0.002 245.993);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.647 0.071 247.303);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.682 0.07 64.308);
  --secondary-foreground: oklch(0 0 0);
  --accent: oklch(0.682 0.07 64.308);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.627 0.23 28.253);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.647 0.071 247.303);
  --chart-1: oklch(0.647 0.071 247.303);
  --chart-2: oklch(0.682 0.07 64.308);
  --chart-3: oklch(0.682 0.07 64.308);
  --chart-4: oklch(0.705 0.065 64.552);
  --chart-5: oklch(0.647 0.077 247.441);
}