aFFekopp / noctis

🐵 Dark Blue Theme for Home Assistant
211 stars 26 forks source link

Wrong colors with vertical-stack-in-card #2

Closed bieniu closed 4 years ago

bieniu commented 4 years ago

I use vertical-stack-in-card to join glance and entities cards. Your theme colors are wrong with that configuration.

         - type: custom:vertical-stack-in-card
            title: "Sypialnia"
            cards:
              - type: glance
                show_name: false
                entities:
                  - sensor.temperature_sypialnia
                  - sensor.humidity_sypialnia
                  - sensor.illumination_sypialnia
              - type: entities
                style: |
                  .card-content {
                    padding-top: 0px;
                  }
                show_header_toggle: false
                entities:
                  - binary_sensor.window_sypialnia
                  - binary_sensor.balcony_door_sypialnia
                  - entity: binary_sensor.motion_sypialnia
                    secondary_info: last-changed
                  - climate.thermostat_sypialnia
                  - light.lightstrip_sypialnia
                  - switch.christmas_lights_sypialnia

obraz

aFFekopp commented 4 years ago

I don't see this problem when using the example you have provided.

Your background color is the wrong color? It looks grey/white, something seems to be wrong there.

bieniu commented 4 years ago

Yes I changed background color for this view and it's not an issue. I meant about difference between card title background color and card background color. And the color of gap between glance and entities card.

aFFekopp commented 4 years ago

Can you please try changing paper-card-background-color. I'm using transparency in the card backgrounds, this might be causing this?

from: paper-card-background-color: 'rgba(47,59,82,0.6)'

to: paper-card-background-color: 'rgba(43,55,78,1)'

If possible post more of your views yaml file, if this doesn't fix it.

bieniu commented 4 years ago

I removed all my styling from lovelace configuration. Sorry, I forgot about it. Now it is better but still title background color is different than card backround color. And still between glance and entities cards there is a gap in different color.

image

aFFekopp commented 4 years ago

Please try updating to the latest release (1.3) of the theme. I still think it's that transparency issue, because the title color looks to be changing with the background color.

bieniu commented 4 years ago

Now looks great! Thanks.

image