Lined for shadcn/ui

Lined is a shadcn/ui theme built around a vivid purple primary color (#f40bb6) with neutral gray accents (#dad8d9). The light mode uses a neutral background (#fdf6fb). Dark mode keeps the vivid purple primary (#f40bb6) on a neutral background (#040103).

Color palette

TokenLightDark
Background
#fdf6fbsnow
#040103black
Foreground
#130610black
#faf5f9whitesmoke
Card
#fcf2falavenderblush
#080306black
Card foreground
#10050dblack
#fcf8fbsnow
Popover
#fcf2falavenderblush
#080306black
Popover foreground
#10050dblack
#fcf8fbsnow
Primary
#f40bb6deeppink
#f40bb6deeppink
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#dad8d9gainsboro
#1f1f1fblack
Secondary foreground
#423e41darkslategray
#b8b8b8silver
Muted
#e3d9e0gainsboro
#261c1cblack
Muted foreground
#4c4349darkslategray
#bcb3b3silver
Accent
#dad8d9gainsboro
#1f1f1fblack
Accent foreground
#423e41darkslategray
#b8b8b8silver
Destructive
#d24504chocolate
#fb6e2dtomato
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#f40bb6deeppink
#f40bb6deeppink

Contrast

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

Light mode
Text on background18.68:1AAA
Text on card18.35:1AAA
Primary button3.78:1AA Large
Secondary button7.39:1AAA
Muted text6.91:1AA
Accent7.39:1AAA
Destructive4.56:1AA
Dark mode
Text on background19.26:1AAA
Text on card19.49:1AAA
Primary button3.78:1AA Large
Secondary button8.34:1AAA
Muted text8.07:1AAA
Accent8.34:1AAA
Destructive7.36:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.981 0.01 334.701);
  --foreground: oklch(0.15 0.031 337.383);
  --muted: oklch(0.895 0.015 334.811);
  --muted-foreground: oklch(0.394 0.015 335.198);
  --popover: oklch(0.972 0.015 334.791);
  --popover-foreground: oklch(0.137 0.027 336.604);
  --card: oklch(0.972 0.015 334.791);
  --card-foreground: oklch(0.137 0.027 336.604);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.647 0.273 344.069);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.883 0.003 334.594);
  --secondary-foreground: oklch(0.368 0.007 334.857);
  --accent: oklch(0.883 0.003 334.594);
  --accent-foreground: oklch(0.368 0.007 334.857);
  --destructive: oklch(0.585 0.187 38.74);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.647 0.273 344.069);
  --chart-1: oklch(0.647 0.273 344.069);
  --chart-2: oklch(0.883 0.003 334.594);
  --chart-3: oklch(0.883 0.003 334.594);
  --chart-4: oklch(0.907 0.003 334.579);
  --chart-5: oklch(0.654 0.277 344.354);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.086 0.016 335.112);
  --foreground: oklch(0.975 0.007 334.657);
  --muted: oklch(0.239 0.016 18.309);
  --muted-foreground: oklch(0.775 0.01 17.367);
  --popover: oklch(0.108 0.02 335.112);
  --popover-foreground: oklch(0.983 0.005 334.613);
  --card: oklch(0.108 0.02 335.112);
  --card-foreground: oklch(0.983 0.005 334.613);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.647 0.273 344.069);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.238 0 161.565);
  --secondary-foreground: oklch(0.781 0 180);
  --accent: oklch(0.238 0 161.565);
  --accent-foreground: oklch(0.781 0 180);
  --destructive: oklch(0.702 0.188 42.403);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.647 0.273 344.069);
  --chart-1: oklch(0.647 0.273 344.069);
  --chart-2: oklch(0.238 0 161.565);
  --chart-3: oklch(0.238 0 161.565);
  --chart-4: oklch(0.27 0 180);
  --chart-5: oklch(0.654 0.277 344.354);
}