Congo for shadcn/ui

Congo is a shadcn/ui theme built around a deep orange primary color (#653b29) with muted orange accents (#c3b3ac). The light mode uses a neutral background (#ffffff). Dark mode keeps the deep orange primary (#653b29) on a neutral background (#070403).

Color palette

TokenLightDark
Background
#ffffffwhite
#070403black
Foreground
#000000black
#faf6f5whitesmoke
Card
#fcfcfcsnow
#0b0605black
Card foreground
#000000black
#fcf9f8snow
Popover
#fcfcfcsnow
#0b0605black
Popover foreground
#000000black
#fcf9f8snow
Primary
#653b29saddlebrown
#653b29saddlebrown
Primary foreground
#eddbd4gainsboro
#eddbd4gainsboro
Secondary
#d4d0celightgrey
#252322black
Secondary foreground
#3c3734darkslategray
#c0bbb9silver
Muted
#f6f1eewhitesmoke
#110b09black
Muted foreground
#746058dimgray
#a7938brosybrown
Accent
#c3b3acsilver
#423834darkslategray
Accent foreground
#231d1ablack
#d9d2celightgrey
Destructive
#9e2d00saddlebrown
#ff5714orangered
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#653b29saddlebrown
#653b29saddlebrown

Contrast

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

Light mode
Text on background21.00:1AAA
Text on card20.54:1AAA
Primary button7.05:1AAA
Secondary button7.66:1AAA
Muted text5.25:1AA
Accent8.21:1AAA
Destructive7.42:1AAA
Dark mode
Text on background19.01:1AAA
Text on card19.20:1AAA
Primary button7.05:1AAA
Secondary button8.22:1AAA
Muted text6.68:1AA
Accent7.63:1AAA
Destructive6.62:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0 0 0);
  --muted: oklch(0.961 0.007 44.905);
  --muted-foreground: oklch(0.507 0.029 44.491);
  --popover: oklch(0.992 0 161.565);
  --popover-foreground: oklch(0 0 0);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0 0 0);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.4 0.066 43.68);
  --primary-foreground: oklch(0.905 0.023 44.743);
  --secondary: oklch(0.86 0.006 44.914);
  --secondary-foreground: oklch(0.34 0.009 44.735);
  --accent: oklch(0.778 0.021 44.728);
  --accent-foreground: oklch(0.236 0.012 44.536);
  --destructive: oklch(0.468 0.156 37.181);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.4 0.066 43.68);
  --chart-1: oklch(0.4 0.066 43.68);
  --chart-2: oklch(0.86 0.006 44.914);
  --chart-3: oklch(0.778 0.021 44.728);
  --chart-4: oklch(0.884 0.005 44.927);
  --chart-5: oklch(0.401 0.071 43.552);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.114 0.009 50.327);
  --foreground: oklch(0.976 0.004 44.935);
  --muted: oklch(0.157 0.012 44.96);
  --muted-foreground: oklch(0.679 0.027 44.622);
  --popover: oklch(0.131 0.01 50.267);
  --popover-foreground: oklch(0.984 0.003 44.951);
  --card: oklch(0.131 0.01 50.267);
  --card-foreground: oklch(0.984 0.003 44.951);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.4 0.066 43.68);
  --primary-foreground: oklch(0.905 0.023 44.743);
  --secondary: oklch(0.258 0.004 44.818);
  --secondary-foreground: oklch(0.796 0.006 44.905);
  --accent: oklch(0.349 0.016 44.581);
  --accent-foreground: oklch(0.867 0.009 44.875);
  --destructive: oklch(0.678 0.215 38.006);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.4 0.066 43.68);
  --chart-1: oklch(0.4 0.066 43.68);
  --chart-2: oklch(0.258 0.004 44.818);
  --chart-3: oklch(0.349 0.016 44.581);
  --chart-4: oklch(0.29 0.005 44.81);
  --chart-5: oklch(0.401 0.071 43.552);
}