Armpit for shadcn/ui

Armpit is a shadcn/ui theme built around a vivid yellow primary color (#aa8c09) with muted light yellow accents (#dddbcf). The light mode uses a neutral background (#fefdfb). Dark mode keeps the vivid yellow primary (#aa8c09) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefdfbsnow
#000000black
Foreground
#040301black
#fcfbf8snow
Card
#fefdfbsnow
#000000black
Card foreground
#040301black
#fcfbf8snow
Popover
#fefdfbsnow
#000000black
Popover foreground
#040301black
#fcfbf8snow
Primary
#aa8c09darkgoldenrod
#aa8c09darkgoldenrod
Primary foreground
#000000black
#000000black
Secondary
#dddbcfgainsboro
#35342cdarkslategray
Secondary foreground
#484433darkslategray
#cfcdc4lightgrey
Muted
#e8e2c9gainsboro
#363017darkslategray
Muted foreground
#54534fdarkslategray
#b0afabdarkgray
Accent
#dddbcfgainsboro
#35342cdarkslategray
Accent foreground
#484433darkslategray
#cfcdc4lightgrey
Destructive
#aa2803firebrick
#f03805orangered
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#aa8c09darkgoldenrod
#aa8c09darkgoldenrod

Contrast

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

Light mode
Text on background20.31:1AAA
Text on card20.31:1AAA
Primary button6.46:1AA
Secondary button7.00:1AAA
Muted text5.94:1AA
Accent7.00:1AAA
Destructive6.98:1AA
Dark mode
Text on background20.29:1AAA
Text on card20.29:1AAA
Primary button6.46:1AA
Secondary button7.88:1AAA
Muted text6.02:1AA
Accent7.88:1AAA
Destructive3.98:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.995 0.003 96.204);
  --foreground: oklch(0.1 0.011 99.938);
  --muted: oklch(0.912 0.034 96.593);
  --muted-foreground: oklch(0.442 0.007 96.347);
  --popover: oklch(0.995 0.003 96.204);
  --popover-foreground: oklch(0.1 0.011 99.938);
  --card: oklch(0.995 0.003 96.204);
  --card-foreground: oklch(0.1 0.011 99.938);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.649 0.131 93.681);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.889 0.016 96.379);
  --secondary-foreground: oklch(0.384 0.028 96.899);
  --accent: oklch(0.889 0.016 96.379);
  --accent-foreground: oklch(0.384 0.028 96.899);
  --destructive: oklch(0.484 0.171 34.106);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.649 0.131 93.681);
  --chart-1: oklch(0.649 0.131 93.681);
  --chart-2: oklch(0.889 0.016 96.379);
  --chart-3: oklch(0.889 0.016 96.379);
  --chart-4: oklch(0.91 0.013 96.336);
  --chart-5: oklch(0.655 0.133 93.411);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(0.988 0.004 96.214);
  --muted: oklch(0.308 0.041 97.018);
  --muted-foreground: oklch(0.753 0.006 96.261);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(0.988 0.004 96.214);
  --card: oklch(0 0 0);
  --card-foreground: oklch(0.988 0.004 96.214);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.649 0.131 93.681);
  --primary-foreground: oklch(0 0 0);
  --secondary: oklch(0.322 0.014 96.652);
  --secondary-foreground: oklch(0.847 0.012 96.342);
  --accent: oklch(0.322 0.014 96.652);
  --accent-foreground: oklch(0.847 0.012 96.342);
  --destructive: oklch(0.623 0.225 33.569);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.649 0.131 93.681);
  --chart-1: oklch(0.649 0.131 93.681);
  --chart-2: oklch(0.322 0.014 96.652);
  --chart-3: oklch(0.322 0.014 96.652);
  --chart-4: oklch(0.354 0.016 96.664);
  --chart-5: oklch(0.655 0.133 93.411);
}