My latest Lovelace Screens [Updated]

@tempaone please remove line under style this is what is causing the visibility issues for you

background-image: url("/local/lovelace/cardbackK.png")

still didnt work
Capture

Did you clear your browser cache?

Are you using any themes?

yeah loaded in incognito mode too…
theme copied your yaml…

#################################################################

Packages/Theme Control

#################################################################

#################################################################

Themes

#################################################################

frontend:
themes:
midnight:

Main colors

  primary-color: '#5294E2'                                                        # Header
  accent-color: '#E45E65'                                                         # Accent color
  dark-primary-color: 'var(--accent-color)'                                       # Hyperlinks                                         
  light-primary-color: 'var(--accent-color)'                                      # Horizontal line in about

Text colors

  primary-text-color: '#FFFFFF'                                                   # Primary text colour, here is referencing dark-primary-color
  text-primary-color: 'var(--primary-text-color)'                                 # Primary text colour
  secondary-text-color: '#5294E2'                                                 # For secondary titles in more info boxes etc.
  disabled-text-color: '#7F848E'                                                  # Disabled text colour
  label-badge-border-color: 'green'                                               # Label badge border, just a reference value   

Background colors

  primary-background-color: '#383C45'                                             # Settings background
  secondary-background-color: '#383C45'                                           # Main card UI background  
  divider-color: 'rgba(0, 0, 0, .12)'                                             # Divider 

Table rows

  table-row-background-color: '#353840'                                           # Table row
  table-row-alternative-background-color: '#3E424B'                               # Table row alternative

Nav Menu

  paper-listbox-color: 'var(--primary-color)'                                     # Navigation menu selection hoover
  paper-listbox-background-color: '#2E333A'                                       # Navigation menu background
  paper-grey-50: 'var(--primary-text-color)'                                   
  paper-grey-200: '#414A59'                                                       # Navigation menu selection

Paper card

  paper-card-header-color: 'var(--accent-color)'                                  # Card header text colour
  paper-card-background-color: '#434954'                                          # Card background colour
  paper-dialog-background-color: '#434954'                                        # Card dialog background colour
  paper-item-icon-color: 'var(--primary-text-color)'                              # Icon color
  paper-item-icon-active-color: '#ffc107'                                         # Icon color active
  paper-item-icon_-_color: 'green'           
  paper-item-selected_-_background-color: '#434954'                               # Popup item select                      
  paper-tabs-selection-bar-color: 'green'

Labels

  label-badge-red: 'var(--accent-color)'                                          # References the brand colour label badge border
  label-badge-text-color: 'var(--primary-text-color)'                             # Now same as label badge border but that's a matter of taste
  label-badge-background-color: '#2E333A'                                         # Same, but can also be set to transparent here

Switches

  paper-toggle-button-checked-button-color: 'var(--accent-color)'
  paper-toggle-button-checked-bar-color: 'var(--accent-color)'
  paper-toggle-button-checked-ink-color: 'var(--accent-color)'
  paper-toggle-button-unchecked-button-color: 'var(--disabled-text-color)'
  paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)'
  paper-toggle-button-unchecked-ink-color: 'var(--disabled-text-color)'  

Sliders

  paper-slider-knob-color: 'var(--accent-color)'
  paper-slider-knob-start-color: 'var(--accent-color)'
  paper-slider-pin-color: 'var(--accent-color)'
  paper-slider-active-color: 'var(--accent-color)'
  paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat'
  paper-slider-secondary-color: 'var(--secondary-background-color)'
  paper-slider-disabled-active-color: 'var(--disabled-text-color)'
  paper-slider-disabled-secondary-color: 'var(--disabled-text-color)'

Google colors

  google-red-500: '#E45E65'
  google-green-500: '#39E949'

#################################################################

Automations

#################################################################

automation:

  • alias: ‘Set Theme to Midnight’
    trigger:
    • platform: homeassistant
      event: start
      action:
    • service: frontend.set_theme
      data:
      name: midnight

Hello

After latest update on Hassio (from 0.84.1 to 0.84.6) this happend… the round edges on the picture was square again but not the cards corners.
Namnl%C3%B6s

My config:

- type: custom:card-modder
            card:
              type: picture-elements
              image: /local/lovelace/home/house.jpg
              elements:
                - type: state-icon
                  entity: binary_sensor.doorsensors_status
                  style: {color: white, left: 8%, top: 90%}
                - type: state-label
                  entity: sensor.qubino_zmnhadx_flush_1_relay_temperature
                  style: {color: white, left: 91%, top: 90%}
            style:                 
              border-radius: 20px
              border: solid 1px rgba(100,100,100,0.3)
              box-shadow: 3px 3px rgba(0,0,0,0.4)

I think maybe it has something to do with picture-elements changes on the 0.84.3 update, - [[ * Fix for picture element positioning (#2335) @iantrich ]] - but Im not sure what.

Help!

add this to your style

overflow: hidden

1 Like

Worked! Thanks! :grinning:

1 Like

Also dude -3.2c it’s like 34c here today

Up north in Sweden! Can get -35c here in the winter… :cold_face:

2 Likes

@jimpower we’re working on updating the Home Assistant demo on the website and would love to include parts of your config. Would you want to contribute the config of 2 or 3 tabs for the demo? Instructions how to contribute can be found here https://github.com/home-assistant/home-assistant-polymer/wiki/Contributing-a-Lovelace-config-for-the-demo

2 Likes

@balloob I’d be happy to contribute let me look at whats required do you have any preference as to which tabs?

2 Likes

Cool UI indeed!

Do you mind to share your themes.yaml (Cant find it in your repo), which specify your primary-color, accent-color, etc?

can you told me how you do that?

image

also like this?

איך סידרת ככה?

In international forums write in English.