Lined is a shadcn/ui theme built around a purple primary color (#c57edd) with teal accents (#7eddc5). The light mode uses a neutral background (#ffffff). Dark mode keeps the purple primary (#c57edd) on a purple-tinted background (#0d050f).
| Token | Light | Dark |
|---|---|---|
| Background | #ffffffwhite | #0d050fblack |
| Foreground | #0e0212black | #f8f7f8whitesmoke |
| Card | #ffffffwhite | #0d050fblack |
| Card foreground | #0e0212black | #f8f7f8whitesmoke |
| Popover | #ffffffwhite | #0d050fblack |
| Popover foreground | #0e0212black | #f8f7f8whitesmoke |
| Primary | #c57eddorchid | #c57eddorchid |
| Primary foreground | #1a0920black | #1a0920black |
| Secondary | #ddc57eburlywood | #ddc57eburlywood |
| Secondary foreground | #201a09black | #201a09black |
| Muted | #efeadcantiquewhite | #231e10black |
| Muted foreground | #494437darkslategray | #c8c4b6silver |
| Accent | #7eddc5aquamarine | #7eddc5aquamarine |
| Accent foreground | #09201ablack | #09201ablack |
| Destructive | #923701saddlebrown | #f25a02orangered |
| Destructive foreground | #ffffffwhite | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #c57eddorchid | #c57eddorchid |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 20.26:1 | AAA |
| Text on card | 20.26:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 10.18:1 | AAA |
| Muted text | 8.07:1 | AAA |
| Accent | 10.54:1 | AAA |
| Destructive | 7.58:1 | AAA |
| Text on background | 18.78:1 | AAA |
| Text on card | 18.78:1 | AAA |
| Primary button | 6.70:1 | AA |
| Secondary button | 10.18:1 | AAA |
| Muted text | 9.51:1 | AAA |
| Accent | 10.54:1 | AAA |
| Destructive | 3.35: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.129 0.045 318.745);
--muted: oklch(0.937 0.019 91.575);
--muted-foreground: oklch(0.388 0.023 91.782);
--popover: oklch(1 0 180);
--popover-foreground: oklch(0.129 0.045 318.745);
--card: oklch(1 0 180);
--card-foreground: oklch(0.129 0.045 318.745);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.702 0.153 317.311);
--primary-foreground: oklch(0.179 0.052 317.042);
--secondary: oklch(0.828 0.094 91.681);
--secondary-foreground: oklch(0.221 0.031 91.332);
--accent: oklch(0.831 0.097 175.81);
--accent-foreground: oklch(0.223 0.032 174.439);
--destructive: oklch(0.459 0.135 42.942);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.702 0.153 317.311);
--chart-1: oklch(0.702 0.153 317.311);
--chart-2: oklch(0.828 0.094 91.681);
--chart-3: oklch(0.831 0.097 175.81);
--chart-4: oklch(0.844 0.086 91.76);
--chart-5: oklch(0.701 0.16 317.275);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.135 0.028 318.264);
--foreground: oklch(0.976 0.002 317.759);
--muted: oklch(0.236 0.025 91.734);
--muted-foreground: oklch(0.819 0.019 91.597);
--popover: oklch(0.135 0.028 318.264);
--popover-foreground: oklch(0.976 0.002 317.759);
--card: oklch(0.135 0.028 318.264);
--card-foreground: oklch(0.976 0.002 317.759);
--border: oklch(0.278 0.03 256.848);
--input: oklch(0.278 0.03 256.848);
--primary: oklch(0.702 0.153 317.311);
--primary-foreground: oklch(0.179 0.052 317.042);
--secondary: oklch(0.828 0.094 91.681);
--secondary-foreground: oklch(0.221 0.031 91.332);
--accent: oklch(0.831 0.097 175.81);
--accent-foreground: oklch(0.223 0.032 174.439);
--destructive: oklch(0.662 0.201 41.434);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.702 0.153 317.311);
--chart-1: oklch(0.702 0.153 317.311);
--chart-2: oklch(0.828 0.094 91.681);
--chart-3: oklch(0.831 0.097 175.81);
--chart-4: oklch(0.844 0.086 91.76);
--chart-5: oklch(0.701 0.16 317.275);
}