Antique for shadcn/ui

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

Color palette

TokenLightDark
Background
#fefbfcsnow
#000000black
Foreground
#10040ablack
#ffffffwhite
Card
#fdf7fasnow
#030303black
Card foreground
#0c0307black
#ffffffwhite
Popover
#fefbfcsnow
#000000black
Popover foreground
#10040ablack
#ffffffwhite
Primary
#fbcbe1pink
#fbcbe1pink
Primary foreground
#8a0a46brown
#8a0a46brown
Secondary
#e1fbcblightgoldenrodyellow
#e1fbcblightgoldenrodyellow
Secondary foreground
#162b03black
#162b03black
Muted
#dbdfd8gainsboro
#232720black
Muted foreground
#515d46darkolivegreen
#adb9a2darkgray
Accent
#cbe1fblavender
#cbe1fblavender
Accent foreground
#0a468amidnightblue
#0a468amidnightblue
Destructive
#ae0c09firebrick
#f32420crimson
Destructive foreground
#feececlinen
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#fbcbe1pink
#fbcbe1pink

Contrast

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

Light mode
Text on background19.55:1AAA
Text on card19.21:1AAA
Primary button6.65:1AA
Secondary button13.67:1AAA
Muted text5.17:1AA
Accent6.97:1AA
Destructive6.42:1AA
Dark mode
Text on background21.00:1AAA
Text on card20.67:1AAA
Primary button6.65:1AA
Secondary button13.67:1AAA
Muted text7.37:1AAA
Accent6.97:1AA
Destructive4.12:1AA Large

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.004 347.012);
  --foreground: oklch(0.134 0.029 348.788);
  --muted: oklch(0.898 0.01 129.901);
  --muted-foreground: oklch(0.461 0.039 130.674);
  --popover: oklch(0.991 0.004 347.012);
  --popover-foreground: oklch(0.134 0.029 348.788);
  --card: oklch(0.981 0.008 347.12);
  --card-foreground: oklch(0.121 0.025 346.978);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.89 0.062 348.687);
  --primary-foreground: oklch(0.413 0.16 1.186);
  --secondary: oklch(0.957 0.069 130.532);
  --secondary-foreground: oklch(0.26 0.069 133.416);
  --accent: oklch(0.902 0.043 251.798);
  --accent-foreground: oklch(0.399 0.127 255.903);
  --destructive: oklch(0.476 0.19 28.922);
  --destructive-foreground: oklch(0.957 0.02 18.681);
  --ring: oklch(0.89 0.062 348.687);
  --chart-1: oklch(0.89 0.062 348.687);
  --chart-2: oklch(0.957 0.069 130.532);
  --chart-3: oklch(0.902 0.043 251.798);
  --chart-4: oklch(0.969 0.05 130.314);
  --chart-5: oklch(0.889 0.064 348.75);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.267 0.014 130.323);
  --muted-foreground: oklch(0.769 0.035 130.243);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.092 0 180);
  --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.89 0.062 348.687);
  --primary-foreground: oklch(0.413 0.16 1.186);
  --secondary: oklch(0.957 0.069 130.532);
  --secondary-foreground: oklch(0.26 0.069 133.416);
  --accent: oklch(0.902 0.043 251.798);
  --accent-foreground: oklch(0.399 0.127 255.903);
  --destructive: oklch(0.618 0.237 28.343);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.89 0.062 348.687);
  --chart-1: oklch(0.89 0.062 348.687);
  --chart-2: oklch(0.957 0.069 130.532);
  --chart-3: oklch(0.902 0.043 251.798);
  --chart-4: oklch(0.969 0.05 130.314);
  --chart-5: oklch(0.889 0.064 348.75);
}