Open andreicristianpetcu opened 6 years ago
Chameleon Dynamic Theme is working on a similar issue. Here is the bug report https://github.com/taboca/browser-adaptation-dynamic-theme/issues/14 and the PR https://github.com/taboca/browser-adaptation-dynamic-theme/pull/18/files
I finally got time to look at this 😅 Thanks for reporting.
Looks like I should maybe use Firefox's algorithm: https://searchfox.org/mozilla-central/source/browser/base/content/contentTheme.js#9-11
Instead of my own custom one: https://github.com/nt1m/vivaldi-fox/blob/2146fd4a00639f3ad331009fb18f002223114dcc/background/color.js#L24-L25
for finding the right color.
Interesting, Firefox's formula, despite being W3C compliant whereas Envify's isn't, also computes the text color to black.
go to https://inbox.google.com/
If I use Envify then this is the color it sets for the icons
I expect the Vivaldifox icons to be white like in Envify.
I'm running Vivaldifox v3.0b1