Complete for shadcn/ui

Complete is a shadcn/ui theme built around a vivid yellow primary color (#f7e302) with muted light yellow accents (#d0cebe). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid yellow primary (#f7e302) on a neutral background (#040301).

Color palette

TokenLightDark
Background
#ffffffwhite
#040301black
Foreground
#090801black
#fdfdfcwhite
Card
#fcfcfcsnow
#070703black
Card foreground
#040401black
#ffffffwhite
Popover
#fcfcfcsnow
#070703black
Popover foreground
#040401black
#ffffffwhite
Primary
#f7e302gold
#f7e302gold
Primary foreground
#2d2a00black
#2d2a00black
Secondary
#deddd9gainsboro
#1f1e14black
Secondary foreground
#47463edarkslategray
#c2bfa3silver
Muted
#f5f4f0whitesmoke
#0f0f0ablack
Muted foreground
#5a5844darkolivegreen
#bbb9a5darkgray
Accent
#d0cebesilver
#3b3921darkslategray
Accent foreground
#353427darkslategray
#d7d4b7lightgrey
Destructive
#9c410dsaddlebrown
#de5d12chocolate
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f7e302gold
#f7e302gold

Contrast

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

Light mode
Text on background20.06:1AAA
Text on card20.08:1AAA
Primary button11.06:1AAA
Secondary button6.99:1AA
Muted text6.55:1AA
Accent7.94:1AAA
Destructive6.62:1AA
Dark mode
Text on background20.22:1AAA
Text on card20.18:1AAA
Primary button11.06:1AAA
Secondary button9.01:1AAA
Muted text9.69:1AAA
Accent7.79:1AAA
Destructive3.70:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.132 0.021 105.802);
  --muted: oklch(0.967 0.006 102.317);
  --muted-foreground: oklch(0.457 0.032 103.243);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0.105 0.017 105.802);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.105 0.017 105.802);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.904 0.19 102.876);
  --primary-foreground: oklch(0.279 0.058 104.257);
  --secondary: oklch(0.898 0.006 102.325);
  --secondary-foreground: oklch(0.393 0.014 102.772);
  --accent: oklch(0.849 0.022 102.632);
  --accent-foreground: oklch(0.322 0.023 103.268);
  --destructive: oklch(0.49 0.134 44.64);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.904 0.19 102.876);
  --chart-1: oklch(0.904 0.19 102.876);
  --chart-2: oklch(0.898 0.006 102.325);
  --chart-3: oklch(0.849 0.022 102.632);
  --chart-4: oklch(0.92 0.005 102.298);
  --chart-5: oklch(0.914 0.192 102.775);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.1 0.01 104.583);
  --foreground: oklch(0.994 0.002 102.244);
  --muted: oklch(0.167 0.009 103.073);
  --muted-foreground: oklch(0.782 0.028 102.776);
  --popover: oklch(0.126 0.013 104.583);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.126 0.013 104.583);
  --card-foreground: oklch(1 0 180);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.904 0.19 102.876);
  --primary-foreground: oklch(0.279 0.058 104.257);
  --secondary: oklch(0.232 0.017 103.31);
  --secondary-foreground: oklch(0.8 0.038 102.953);
  --accent: oklch(0.34 0.039 103.787);
  --accent-foreground: oklch(0.866 0.04 102.928);
  --destructive: oklch(0.633 0.178 43.956);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.904 0.19 102.876);
  --chart-1: oklch(0.904 0.19 102.876);
  --chart-2: oklch(0.232 0.017 103.31);
  --chart-3: oklch(0.34 0.039 103.787);
  --chart-4: oklch(0.269 0.021 103.382);
  --chart-5: oklch(0.914 0.192 102.775);
}