I am having issues with Gmail in dark mode on mobile clients, namely the color choices it uses.
If I specify green background-color: #00ff00;
as a background color, Gmail in dark mode changes the value to a dark green background-color: #1c4211;
. It's not my first choice for a dark green. I am looking for ways to customize the color.
I have tried to target Gmail specifically with a class like: u ~ div td background-color: #00ff00;
. With some color choices like red, it adheres to the color choice. In many others, it makes a substitution for a darker color that doesn't work for my intended needs.
Has anyone run across a solution to fine-tune the swap process?
For gmail app on iphone I've found that hsl colors with multiple gradients do the trick, like so:
background: #10c893;
background: -moz-linear-gradient(top, hsl(163,85%,42%) 0%, hsl(163,85%,42%) 100%);
background: -webkit-linear-gradient(top, hsl(163,85%,42%) 0%,hsl(163,85%,42%) 100%);
background: linear-gradient(to bottom, hsl(163,85%,42%) 0%,hsl(163,85%,42%) 100%);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With