I’ve been trying to change the color of the animated ion-skeleton-text
component to get some more contracts with my dark background. See below. It is hardly visible now.
I’ve tried to change the following ionic css variables provided by the docs.
ion-skeleton-text {
--background: var(--ion-color-white);
--background-rgb: var(--ion-color-white);
}
When I change the --background
variable, nothing happens. When I change the background-rgb
variable, the entire skeleton text disappears.
What is the best approach to change the colors to get more contrast for darker backgrounds?