Lined for shadcn/ui

Lined is a shadcn/ui theme built around a vivid green primary color (#a9fe39) with vivid green accents (#46fe39). The light mode uses a neutral background (#ffffff). Dark mode keeps the vivid green primary (#a9fe39) on a neutral background (#030402).

Color palette

TokenLightDark
Background
#ffffffwhite
#030402black
Foreground
#0b1004black
#fdfdfcwhite
Card
#ffffffwhite
#030402black
Card foreground
#0b1004black
#fdfdfcwhite
Popover
#ffffffwhite
#030402black
Popover foreground
#0b1004black
#fdfdfcwhite
Primary
#a9fe39greenyellow
#a9fe39greenyellow
Primary foreground
#030500black
#030500black
Secondary
#fef139yellow
#fef139yellow
Secondary foreground
#050500black
#050500black
Muted
#e4e2cegainsboro
#31301bdarkslategray
Muted foreground
#696754dimgray
#abaa96darkgray
Accent
#46fe39limegreen
#46fe39limegreen
Accent foreground
#000500black
#000500black
Destructive
#d9350dorangered
#f24f26tomato
Destructive foreground
#ffffffwhite
#ffffffwhite
Border
#e5e7eblavender
#1f2937darkslategray
Input
#e5e7eblavender
#1f2937darkslategray
Ring
#a9fe39greenyellow
#a9fe39greenyellow

Contrast

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

Light mode
Text on background19.26:1AAA
Text on card19.26:1AAA
Primary button16.49:1AAA
Secondary button17.35:1AAA
Muted text4.38:1AA Large
Accent15.16:1AAA
Destructive4.69:1AA
Dark mode
Text on background20.23:1AAA
Text on card20.23:1AAA
Primary button16.49:1AAA
Secondary button17.35:1AAA
Muted text5.68:1AA
Accent15.16:1AAA
Destructive3.53: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.163 0.026 126.526);
  --muted: oklch(0.909 0.028 103.602);
  --muted-foreground: oklch(0.511 0.029 104.015);
  --popover: oklch(1 0 180);
  --popover-foreground: oklch(0.163 0.026 126.526);
  --card: oklch(1 0 180);
  --card-foreground: oklch(0.163 0.026 126.526);
  --border: oklch(0.928 0.006 264.531);
  --input: oklch(0.928 0.006 264.531);
  --primary: oklch(0.909 0.23 131.013);
  --primary-foreground: oklch(0.107 0.026 124.359);
  --secondary: oklch(0.939 0.186 105.127);
  --secondary-foreground: oklch(0.11 0.023 107.414);
  --accent: oklch(0.873 0.271 142.126);
  --accent-foreground: oklch(0.101 0.033 140.542);
  --destructive: oklch(0.581 0.205 33.628);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.909 0.23 131.013);
  --chart-1: oklch(0.909 0.23 131.013);
  --chart-2: oklch(0.939 0.186 105.127);
  --chart-3: oklch(0.873 0.271 142.126);
  --chart-4: oklch(0.943 0.179 105.207);
  --chart-5: oklch(0.916 0.235 131.173);
}

.dark {
  --radius: 0.5rem;
  --background: oklch(0.099 0.011 125.102);
  --foreground: oklch(0.994 0.002 125.766);
  --muted: oklch(0.304 0.034 104.736);
  --muted-foreground: oklch(0.733 0.027 103.707);
  --popover: oklch(0.099 0.011 125.102);
  --popover-foreground: oklch(0.994 0.002 125.766);
  --card: oklch(0.099 0.011 125.102);
  --card-foreground: oklch(0.994 0.002 125.766);
  --border: oklch(0.278 0.03 256.848);
  --input: oklch(0.278 0.03 256.848);
  --primary: oklch(0.909 0.23 131.013);
  --primary-foreground: oklch(0.107 0.026 124.359);
  --secondary: oklch(0.939 0.186 105.127);
  --secondary-foreground: oklch(0.11 0.023 107.414);
  --accent: oklch(0.873 0.271 142.126);
  --accent-foreground: oklch(0.101 0.033 140.542);
  --destructive: oklch(0.65 0.206 34.694);
  --destructive-foreground: oklch(1 0 180);
  --ring: oklch(0.909 0.23 131.013);
  --chart-1: oklch(0.909 0.23 131.013);
  --chart-2: oklch(0.939 0.186 105.127);
  --chart-3: oklch(0.873 0.271 142.126);
  --chart-4: oklch(0.943 0.179 105.207);
  --chart-5: oklch(0.916 0.235 131.173);
}