OhMyHA › Guides

Home Assistant theme: install, pick and create your own (2026)

Updated 27 October 2026 · 6 min read

A Home Assistant theme changes the colours, corners, shadows and background of the whole interface. A few lines of YAML take you from a grey screen to a dashboard that feels like yours. Here is how to enable themes, install one and create your own.

Theme or dashboard: the difference

The theme sets the look: main colour, background, text, card corners and shadows. The dashboard sets the layout: which cards, where, in what order. A great theme on a messy dashboard still looks messy, and the other way round. Start with the theme: it is quick and shows everywhere.

1. Enable themes

Add these lines to your configuration.yaml (with the File editor or Studio Code Server add-on):

frontend:
  themes: !include_dir_merge_named themes

Then create a themes folder next to configuration.yaml and restart Home Assistant once. After that, the frontend.reload_themes action (Developer tools › Actions) reloads themes without a restart.

2. Install a theme with HACS

  1. Open HACS and search for "theme". Popular ones: Mushroom Themes, iOS Themes, Noctis, Catppuccin…
  2. Download the one you like: HACS puts it in the themes folder.
  3. Run the frontend.reload_themes action.

No HACS yet? The free starter pack installs it step by step.

3. Pick the theme

Dark Home Assistant theme, OhMyHA Graphite design
Dark Home Assistant theme, OhMyHA Graphite design

4. Create your own theme

A theme is a plain YAML file in the themes folder, for example themes/my_theme.yaml. Here is a complete dark theme for a wall tablet:

my_theme:
  ha-card-border-radius: "18px"
  ha-card-box-shadow: "0 10px 30px rgba(0, 0, 0, 0.35)"
  modes:
    dark:
      primary-color: "#00c2d4"
      accent-color: "#7c5cff"
      primary-background-color: "#0c0f16"
      secondary-background-color: "#151922"
      card-background-color: "rgba(27, 32, 42, 0.85)"
      primary-text-color: "#eceef4"
      secondary-text-color: "#9aa0b0"
      state-icon-color: "#9aa0b0"
      lovelace-background: "center / cover no-repeat fixed url('/local/background.jpg')"
    light:
      primary-color: "#0b8fa8"
      primary-background-color: "#f2f3f6"

The variables come from Home Assistant's CSS: primary-color for buttons and active icons, card-background-color for card backgrounds, lovelace-background for the dashboard background (put the image in the www folder, served under /local/). Reload themes and select "my_theme".

5. Go further with card-mod

A theme can only change what Home Assistant exposes as variables. For frosted glass, glowing halos around lights that are on, or cards that press in when tapped, you need card-mod: it adds CSS inside the theme (the card-mod-theme key) or card by card. That is where truly different designs happen.

For the layout itself, read our Home Assistant wall tablet dashboard guide.

FAQ

Why doesn't my theme show up?

Check the YAML indentation (two spaces, no tabs), that the theme name is on the first line, and run frontend.reload_themes again. Errors show in Settings › System › Logs.

Does the theme apply to the mobile app?

Yes, the companion app shows the same interface: pick the theme in your profile from the app, or use frontend.set_theme for everyone.

Light or dark theme for a wall tablet?

Usually dark: less glare at night, and lights that are on stand out. A theme with modes can switch automatically with the device setting.

Read next