Lineup, a shadcn/ui preset
Espresso brown with Roboto, from a consumer electronics theme. It comes from Lineup, one of our website themes.
Fonts: Roboto · radius 0.5rem · light and dark · lowest text contrast 4.54:1
npx shadcn@latest add https://www.themes.dev/r/presets/lineup.jsonLineup on six free blocks from themes.dev UI. Scroll inside the preview.
The colours
The main variables, light and dark. The full set of 31 per mode, sidebar and charts included, is in the CSS below.
Light
- background#f7f6f4
- foreground#17130f
- primary#4a2416
- primary-foreground#ffffff
- secondary#edeae5
- muted-foreground#696969
- accent#fef0eb
- border#e5e5e5
- destructive#e30103
- ring#4a2416
- chart-1#e5b4a3
- chart-2#b18778
- chart-3#906b5d
- chart-4#725247
- chart-5#593e34
Dark
- background#0d0d0d
- foreground#fafafa
- primary#d8a896
- primary-foreground#121212
- secondary#262626
- muted-foreground#b9b9b9
- accent#382a25
- border#2b2b2b
- destructive#ff9693
- ring#d4a593
- chart-1#e8b7a6
- chart-2#be9384
- chart-3#9c7669
- chart-4#7b5a4f
- chart-5#61463c
Contrast, checked
Every pair shadcn/ui draws text with, measured as WCAG 2 contrast (AA needs 4.5:1) and APCA Lc (we ask 60 for text). Focus rings need 3:1 on the page.
| Where | Pair | Light | Dark |
|---|---|---|---|
| Body text | foreground on background | 17.09:1 · Lc 100 | 18.59:1 · Lc 104 |
| Secondary text on the page | muted-foreground on background | 5.10:1 · Lc 72 | 9.87:1 · Lc 64 |
| Text in cards | card-foreground on card | 17.19:1 · Lc 100 | 17.16:1 · Lc 104 |
| Secondary text in cards | muted-foreground on card | 5.12:1 · Lc 73 | 9.11:1 · Lc 63 |
| Menus and popovers | popover-foreground on popover | 17.19:1 · Lc 100 | 17.16:1 · Lc 104 |
| Primary buttons | primary-foreground on primary | 13.50:1 · Lc 103 | 8.89:1 · Lc 62 |
| Links and outline accents | primary on background | 12.49:1 · Lc 94 | 9.18:1 · Lc 61 |
| Secondary buttons | secondary-foreground on secondary | 15.41:1 · Lc 93 | 14.48:1 · Lc 101 |
| Text on muted panels | muted-foreground on muted | 4.59:1 · Lc 65 | 7.68:1 · Lc 61 |
| Hovered menu items | accent-foreground on accent | 10.01:1 · Lc 88 | 13.15:1 · Lc 100 |
| Error messages | destructive on background | 4.54:1 · Lc 66 | 9.27:1 · Lc 61 |
| Sidebar | sidebar-foreground on sidebar | 16.50:1 · Lc 97 | 17.16:1 · Lc 104 |
| Sidebar active item | sidebar-primary-foreground on sidebar-primary | 13.50:1 · Lc 103 | 8.89:1 · Lc 62 |
| Sidebar hover | sidebar-accent-foreground on sidebar-accent | 15.41:1 · Lc 93 | 14.48:1 · Lc 101 |
| Focus ring | ring on background | 12.49:1 | 8.86:1 |
Use it
With the shadcn CLI, in a project set up with shadcn init:
npx shadcn@latest add https://www.themes.dev/r/presets/lineup.jsonOr paste the CSS into globals.css (Next.js) or your main stylesheet (Vite, Astro), replacing the :root and .dark values that are there.
Then load the font:
npm i @fontsource-variable/robotoThe registry item: themes.dev/r/presets/lineup.json. Free to use in any project.
:root {
--radius: 0.5rem;
--background: oklch(0.973 0.003 84.56);
--foreground: oklch(0.19 0.01 67.15);
--card: oklch(0.975 0.003 84.56);
--card-foreground: oklch(0.19 0.01 67.15);
--popover: oklch(0.975 0.003 84.56);
--popover-foreground: oklch(0.19 0.01 67.15);
--primary: oklch(0.309 0.062 40.61);
--primary-foreground: oklch(1 0 0);
--secondary: oklch(0.938 0.007 84.56);
--secondary-foreground: oklch(0.19 0.01 67.15);
--muted: oklch(0.938 0.007 84.56);
--muted-foreground: oklch(0.52 0 0);
--accent: oklch(0.965 0.016 40.61);
--accent-foreground: oklch(0.36 0.062 40.61);
--destructive: oklch(0.576 0.236 29.05);
--border: oklch(0.922 0 0);
--input: oklch(0.87 0 0);
--ring: oklch(0.309 0.062 40.61);
--chart-1: oklch(0.81 0.062 40.61);
--chart-2: oklch(0.66 0.057 40.61);
--chart-3: oklch(0.56 0.052 40.61);
--chart-4: oklch(0.47 0.047 40.61);
--chart-5: oklch(0.39 0.042 40.61);
--sidebar: oklch(0.961 0.003 84.56);
--sidebar-foreground: oklch(0.19 0.01 67.15);
--sidebar-primary: oklch(0.309 0.062 40.61);
--sidebar-primary-foreground: oklch(1 0 0);
--sidebar-accent: oklch(0.938 0.007 84.56);
--sidebar-accent-foreground: oklch(0.19 0.01 67.15);
--sidebar-border: oklch(0.922 0 0);
--sidebar-ring: oklch(0.309 0.062 40.61);
}
.dark {
--background: oklch(0.16 0 0);
--foreground: oklch(0.985 0 0);
--card: oklch(0.205 0 0);
--card-foreground: oklch(0.985 0 0);
--popover: oklch(0.205 0 0);
--popover-foreground: oklch(0.985 0 0);
--primary: oklch(0.77 0.062 40.61);
--primary-foreground: oklch(0.18 0 0);
--secondary: oklch(0.269 0 0);
--secondary-foreground: oklch(0.985 0 0);
--muted: oklch(0.269 0 0);
--muted-foreground: oklch(0.785 0 0);
--accent: oklch(0.3 0.022 40.61);
--accent-foreground: oklch(0.985 0 0);
--destructive: oklch(0.782 0.127 22);
--border: oklch(0.29 0 0);
--input: oklch(0.34 0 0);
--ring: oklch(0.76 0.062 40.61);
--chart-1: oklch(0.82 0.062 40.61);
--chart-2: oklch(0.7 0.057 40.61);
--chart-3: oklch(0.6 0.052 40.61);
--chart-4: oklch(0.5 0.047 40.61);
--chart-5: oklch(0.42 0.042 40.61);
--sidebar: oklch(0.205 0 0);
--sidebar-foreground: oklch(0.985 0 0);
--sidebar-primary: oklch(0.77 0.062 40.61);
--sidebar-primary-foreground: oklch(0.18 0 0);
--sidebar-accent: oklch(0.269 0 0);
--sidebar-accent-foreground: oklch(0.985 0 0);
--sidebar-border: oklch(0.29 0 0);
--sidebar-ring: oklch(0.76 0.062 40.61);
}
@theme inline {
--font-sans: "Roboto Variable", "Roboto", ui-sans-serif, system-ui, sans-serif;
--font-heading: "Roboto Variable", "Roboto", ui-sans-serif, system-ui, sans-serif;
}
The whole site
Lineup started as Lineup, a website theme
Lineup is a complete site for Electronics brands and product lines: every page, the content model and a live demo, built from the same blocks, in Astro and Next.js + Sanity. It comes with UI Pro, from €199 once, with every other theme.
