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).
| Token | Light | Dark |
|---|---|---|
| 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 |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.26:1 | AAA |
| Text on card | 19.26:1 | AAA |
| Primary button | 16.49:1 | AAA |
| Secondary button | 17.35:1 | AAA |
| Muted text | 4.38:1 | AA Large |
| Accent | 15.16:1 | AAA |
| Destructive | 4.69:1 | AA |
| Text on background | 20.23:1 | AAA |
| Text on card | 20.23:1 | AAA |
| Primary button | 16.49:1 | AAA |
| Secondary button | 17.35:1 | AAA |
| Muted text | 5.68:1 | AA |
| Accent | 15.16:1 | AAA |
| Destructive | 3.53:1 | AA Large |
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);
}