th3jesta / ha-lcars

LCARS theme for Home Assistant
MIT License
275 stars 19 forks source link

Home Assistant 2024.2.0 (SOLVE) #85

Closed seamansrl closed 7 months ago

seamansrl commented 7 months ago

Home Assistant 2024.2.0 (SOLVE)

With the Home Assistant 2024.2.0 update, the LCARS styles are broken, but don't worry, it is solved like this:

Only 2 changes in "/config/themes/lcars/lcars.yaml":

1) We search for "item-text" and change the value "margin-right" to "10px" so that it looks like this:

.item-text {
  text-align: right;
  margin-left: auto;
  margin-right: 10px;
  margin-bottom: -23px;
  text-transform: uppercase;
}

This fixes the navigation bar.

2) then we look for "# Toolbar and dashboard modifications" and write just above:

  ha-state-icon {
    max-height: 100% !important;
  }

This fixes the button icons.

Ready! with this everything resolved.

Download the fixed file:

https://1drv.ms/u/s!AhAX-nXNLZPIsbg2ApwoXHQW4r-ebQ?e=MjiGFl

Greetings

FoxXxHater commented 7 months ago

In wich file you make the edits? In the lcars.yml?

seamansrl commented 7 months ago

/config/themes/lcars/lcars.yaml


De: FoxXxHater @.> Enviado: jueves, 8 de febrero de 2024 10:22 Para: th3jesta/ha-lcars @.> Cc: SeaMan SRL @.>; Author @.> Asunto: Re: [th3jesta/ha-lcars] Home Assistant 2024.2.0 (SOLVE) (Issue #85)

In wich file you make the edits? In the lcars.yml?

— Reply to this email directly, view it on GitHubhttps://github.com/th3jesta/ha-lcars/issues/85#issuecomment-1934115405, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG2TVSF4KZIKX7YCJKURI73YSTGP7AVCNFSM6AAAAABC65MQQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGEYTKNBQGU. You are receiving this because you authored the thread.Message ID: @.***>

seamansrl commented 7 months ago

De: Fernando P. Maniglia @.> Enviado: jueves, 8 de febrero de 2024 10:24 Para: th3jesta/ha-lcars @.> Asunto: RE: [th3jesta/ha-lcars] Home Assistant 2024.2.0 (SOLVE) (Issue #85)

/config/themes/lcars/lcars.yaml


De: FoxXxHater @.> Enviado: jueves, 8 de febrero de 2024 10:22 Para: th3jesta/ha-lcars @.> Cc: SeaMan SRL @.>; Author @.> Asunto: Re: [th3jesta/ha-lcars] Home Assistant 2024.2.0 (SOLVE) (Issue #85)

In wich file you make the edits? In the lcars.yml?

— Reply to this email directly, view it on GitHubhttps://github.com/th3jesta/ha-lcars/issues/85#issuecomment-1934115405, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG2TVSF4KZIKX7YCJKURI73YSTGP7AVCNFSM6AAAAABC65MQQCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGEYTKNBQGU. You are receiving this because you authored the thread.Message ID: @.***>

FoxXxHater commented 7 months ago

Thx

MichelJourdain commented 7 months ago

This solution works well for displaying the icons section, but there is a difference in the color of the icons.

Avant:

IMG_8557

Après:

IMG_8556

th3jesta commented 7 months ago

2.2.3 has been released with compatibility for Home Assistant 2024.2. Sorry for the delay in getting this fixed. It took a lot of work to fix things with the most minimal impact. Don't forget to back up your custom theme colors!