scoful / N-Tab

浏览器插件,《标签管理工具,替代OneTab》,支持Chrome和Edge
https://chrome.google.com/webstore/detail/cloudskymonster/niahhcandihcfbamcfhikgojghnnfjan
ISC License
409 stars 45 forks source link

feature request: macos dark mode support #49

Open uprprc777 opened 8 months ago

uprprc777 commented 8 months ago

环境信息

I have set macOS to dark mode, while N-Tab is running in light mode. N-Tab should be able to read the macOS settings and adjust to the corresponding mode (OneTab is able to do so).

In the README, it is mentioned that N-Tab can be set to dark mode by setting Chrome://flags/Auto Dark Mode for Web Contents to Enabled. However, this method is not perfect and may break some websites. Some websites that I don't want in dark mode are forced to use dark mode, sometimes resulting in poor or broken visual styles. Also, this may override some visual style settings of certain websites.

It would be beneficial for N-Tab to automatically detect and adjust to the macOS settings, enabling it to switch modes seamlessly. Alternatively, having a user interface (UI) option to manually choose the mode would provide flexibility and control for users.


scoful commented 8 months ago

@uprprc777 hello, The difficulty lies in my lack of good UI aesthetic sense, making it hard for me to match appealing colors. Could you provide any examples of good-looking dark mode designs for reference.

uprprc777 commented 8 months ago

Thank you for considering adding this feature!

Regarding your concern, perhaps you can take inspiration from Github's dark mode UI designs or explore some open-source web applications like hoppscotch?

I'm not sure if you're a fan of Github's dark mode but many users and developers should be OK with it? You can also visit some of your favorite websites and toggle to dark mode.