Skip to content

Ember, a shadcn/ui preset

Ember orange on warm stone with Manrope.

Fonts: Manrope · radius 0.375rem · light and dark · lowest text contrast 4.77:1

npx shadcn@latest add https://www.themes.dev/r/presets/ember.json
Edit in the generator

Ember 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#ffffff
  • foreground#0c0908
  • primary#c2410b
  • primary-foreground#ffffff
  • secondary#f7f3f0
  • muted-foreground#6f6b68
  • accent#ffece3
  • border#e8e4e1
  • destructive#e7000a
  • ring#c2410b
  • chart-1#ffa17f
  • chart-2#e26942
  • chart-3#b94f2c
  • chart-4#963919
  • chart-5#772709

Dark

  • background#0f0d0b
  • foreground#fbfaf9
  • primary#ff9971
  • primary-foreground#14110f
  • secondary#292523
  • muted-foreground#bcb8b5
  • accent#43241b
  • border#2e2b28
  • destructive#ff9693
  • ring#ff855a
  • chart-1#ffa686
  • chart-2#f0764e
  • chart-3#c75c39
  • chart-4#a04223
  • chart-5#803014

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 background19.80:1 · Lc 10618.59:1 · Lc 104
Secondary text on the pagemuted-foreground on background5.29:1 · Lc 769.86:1 · Lc 64
Text in cardscard-foreground on card19.80:1 · Lc 10617.17:1 · Lc 104
Secondary text in cardsmuted-foreground on card5.29:1 · Lc 769.10:1 · Lc 63
Menus and popoverspopover-foreground on popover19.80:1 · Lc 10617.17:1 · Lc 104
Primary buttonsprimary-foreground on primary5.19:1 · Lc 808.99:1 · Lc 63
Links and outline accentsprimary on background5.19:1 · Lc 759.27:1 · Lc 61
Secondary buttonssecondary-foreground on secondary16.28:1 · Lc 9814.49:1 · Lc 101
Text on muted panelsmuted-foreground on muted4.80:1 · Lc 707.68:1 · Lc 61
Hovered menu itemsaccent-foreground on accent10.09:1 · Lc 8613.29:1 · Lc 100
Error messagesdestructive on background4.77:1 · Lc 709.27:1 · Lc 61
Sidebarsidebar-foreground on sidebar18.95:1 · Lc 10317.17:1 · Lc 104
Sidebar active itemsidebar-primary-foreground on sidebar-primary5.19:1 · Lc 808.99:1 · Lc 63
Sidebar hoversidebar-accent-foreground on sidebar-accent16.28:1 · Lc 9814.49:1 · Lc 101
Focus ringring on background5.19:18.08: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/ember.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/manrope

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

globals.css
:root {
  --radius: 0.375rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.145 0.006 56);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.145 0.006 56);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0.006 56);
  --primary: oklch(0.553 0.174 38.4);
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.967 0.006 56);
  --secondary-foreground: oklch(0.205 0.006 56);
  --muted: oklch(0.967 0.006 56);
  --muted-foreground: oklch(0.53 0.006 56);
  --accent: oklch(0.956 0.024 48.41);
  --accent-foreground: oklch(0.361 0.136 32.17);
  --destructive: oklch(0.583 0.239 28.5);
  --border: oklch(0.922 0.006 56);
  --input: oklch(0.87 0.006 56);
  --ring: oklch(0.553 0.174 38.4);
  --chart-1: oklch(0.796 0.122 40.44);
  --chart-2: oklch(0.66 0.16 38.4);
  --chart-3: oklch(0.56 0.146 38.4);
  --chart-4: oklch(0.47 0.132 38.4);
  --chart-5: oklch(0.39 0.118 38.4);
  --sidebar: oklch(0.985 0.006 56);
  --sidebar-foreground: oklch(0.145 0.006 56);
  --sidebar-primary: oklch(0.553 0.174 38.4);
  --sidebar-primary-foreground: oklch(1 0 0);
  --sidebar-accent: oklch(0.967 0.006 56);
  --sidebar-accent-foreground: oklch(0.205 0.006 56);
  --sidebar-border: oklch(0.922 0.006 56);
  --sidebar-ring: oklch(0.553 0.174 38.4);
}

.dark {
  --background: oklch(0.16 0.006 56);
  --foreground: oklch(0.985 0.002 56);
  --card: oklch(0.205 0.006 56);
  --card-foreground: oklch(0.985 0.002 56);
  --popover: oklch(0.205 0.006 56);
  --popover-foreground: oklch(0.985 0.002 56);
  --primary: oklch(0.78 0.134 41.75);
  --primary-foreground: oklch(0.18 0.006 56);
  --secondary: oklch(0.269 0.006 56);
  --secondary-foreground: oklch(0.985 0.002 56);
  --muted: oklch(0.269 0.006 56);
  --muted-foreground: oklch(0.785 0.006 56);
  --accent: oklch(0.3 0.05 38.4);
  --accent-foreground: oklch(0.985 0.002 56);
  --destructive: oklch(0.782 0.127 22);
  --border: oklch(0.29 0.006 56);
  --input: oklch(0.34 0.006 56);
  --ring: oklch(0.745 0.16 39.79);
  --chart-1: oklch(0.806 0.115 40.62);
  --chart-2: oklch(0.7 0.16 38.4);
  --chart-3: oklch(0.6 0.146 38.4);
  --chart-4: oklch(0.5 0.132 38.4);
  --chart-5: oklch(0.42 0.118 38.4);
  --sidebar: oklch(0.205 0.006 56);
  --sidebar-foreground: oklch(0.985 0.002 56);
  --sidebar-primary: oklch(0.78 0.134 41.75);
  --sidebar-primary-foreground: oklch(0.18 0.006 56);
  --sidebar-accent: oklch(0.269 0.006 56);
  --sidebar-accent-foreground: oklch(0.985 0.002 56);
  --sidebar-border: oklch(0.29 0.006 56);
  --sidebar-ring: oklch(0.745 0.16 39.79);
}

@theme inline {
  --font-sans: "Manrope Variable", "Manrope", ui-sans-serif, system-ui, sans-serif;
  --font-heading: "Manrope Variable", "Manrope", ui-sans-serif, system-ui, sans-serif;
}

More shadcn/ui presets

All 37 presets