I think I’ve seen some related old posts around but really nothing has worked, can anyone help me?
The screenshots I’m providing are from the android build, which is my target, but the same behaviour happens in all platforms and browsers.
I wanna remove that white effect on click, and once I get that done I’m thinking of doing something like, when I click the text turns red, and then white again after click is complete.
In terms of code, I don’t have anything special to show, just a really simple list on the side menu with items in it.
I’d try --background-activated or highlight-color-activated or ripple-color. I’m on mobile so I haven’t had a chance to test this yet but I’d start here
Yeah I realized that afterwards, I tried the other 2 commands with – aswell setting them different colors and they didn’t do anything at all ahaha
I’ve read the list of properties and I really can’t think of any of these that would allow me to set the text color when the item is activated, instead of the background, do you have any suggestion?
I’ve just tried stuff like
–ion-item-color-activated: red;
–ion-text-color-activated: green;
–ion-color-activated: yellow;
and some more variations I came up with, nothing worked so far, I guess trying to guess it isn’t the right approach I’ll also try to find the official variable later