vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Use built-in dark theme without `prefers-color-scheme: dark`

Open J-Kappes opened this issue 2 years ago • 1 comments

I like the buit-in dark theme, not only because it looks good but also because custom themes take a moment to apply on each freshly loaded page. However, I've stopped setting prefers-color-scheme: dark to combat fingerprinting. As a work-around I copied the dark theme CSS from the source code into the custom CSS field but now the Vomnibar flashes up in white for a moment once per page. Can somebody help me with this?

J-Kappes avatar Sep 10 '23 16:09 J-Kappes

Related #3790 This seems to be a Firefox-only issue, doesn't happen in chromium-based browsers.

I'm also experiencing white flashes even with prefers-color-scheme: dark, because the default dark theme implemented in #3595 doesn't style .vimiumHUD (lower right corner hints), which I guess at the time used #vimiumHelpDialog selector.

0x0003 avatar Oct 02 '23 15:10 0x0003