Antique for shadcn/ui

Antique is a shadcn/ui theme built around a pink primary color (#673244) with blue accents (#324467). The light mode uses a neutral background (#fefbfc). Dark mode keeps the pink primary (#673244) on a neutral background (#080204).

Color palette

TokenLightDark
Background
#fefbfcsnow
#080204black
Foreground
#16030ablack
#ffffffwhite
Card
#fefbfcsnow
#080204black
Card foreground
#16030ablack
#ffffffwhite
Popover
#fefbfcsnow
#080204black
Popover foreground
#16030ablack
#ffffffwhite
Primary
#673244darkolivegreen
#673244darkolivegreen
Primary foreground
#eedde3mistyrose
#eedde3mistyrose
Secondary
#446732darkolivegreen
#446732darkolivegreen
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#e6eee2beige
#151d11black
Muted foreground
#656a62dimgray
#989d95darkgray
Accent
#324467darkslategray
#324467darkslategray
Accent foreground
#dde3eelavender
#dde3eelavender
Destructive
#c52602firebrick
#fd5630tomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#673244darkolivegreen
#673244darkolivegreen

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.43:1AAA
Primary button7.60:1AAA
Secondary button6.46:1AA
Muted text4.67:1AA
Accent7.51:1AAA
Destructive5.75:1AA
Dark mode
Text on background20.54:1AAA
Text on card20.54:1AAA
Primary button7.60:1AAA
Secondary button6.46:1AA
Muted text6.23:1AA
Accent7.51:1AAA
Destructive6.53:1AA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.003 353.656);
  --foreground: oklch(0.144 0.04 357.468);
  --muted: oklch(0.94 0.019 134.331);
  --muted-foreground: oklch(0.517 0.014 134.375);
  --popover: oklch(0.991 0.003 353.656);
  --popover-foreground: oklch(0.144 0.04 357.468);
  --card: oklch(0.991 0.003 353.656);
  --card-foreground: oklch(0.144 0.04 357.468);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.392 0.08 359.217);
  --primary-foreground: oklch(0.912 0.021 354.234);
  --secondary: oklch(0.474 0.09 135.625);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.389 0.064 262.17);
  --accent-foreground: oklch(0.914 0.017 263.012);
  --destructive: oklch(0.533 0.198 32.545);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.392 0.08 359.217);
  --chart-1: oklch(0.392 0.08 359.217);
  --chart-2: oklch(0.474 0.09 135.625);
  --chart-3: oklch(0.389 0.064 262.17);
  --chart-4: oklch(0.507 0.097 135.648);
  --chart-5: oklch(0.392 0.086 359.751);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.106 0.018 353.216);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.219 0.026 134.975);
  --muted-foreground: oklch(0.689 0.013 134.328);
  --popover: oklch(0.106 0.018 353.216);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.106 0.018 353.216);
  --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.392 0.08 359.217);
  --primary-foreground: oklch(0.912 0.021 354.234);
  --secondary: oklch(0.474 0.09 135.625);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.389 0.064 262.17);
  --accent-foreground: oklch(0.914 0.017 263.012);
  --destructive: oklch(0.675 0.21 34.015);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.392 0.08 359.217);
  --chart-1: oklch(0.392 0.08 359.217);
  --chart-2: oklch(0.474 0.09 135.625);
  --chart-3: oklch(0.389 0.064 262.17);
  --chart-4: oklch(0.507 0.097 135.648);
  --chart-5: oklch(0.392 0.086 359.751);
}