Lined for shadcn/ui

Lined is a shadcn/ui theme built around a teal primary color (#6ce5b8) with muted light teal accents (#d2e4de). The light mode uses a neutral background (#fbfefd). Dark mode keeps the teal primary (#6ce5b8) on a neutral background (#010403).

Color palette

TokenLightDark
Background
#fbfefdwhite
#010403black
Foreground
#020d09black
#ffffffwhite
Card
#f7fdfbmintcream
#020806black
Card foreground
#020906black
#ffffffwhite
Popover
#f7fdfbmintcream
#020806black
Popover foreground
#020906black
#ffffffwhite
Primary
#6ce5b8mediumaquamarine
#6ce5b8mediumaquamarine
Primary foreground
#051a12black
#051a12black
Secondary
#e3ede9lavender
#232f2adarkslategray
Secondary foreground
#16221eblack
#b9cbc4silver
Muted
#e8edeblavender
#121715black
Muted foreground
#626a67dimgray
#959d9adarkgray
Accent
#d2e4degainsboro
#2d493edarkslategray
Accent foreground
#325347darkslategray
#c9ded6lightgrey
Destructive
#9c1402darkred
#f62004red
Destructive foreground
#fed7d2bisque
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#6ce5b8mediumaquamarine
#6ce5b8mediumaquamarine

Contrast

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

Light mode
Text on background19.43:1AAA
Text on card19.50:1AAA
Primary button11.63:1AAA
Secondary button13.67:1AAA
Muted text4.70:1AA
Accent6.46:1AA
Destructive6.31:1AA
Dark mode
Text on background20.58:1AAA
Text on card20.18:1AAA
Primary button11.63:1AAA
Secondary button8.21:1AAA
Muted text6.52:1AA
Accent7.01:1AAA
Destructive4.09:1AA Large

CSS variables

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

:root {
  --radius: 0.5rem;
  --background: oklch(0.994 0.003 172.479);
  --foreground: oklch(0.145 0.021 172.037);
  --muted: oklch(0.942 0.006 172.383);
  --muted-foreground: oklch(0.517 0.011 171.944);
  --popover: oklch(0.988 0.007 172.38);
  --popover-foreground: oklch(0.126 0.018 172.886);
  --card: oklch(0.988 0.007 172.38);
  --card-foreground: oklch(0.126 0.018 172.886);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.84 0.128 166.697);
  --primary-foreground: oklch(0.197 0.033 166.905);
  --secondary: oklch(0.937 0.011 172.24);
  --secondary-foreground: oklch(0.238 0.018 170.197);
  --accent: oklch(0.904 0.021 171.889);
  --accent-foreground: oklch(0.412 0.044 168.907);
  --destructive: oklch(0.443 0.17 31.024);
  --destructive-foreground: oklch(0.911 0.045 26.845);
  --ring: oklch(0.84 0.128 166.697);
  --chart-1: oklch(0.84 0.128 166.697);
  --chart-2: oklch(0.937 0.011 172.24);
  --chart-3: oklch(0.904 0.021 171.889);
  --chart-4: oklch(0.958 0.007 172.358);
  --chart-5: oklch(0.845 0.132 166.451);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.012 172.841);
  --foreground: oklch(1 0 180);
  --muted: oklch(0.198 0.009 171.196);
  --muted-foreground: oklch(0.689 0.01 172.136);
  --popover: oklch(0.124 0.015 172.841);
  --popover-foreground: oklch(1 0 180);
  --card: oklch(0.124 0.015 172.841);
  --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.84 0.128 166.697);
  --primary-foreground: oklch(0.197 0.033 166.905);
  --secondary: oklch(0.292 0.019 170.581);
  --secondary-foreground: oklch(0.826 0.022 171.783);
  --accent: oklch(0.378 0.039 169.13);
  --accent-foreground: oklch(0.883 0.025 171.748);
  --destructive: oklch(0.62 0.243 30.595);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.84 0.128 166.697);
  --chart-1: oklch(0.84 0.128 166.697);
  --chart-2: oklch(0.292 0.019 170.581);
  --chart-3: oklch(0.378 0.039 169.13);
  --chart-4: oklch(0.325 0.021 170.498);
  --chart-5: oklch(0.845 0.132 166.451);
}