Lined for shadcn/ui

Lined is a shadcn/ui theme built around a red primary color (#a8655d) with orange accents (#a88b5d). The light mode uses a neutral background (#fefcfb). Dark mode keeps the red primary (#a8655d) on a neutral background (#000000).

Color palette

TokenLightDark
Background
#fefcfbsnow
#000000black
Foreground
#050101black
#ffffffwhite
Card
#fefcfbsnow
#000000black
Card foreground
#050101black
#ffffffwhite
Popover
#fefcfbsnow
#000000black
Popover foreground
#050101black
#ffffffwhite
Primary
#a8655dindianred
#a8655dindianred
Primary foreground
#ffffffwhite
#ffffffwhite
Secondary
#a85d79indianred
#a85d79indianred
Secondary foreground
#ffffffwhite
#ffffffwhite
Muted
#ebdbe1gainsboro
#24141ablack
Muted foreground
#4c3940darkslategray
#c6b3bbsilver
Accent
#a88b5dperu
#a88b5dperu
Accent foreground
#000000black
#000000black
Destructive
#9d4410saddlebrown
#ea7a39coral
Destructive foreground
#ffffffwhite
#000000black
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a8655dindianred
#a8655dindianred

Contrast

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

Light mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button4.48:1AA Large
Secondary button4.68:1AA
Muted text8.01:1AAA
Accent6.49:1AA
Destructive6.42:1AA
Dark mode
Text on background21.00:1AAA
Text on card21.00:1AAA
Primary button4.48:1AA Large
Secondary button4.68:1AA
Muted text8.87:1AAA
Accent6.49:1AA
Destructive7.32:1AAA

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.991 0.002 26.456);
  --foreground: oklch(0.083 0.018 35.544);
  --muted: oklch(0.906 0.019 352.181);
  --muted-foreground: oklch(0.368 0.029 353.7);
  --popover: oklch(0.991 0.002 26.456);
  --popover-foreground: oklch(0.083 0.018 35.544);
  --card: oklch(0.991 0.002 26.456);
  --card-foreground: oklch(0.083 0.018 35.544);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.579 0.087 28.134);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.572 0.103 356.466);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.652 0.072 78.874);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.497 0.132 45.281);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.579 0.087 28.134);
  --chart-1: oklch(0.579 0.087 28.134);
  --chart-2: oklch(0.572 0.103 356.466);
  --chart-3: oklch(0.652 0.072 78.874);
  --chart-4: oklch(0.598 0.096 355.91);
  --chart-5: oklch(0.578 0.096 28.375);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0 0 0);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.216 0.028 355.036);
  --muted-foreground: oklch(0.786 0.023 352.42);
  --popover: oklch(0 0 0);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0 0 0);
  --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.579 0.087 28.134);
  --primary-foreground: oklch(1 0 180);
  --secondary: oklch(0.572 0.103 356.466);
  --secondary-foreground: oklch(1 0 180);
  --accent: oklch(0.652 0.072 78.874);
  --accent-foreground: oklch(0 0 0);
  --destructive: oklch(0.696 0.159 47.8);
  --destructive-foreground: oklch(0 0 0);
  --ring: oklch(0.579 0.087 28.134);
  --chart-1: oklch(0.579 0.087 28.134);
  --chart-2: oklch(0.572 0.103 356.466);
  --chart-3: oklch(0.652 0.072 78.874);
  --chart-4: oklch(0.598 0.096 355.91);
  --chart-5: oklch(0.578 0.096 28.375);
}