Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

363 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lovelace Soft UI

Note: This project is archived and no longer maintained. It remains available as a reference for anyone exploring neumorphic UI in Home Assistant. See the community forum thread for discussion and examples from other users.

Thank you to everyone who used, contributed, or shared feedback on this project ❤️

Soft UI light/dark screenshots

A neumorphic theme for Home Assistant Lovelace. Elegant soft shadows, light & dark modes, and a set of reusable card components.

Installation

Requires card-mod (install via HACS). Add the soft UI styles to your theme YAML (config/themes/{theme_name}/{theme_name}.yaml) using one of two methods:

Universal — styles all cards
# Light
theme_name:
  card-mod-theme: theme_name
  card-mod-card: |
    ha-card {
      margin: 20px;
      border-radius: 15px;
      background-color: var(--primary-background-color);
      box-shadow: -5px -5px 15px #ffffff, 5px 5px 15px #ebebeb;
    }
  soft-ui-pressed: 'inset -4px -4px 5px #ffffff, inset 4px 4px 5px #ebebeb'
# Dark
theme_name:
  card-mod-theme: theme_name
  card-mod-card: |
    ha-card {
      margin: 20px;
      border-radius: 15px;
      background-color: var(--primary-background-color);
      box-shadow: -5px -5px 15px #2c2c2c, 5px 5px 15px #191919;
    }
  soft-ui-pressed: 'inset -4px -4px 5px #2c2c2c, inset 4px 4px 5px #191919'
Individual — styles only cards with the soft-ui class
# Light
theme_name:
  card-mod-theme: theme_name
  card-mod-card: |
    ha-card.soft-ui {
      margin: 20px;
      border-radius: 15px;
      background-color: var(--primary-background-color);
      box-shadow: -5px -5px 15px #ffffff, 5px 5px 15px #ebebeb;
    }
  soft-ui-pressed: 'inset -4px -4px 5px #ffffff, inset 4px 4px 5px #ebebeb'
# Dark
theme_name:
  card-mod-theme: theme_name
  card-mod-card: |
    ha-card.soft-ui {
      margin: 20px;
      border-radius: 15px;
      background-color: var(--primary-background-color);
      box-shadow: -5px -5px 15px #2c2c2c, 5px 5px 15px #191919;
    }
  soft-ui-pressed: 'inset -4px -4px 5px #2c2c2c, inset 4px 4px 5px #191919'

Then reference the class in any card:

card_mod:
  class: soft-ui

Cards

Button cards require button-card. Add cards via the Manual card option in the Lovelace UI.

Heading (heading.yaml)

Heading

Heading & Subheading (heading_subheading.yaml)

Heading & Subheading

Button (button.yaml)

Button

Button Border (button_border.yaml)

Button Border

Button Text (button_text.yaml)

Button Text

Button Border Text (button_border_text.yaml)

Button Border Text

Button Description (button_description.yaml)

Button Description

About

💫 Neumorphic theme for Home Assistant Lovelace

Topics

Resources

Stars

Watchers

Forks

Contributors