philc / vimium

The hacker's browser.
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb
MIT License
23.3k stars 2.48k forks source link

Add option to enable vimium dark mode, independent of browser's theme. #3862

Open the1derer opened 3 years ago

the1derer commented 3 years ago

Describe the bug At the moment vimium's dark mode is activated only when browser's(like chrome) dark mode is activated, which itself can only be set by enabling a dark mode in the respective Operationg Systems. This causes the problem for linux users where Chrome's dark mode is not automatically set even if the user has setup a dark theme. So, inturn vimium dark mode is also not activated.

To overcome this please provide an option similar to 'Dark Reader' extension to set it "automatically" and a toggle to turn the dark mode on/off. Thanks.

Browser and Vimium version Vimium Version: 1.67 Chrome: 93.0.4573.0 OS: Ubuntu 21.04

txtyash commented 3 years ago

Please use vimium's css capabilities for this. By default my theme is dark. Specifically, dark theme with styling in cyan color. You can find it here https://github.com/zim0369/dotfiles It is name 'vimium.css'

mizzunet commented 2 years ago

@zim0369 vimium.css not found on that repo, could you upload it again

Thanks

txtyash commented 2 years ago

@zim0369 vimium.css not found on that repo, could you upload it again

Thanks

https://github.com/zim0369/vimium.css

I also have css for vimiumC: https://github.com/zim0369/vimiumC.css

I don't use vimium anymore because vimiumC is much better.

gdh1995 commented 2 years ago

BTW, Vimium C has a way to always enable dark mode of Vomnibar:

And, you may also force a dark mode by simply removing .has-dark in https://github.com/zim0369/vimiumC.css/blob/main/vimiumC.css

Refer: https://github.com/gdh1995/vimium-c/wiki/Style-the-UI-of-Vimium-C-using-Custom-CSS#using-your-styles-with-dark-mode