no-borders:
modes:
dark:
# I think there must be at least one setting here to get this to work, try for example
text-color: '#ffffff'
card-mod-theme: no-borders
card-mod-root-yaml: |
.: |
ha-app-layout {
--ha-card-border-width: 0px;
--ha-card-border-radius: 1px
}
I agree.
But that should be for those - who want to have the ādefaultā theme - just without the round bordersā¦ similar as it was with the original āoutlineā theme from @frenck
Afaik, you canāt add these two lines to a theme that does not appear in the āthemesā folder?
you either dont have themes configured (and by default use only the ādefaultā theme), or you do have themes configured.
if the former, you can use the new edits by creating a first smal theme, with only those lines. And select that theme in the selector. (you can not add anything to the ādefaultā theme)
if the latter, add it to any/all themes and continue like before.
easily done with a yaml anchor on the top theme in your file:
<<: &generic
ha-card-border-radius: 0px
ha-card-border-width: 0px
any other stuff you want in all other themes
thatās what I did - and thatās what I would like to share on HACS for those who donāt want to use one of the many themes because they still like the color-theme from the default installation - but donāt want to have rounded cards
so - basically - just a ādefaultā theme without āradiusā
Still trying to figure out how to do the switch between dark / light modeā¦ since this does not seem to work in the āSet themeā serviceā¦
frontend.set_theme does what is says, set a theme.
In a theme you can have specifics for light and dark_mode. If not, again, it follows the settings for default
dark/light mode follow the mode your device is in.
however, you can set themes, and not configure those dark/light modes at all. I dont use them, and dont use dark mode either. Eg I switch to dark themes on certain occasions (below horizon/away) or red theme (alarm triggeredā¦)
So depending in your wishes, you can customize away
the theme will be changedā¦ but only the light mode is available.
I can ONLY change the mode within the User settings:
So in my eyes, the āModeā selection in the service seems not to work?!
And the theme selection itself does ONLY work, when light mode has been selected.
maybe move this to a separate thread as it is not about the release, but about the more generic theme workings.
it would also give you some more playground and experiment with Home Assistant Frontend - Home Assistant
EDIT: I went this route instead and also added a resource in the browser instead (the companion app doesnāt want to load new modules that way without a wipe).
Do you understand that any attempts of fixing a design by themes is a WRONG way?
Wrong - at least because not all results depend on a value of some variable.
hmā¦ I donāt see any issues with it.
The developers have made a design decission for their software.
You can like it - or not.
If a customization does not work anymore in the way it was before the update, you need to fix it for you.
Customization of Design elements is - afaik not the responsibility of the HA Devs.
If you want to stick to the āold HA defaultā theme - because you donāt like the new rounded edges, a theme can be an easy way to solve itā¦ It is not supposed to fix any other ācustomizationāā¦ It should just provide what it provides. The Pre 2022.11 look.
Nothing more.