[Metrology] Metro + Fluent + Windows Themes for Home Assistant

Aww thank you very much for your compliments! :smiling_face_with_three_hearts: Iā€™m glad that it has been well received and was already the top 3 themes on HACS in just a few months (humblebrag, lol).

And also thank you for your best wishes! It was tough but I had recovered well in the past month and I am slowly back to normal again. :sparkling_heart:

1 Like

I poked a little bit into this, and it seems to be related to a bunch of new --rgb-state colors added recently. The default state of a button turned on is amber yellow, which is bizarre.

I will probably add them in the next update.

I made an issue on github:
On the more-info dialog for an entity, the tooltip when hovering over the graph or state history is generated outside the frame and hidden. A scrollbar appears at the bottom of the more-info card

Great theme :slight_smile:

1 Like

Nice theme! Whatā€™s the best way to make the corners more rounded? cheers

Is there a way to add photo as a background for the theme?

1 Like

Are there any versions of this theme with rounded corners? cheers

@madelena awesome theme. Wanted to get the structure working on my theme for the networking.
I noticed the background for some of the boxes is not clear. Although the CSS background is set to none.
Is this something on my end or am I missing one of the card-mod settings.

@madelena Where to find the Astro tab with the whole config? Because on your config page I cannot find it GitHub - Madelena/hass-config-public: My Dashboards for Home Assistant - Advanced data visualizations, responsive design, a neat maximalist Metro Live Tile layout, and an ultraminimal tablet layout! Please get back, would be awesome!

1 Like

Hi, Iā€™m using this theme and 2024.5(.1) seems to have induced ā€œtransparentā€ (sort of alpha 50%) on all popups : any chance to fix it ?

2 Likes

Just replying to myself, if you want to fix this with a ā€œquick & dirtyā€ solution :

Line 516 of metro.yaml :

  .mdc-dialog__surface {
          backdrop-filter: blur(16px);
          -webkit-backdrop-filter: blur(16px);
          background-color: rgba(var(--rgb-mdc-theme-surface), HERE> .5) !important;
>         }

change to

          background-color: rgba(var(--rgb-mdc-theme-surface), HERE> 1) !important;
2 Likes

You mind sharing how you did this in the first place? I couldnā€™t figure it out, did you do sections or masonry? and than how did you space it?

Another solution would be to force the background-filter. This way the blur effect should be applied as well.

.mdc-dialog__surface {
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
     background-color: rgba(var(--rgb-mdc-theme-surface), 0.5) !important;
}

It seems that the backdrop-filter modifier was added to the relevant class in the 2025.5 release.

1 Like

I hope you can update this Dashboard, which I believe is the best available right now, very similar in style to the Tesla dashboard. I hope it can be updated to the latest version of HA, where everything is drag-and-drop. According to the developers, dashboards will soon be easier to share through Lovelace dashboard blueprints.

:clap:

love it!! how did you do that sol system cards? their beautiful

You can take a look at the configuration, which you can find here:

Make it simple to apply to 2024 HA versions :raised_hands:

Love the look but wish it did not change my background. :+1:

My two centsā€¦
Personnaly I will add by default the following lines within metro.yaml to sync Thermostat Card with Metro themes.

 # Heating
  state-climate-heat-color: var(--primary-color)

Iā€™m trying to apply a background image to the theme that follows the day/night setting of the viewing devices but Iā€™m not making progress getting the code to work in the metro.yaml

Replaced out line 35 with lovelace-background: var(--background-image) then added the equivalent paths below to after line 348 (modes)

light:
  background-image: 'center / cover no-repeat fixed url("/local/Metro_day.svg")'
dark:
  background-image: 'center / cover no-repeat fixed url("/local/Metro_night.svg")'

Hi, Iā€™m a long time user of this theme also.
Thereā€™s been a lot of changes to the default theme and new additions lately (sections for instance) that are not coherent and are getting me away from the latest features : had anyone started to integrate those already ?

Do you feel it would it be simpler to start from default and get back this Fluent styling or the other way round ?