Skip to content

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.json
Edit in the generator

Lineup 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.

WherePairLightDark
Body textforeground on background17.09:1 · Lc 10018.59:1 · Lc 104
Secondary text on the pagemuted-foreground on background5.10:1 · Lc 729.87:1 · Lc 64
Text in cardscard-foreground on card17.19:1 · Lc 10017.16:1 · Lc 104
Secondary text in cardsmuted-foreground on card5.12:1 · Lc 739.11:1 · Lc 63
Menus and popoverspopover-foreground on popover17.19:1 · Lc 10017.16:1 · Lc 104
Primary buttonsprimary-foreground on primary13.50:1 · Lc 1038.89:1 · Lc 62
Links and outline accentsprimary on background12.49:1 · Lc 949.18:1 · Lc 61
Secondary buttonssecondary-foreground on secondary15.41:1 · Lc 9314.48:1 · Lc 101
Text on muted panelsmuted-foreground on muted4.59:1 · Lc 657.68:1 · Lc 61
Hovered menu itemsaccent-foreground on accent10.01:1 · Lc 8813.15:1 · Lc 100
Error messagesdestructive on background4.54:1 · Lc 669.27:1 · Lc 61
Sidebarsidebar-foreground on sidebar16.50:1 · Lc 9717.16:1 · Lc 104
Sidebar active itemsidebar-primary-foreground on sidebar-primary13.50:1 · Lc 1038.89:1 · Lc 62
Sidebar hoversidebar-accent-foreground on sidebar-accent15.41:1 · Lc 9314.48:1 · Lc 101
Focus ringring on background12.49:18.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.json

Or 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/roboto

The registry item: themes.dev/r/presets/lineup.json. Free to use in any project.

globals.css
: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.

More shadcn/ui presets

All 37 presets