M1ke
1
Hey guys,
I have this problem for a long time but still cannot find a solution. Hopefully some of you can help me out!
This grey-ish circle stays visible until I press somewhere else and I’d like to remove it completely.
![Bildschirmfoto 2020-04-06 um 03.56.14](//community-assets.home-assistant.io/original/3X/4/6/460c4a30cf0d4e0ddbf2970e17299dd1c787d907.png)
By adding this:
switch-checked-color: “hsla(0, 0%, 0%, 0.0)”
to my theme, I was able to hide the “on-toggle”-circle, but the logical equivalent:
switch-unchecked-color: “hsla(0, 0%, 0%, 0.0)”
doesn’t change anything.
Thank you very much in advance!
AhmadK
(akasma74)
2
I don’t know how to turn it off globally but this code allows me to get rid of the circle of an individual input_boolean
type: entities
title: Test
entities:
- entity: input_boolean.test
style:
ha-entity-toggle:
$:
ha-switch:
$: '.mdc-switch__thumb-underlay {--mdc-ripple-fg-size: 0px !important}'
1 Like
M1ke
3
Thank you so much! Working like a charm ![:smiley: :smiley:](https://community.home-assistant.io/images/emoji/twitter/smiley.png?v=9)
1 Like
M1ke
4
Hey man, here’s how to get rid of it globally. Put this in a theme:
mdc-ripple-color: "transparent"