Column for shadcn/ui

Column is a shadcn/ui theme built around a light red primary color (#f3e4e2) with light indigo accents (#e4e2f3). The light mode uses a neutral background (#ffffff). Dark mode keeps the light red primary (#f3e4e2) on a neutral background (#040201).

Color palette

TokenLightDark
Background
#ffffffwhite
#040201black
Foreground
#080302black
#f9f6f6whitesmoke
Card
#fcfcfcsnow
#080302black
Card foreground
#040201black
#fbf9f9snow
Popover
#ffffffwhite
#040201black
Popover foreground
#080302black
#f9f6f6whitesmoke
Primary
#f3e4e2mistyrose
#f3e4e2mistyrose
Primary foreground
#75382fsaddlebrown
#75382fsaddlebrown
Secondary
#e2f3e4beige
#e2f3e4beige
Secondary foreground
#112c15black
#112c15black
Muted
#d5e6d8gainsboro
#192a1bblack
Muted foreground
#4b4e4bdarkslategray
#b1b4b1darkgray
Accent
#e4e2f3lavender
#e4e2f3lavender
Accent foreground
#382f75darkslateblue
#382f75darkslateblue
Destructive
#c52911firebrick
#ed4a31tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f3e4e2mistyrose
#f3e4e2mistyrose

Contrast

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

Light mode
Text on background20.50:1AAA
Text on card20.25:1AAA
Primary button7.20:1AAA
Secondary button13.05:1AAA
Muted text6.50:1AA
Accent8.98:1AAA
Destructive5.67:1AA
Dark mode
Text on background19.30:1AAA
Text on card19.53:1AAA
Primary button7.20:1AAA
Secondary button13.05:1AAA
Muted text7.25:1AAA
Accent8.98:1AAA
Destructive3.73:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.109 0.014 33.285);
  --muted: oklch(0.909 0.027 149.308);
  --muted-foreground: oklch(0.42 0.006 149.51);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.109 0.014 33.285);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.086 0.011 33.285);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.931 0.017 28.033);
  --primary-foreground: oklch(0.418 0.088 30.236);
  --secondary: oklch(0.948 0.027 149.321);
  --secondary-foreground: oklch(0.264 0.053 146.736);
  --accent: oklch(0.919 0.024 292.054);
  --accent-foreground: oklch(0.355 0.116 284.921);
  --destructive: oklch(0.536 0.195 31.527);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.931 0.017 28.033);
  --chart-1: oklch(0.931 0.017 28.033);
  --chart-2: oklch(0.948 0.027 149.321);
  --chart-3: oklch(0.919 0.024 292.054);
  --chart-4: oklch(0.968 0.017 149.464);
  --chart-5: oklch(0.93 0.018 28.041);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.011 33.01);
  --foreground: oklch(0.976 0.002 27.945);
  --muted: oklch(0.264 0.036 147.813);
  --muted-foreground: oklch(0.767 0.005 149.602);
  --popover: oklch(0.086 0.011 33.01);
  --popover-foreground: oklch(0.976 0.002 27.945);
  --card: oklch(0.109 0.014 33.01);
  --card-foreground: oklch(0.984 0.002 27.941);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.931 0.017 28.033);
  --primary-foreground: oklch(0.418 0.088 30.236);
  --secondary: oklch(0.948 0.027 149.321);
  --secondary-foreground: oklch(0.264 0.053 146.736);
  --accent: oklch(0.919 0.024 292.054);
  --accent-foreground: oklch(0.355 0.116 284.921);
  --destructive: oklch(0.637 0.204 31.596);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.931 0.017 28.033);
  --chart-1: oklch(0.931 0.017 28.033);
  --chart-2: oklch(0.948 0.027 149.321);
  --chart-3: oklch(0.919 0.024 292.054);
  --chart-4: oklch(0.968 0.017 149.464);
  --chart-5: oklch(0.93 0.018 28.041);
}