dorkhub

lovelace-soft-ui

💫 Neumorphic theme for Home Assistant Lovelace

qiz-li
88139 forksMITupdated 3 weeks ago
git clone https://github.com/qiz-li/lovelace-soft-ui.gitqiz-li/lovelace-soft-ui

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

more like this

meine

meine 🌒 - A CLI file manager and system utility built with Textual. It combines intuitive command parsing with rich t…

Python50

esphome_modbus_bridge

ESPHome Modbus TCP↔RTU Bridge – Transparent bridge for ESP8266/ESP32 that lets multiple Modbus TCP clients communicate…

C++53

search

search projects, people, and tags