Lined is a shadcn/ui theme built around a vivid orange primary color (#fa9314) with vivid blue accents (#147cfa). The light mode uses a neutral background (#fcfaf8). Dark mode keeps the vivid orange primary (#fa9314) on an orange-tinted background (#0f0b06).
| Token | Light | Dark |
|---|---|---|
| Background | #fcfaf8snow | #0f0b06black |
| Foreground | #080502black | #ffffffwhite |
| Card | #faf8f5whitesmoke | #120d07black |
| Card foreground | #040301black | #ffffffwhite |
| Popover | #fcfaf8snow | #0f0b06black |
| Popover foreground | #080502black | #ffffffwhite |
| Primary | #fa9314darkorange | #fa9314darkorange |
| Primary foreground | #412401maroon | #412401maroon |
| Secondary | #147cfadodgerblue | #147cfadodgerblue |
| Secondary foreground | #ffffffwhite | #ffffffwhite |
| Muted | #e8eaedlavender | #121417black |
| Muted foreground | #4f4f4fdarkslategray | #b0b0b0darkgray |
| Accent | #147cfadodgerblue | #147cfadodgerblue |
| Accent foreground | #ffffffwhite | #ffffffwhite |
| Destructive | #8e2310saddlebrown | #e84c30tomato |
| Destructive foreground | #fadbd6mistyrose | #ffffffwhite |
| Border | #e5e7eblavender | #1f2937darkslategray |
| Input | #e5e7eblavender | #1f2937darkslategray |
| Ring | #fa9314darkorange | #fa9314darkorange |
WCAG 2 contrast ratios between each background and its foreground color.
| Text on background | 19.52:1 | AAA |
| Text on card | 19.39:1 | AAA |
| Primary button | 6.24:1 | AA |
| Secondary button | 3.97:1 | AA Large |
| Muted text | 6.80:1 | AA |
| Accent | 3.97:1 | AA Large |
| Destructive | 6.73:1 | AA |
| Text on background | 19.65:1 | AAA |
| Text on card | 19.28:1 | AAA |
| Primary button | 6.24:1 | AA |
| Secondary button | 3.97:1 | AA Large |
| Muted text | 8.50:1 | AAA |
| Accent | 3.97:1 | AA Large |
| Destructive | 3.81:1 | AA Large |
Paste this into your globals.css to use Lined in your shadcn/ui project.
:root {
--radius: 0.5rem;
--background: oklch(0.986 0.003 73.197);
--foreground: oklch(0.12 0.012 80.159);
--muted: oklch(0.937 0.005 253.256);
--muted-foreground: oklch(0.428 0 180);
--popover: oklch(0.986 0.003 73.197);
--popover-foreground: oklch(0.12 0.012 80.159);
--card: oklch(0.979 0.004 73.186);
--card-foreground: oklch(0.095 0.01 80.159);
--border: oklch(0.928 0.006 264.531);
--input: oklch(0.928 0.006 264.531);
--primary: oklch(0.756 0.17 61.884);
--primary-foreground: oklch(0.293 0.064 65.877);
--secondary: oklch(0.604 0.208 257.417);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.604 0.208 257.417);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.429 0.146 32.314);
--destructive-foreground: oklch(0.916 0.036 29.652);
--ring: oklch(0.756 0.17 61.884);
--chart-1: oklch(0.756 0.17 61.884);
--chart-2: oklch(0.604 0.208 257.417);
--chart-3: oklch(0.604 0.208 257.417);
--chart-4: oklch(0.624 0.197 256.519);
--chart-5: oklch(0.761 0.173 61.226);
}
.dark {
--radius: 0.5rem;
--background: oklch(0.151 0.013 75.739);
--foreground: oklch(1 0 180);
--muted: oklch(0.19 0.008 253.457);
--muted-foreground: oklch(0.757 0 180);
--popover: oklch(0.151 0.013 75.739);
--popover-foreground: oklch(1 0 180);
--card: oklch(0.165 0.015 73.268);
--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.756 0.17 61.884);
--primary-foreground: oklch(0.293 0.064 65.877);
--secondary: oklch(0.604 0.208 257.417);
--secondary-foreground: oklch(1 0 180);
--accent: oklch(0.604 0.208 257.417);
--accent-foreground: oklch(1 0 180);
--destructive: oklch(0.631 0.197 32.371);
--destructive-foreground: oklch(1 0 180);
--ring: oklch(0.756 0.17 61.884);
--chart-1: oklch(0.756 0.17 61.884);
--chart-2: oklch(0.604 0.208 257.417);
--chart-3: oklch(0.604 0.208 257.417);
--chart-4: oklch(0.624 0.197 256.519);
--chart-5: oklch(0.761 0.173 61.226);
}