Skip to content

AmoebeLabs/Hemera_Theme-01-Orange_Blue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge

Hemera Theme Variant #01, Light Grey/Orange/Blue

Hemera Day Theme for Home Assistant in Orange/Blue variant

What is it

Hemera is an extended day theme, supporting several custom components. Hemera, the goddess of the day, has a counterpart named Nyx, the goddess of the night.

Supported Home Assistant and Lovelace components

This theme is build on Home Assistant 0.96.5 It has built-in support for the following custom components:

Installation via HACS

Add a custom repository to HACS, pointing to this repository, https://github.com/AmoebeLabs/Hemera_Theme-01-Orange_Blue

Simple Preview:

Hemera 01 Profile

Some real-world screenshots:

1

2

Relation between theme, decluttering templates and views/cards

The theme, templates and cards are related in the sense that the template is using the theme settings, and the cards the template settings, ie: theme --> template --> cards.

Below a light button example for the state "On"

The theme defines the colors:

#
# Entity state = 'on'

theme-button-card-color-state-on:          'rgba(255, 255, 255, 1.0)'
theme-button-area-color-state-on:          'var(--primary-text-color)'
theme-button-icon-color-state-on:          'var(--paper-item-icon-active-color)'
theme-button-label-color-state-on:         'var(--mdc-orange-darken-4)'
theme-button-lock-color-state-on:          'var(--primary-text-color)'
theme-button-name-color-state-on:          'var(--primary-text-color)'
theme-button-state-color-state-on:         'var(--mdc-orange-darken-4)'

The template for the custom button-card implements the theme colors/settings for the state "On"

  state:
    - value: "on" 
      spin: '[[spin]]'  
      styles:
        card:
          - --ha-card-background: var(--theme-button-card-color-state-on)
        lock:
          - color: var(--theme-button-lock-color-state-on)
        label:
          - color: var(--theme-button-label-color-state-on)
        name:
          - color: var(--theme-button-name-color-state-on)
        state:
          - color: var(--theme-button-state-color-state-on)
        custom_fields:
          area:
            - color: var(--theme-button-area-color-state-on)

The cards need very little yaml code as a result, only functional stuff, NO styling!

          - type: custom:decluttering-card
            template: button_light_template
            variables:
              - entity: light.gledopto
              - area: Woonkamer
              - name: Boekenkast
              - icon: 'mdi:book-open-outline'

As a result:

  • the cards need very little yaml, and only contain the functional stuff
  • the template takes care of defaults and styling
  • the theme is the only one responible for the style settings

Design:

The main colors, based on the Material Design Color Palettes are:

  • Light Grey for backgrounds
  • Orange as Primary Color
  • Light Blue as the Secondary Color

Hemera Theme Orange Blue

Inspired by...

Of course, I did not re-invent the wheel. Hemera and Nyx, together with the 3-grid layout and on/off colors are heavily inspred by Apple's HomeKit and the mighty HomeBridge UI.

Homekit:

Homebridge:

Last but not least: Google's material design, inclusing design rules:

And last last but not least: the 3 button topmenu by @jimzz

Releases

No releases published

Packages

No packages published