Customising Dark Mode

Hi all,

I quite like the default light and dark themes but just want to make a few tweaks to some of the values. I’m starting simple with just adding some curves to the cards with ha-card-border-radius and in light mode is easy:

  ha-card-border-radius: 19px

That is all I need.

But switching to this custom theme removes my ability to change to dark mode, both through the UI and frontend.set_theme.

Do I need to rebuild the full dark mode from scratch as a separate custom theme, overriding all the various values or am I missing something obvious?

1 Like

This is a good question! Any answers?

I just want to make the borders of cards visible in the UI… one change. Do I really need to build up a full Theme?

I think so.