Lined for shadcn/ui

Lined is a shadcn/ui theme built around a muted deep purple primary color (#0f0b0f) with muted deep pink accents (#0f0b0d). The light mode uses a neutral background (#ffffff). Dark mode keeps the muted deep purple primary (#0f0b0f) on a neutral background (#030203).

Color palette

TokenLightDark
Background
#ffffffwhite
#030203black
Foreground
#130613black
#f9f6f9whitesmoke
Card
#fcfcfcsnow
#070307black
Card foreground
#0f050fblack
#fbf9fbsnow
Popover
#ffffffwhite
#030203black
Popover foreground
#130613black
#f9f6f9whitesmoke
Primary
#0f0b0fblack
#0f0b0fblack
Primary foreground
#b398b3darkgray
#b398b3darkgray
Secondary
#0d0b0fblack
#0d0b0fblack
Secondary foreground
#a598b3darkgray
#a598b3darkgray
Muted
#e8e5eblavender
#17141ablack
Muted foreground
#544860dimgray
#aa9fb7darkgray
Accent
#0f0b0dblack
#0f0b0dblack
Accent foreground
#b398a6darkgray
#b398a6darkgray
Destructive
#620d04maroon
#f73722orangered
Destructive foreground
#fba69dlightsalmon
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#0f0b0fblack
#0f0b0fblack

Contrast

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

Light mode
Text on background19.75:1AAA
Text on card19.58:1AAA
Primary button7.50:1AAA
Secondary button7.23:1AAA
Muted text6.79:1AA
Accent7.42:1AAA
Destructive6.97:1AA
Dark mode
Text on background19.32:1AAA
Text on card19.52:1AAA
Primary button7.50:1AAA
Secondary button7.23:1AAA
Muted text7.27:1AAA
Accent7.42:1AAA
Destructive3.80:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(1 0 180);
  --foreground: oklch(0.152 0.034 326.518);
  --muted: oklch(0.925 0.01 307.664);
  --muted-foreground: oklch(0.424 0.041 306.659);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.152 0.034 326.518);
  --card: oklch(0.992 0 161.565);
  --card-foreground: oklch(0.139 0.03 326.484);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.155 0.01 325.541);
  --primary-foreground: oklch(0.713 0.049 325.559);
  --secondary: oklch(0.153 0.009 307.135);
  --secondary-foreground: oklch(0.701 0.041 307.106);
  --accent: oklch(0.155 0.008 345.519);
  --accent-foreground: oklch(0.709 0.037 345.572);
  --destructive: oklch(0.322 0.119 31.019);
  --destructive-foreground: oklch(0.807 0.103 26.519);
  --ring: oklch(0.155 0.01 325.541);
  --chart-1: oklch(0.155 0.01 325.541);
  --chart-2: oklch(0.153 0.009 307.135);
  --chart-3: oklch(0.155 0.008 345.519);
  --chart-4: oklch(0.186 0.013 306.967);
  --chart-5: oklch(0.155 0.012 325.627);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.089 0.011 326.014);
  --foreground: oklch(0.976 0.006 325.141);
  --muted: oklch(0.196 0.015 306.926);
  --muted-foreground: oklch(0.72 0.036 307.208);
  --popover: oklch(0.089 0.011 326.014);
  --popover-foreground: oklch(0.976 0.006 325.141);
  --card: oklch(0.112 0.014 326.014);
  --card-foreground: oklch(0.984 0.004 325.127);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.155 0.01 325.541);
  --primary-foreground: oklch(0.713 0.049 325.559);
  --secondary: oklch(0.153 0.009 307.135);
  --secondary-foreground: oklch(0.701 0.041 307.106);
  --accent: oklch(0.155 0.008 345.519);
  --accent-foreground: oklch(0.709 0.037 345.572);
  --destructive: oklch(0.636 0.229 30.485);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.155 0.01 325.541);
  --chart-1: oklch(0.155 0.01 325.541);
  --chart-2: oklch(0.153 0.009 307.135);
  --chart-3: oklch(0.155 0.008 345.519);
  --chart-4: oklch(0.186 0.013 306.967);
  --chart-5: oklch(0.155 0.012 325.627);
}