You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forcing the website to use the operating system's theme isn't very nice especially considering that the dark mode still needs some work before it's comfortable for the eyes.
Motivation for or Use Case
Dark mode looks terrible for me, the white text on the dark background is very uncomfortable for the eyes.
Edit: My system theme is dark but I like to use light mode in websites, without the ability to change manually I'm stuck with whatever theme the os is using.
@hichemfantar Which other use-case did you find "terrible" ?
Not necessarily terrible, I guess I've been too harsh on the dark mode. Maybe I was having a bad day when I posted this.
It's decent but I definitely feel like it could be improved.
I totally appreciate the effort that went into making it but I would like the option to be able to change it.
One use case I forgot to mention, I'm using windows in dark mode, all the time, because its light mode is uncomfortable and unfortunately compodoc uses the system theme, which means I'm stuck with dark mode all the time.
Dark background with white text is uncomfortable when the surrounding environment is day time.
Alright, One more thing, Does the user have to scroll all the way down when the navigation bar is bigger than the screen height?
Or is the toggle separated from the nav menu?
Alright, One more thing, Does the user have to scroll all the way down when the navigation bar is bigger than the screen height? Or is the toggle separated from the nav menu?
Hum, no the user has to scroll. The other option is to put it on the top-right corner, in sticky position
Activity
vogloblinsky commentedon Oct 12, 2021
@hichemfantar Which other use-case did you find "terrible" ?
clicktodev commentedon Oct 12, 2021
Not necessarily terrible, I guess I've been too harsh on the dark mode. Maybe I was having a bad day when I posted this.
It's decent but I definitely feel like it could be improved.
I totally appreciate the effort that went into making it but I would like the option to be able to change it.
One use case I forgot to mention, I'm using windows in dark mode, all the time, because its light mode is uncomfortable and unfortunately compodoc uses the system theme, which means I'm stuck with dark mode all the time.
Dark background with white text is uncomfortable when the surrounding environment is day time.
vogloblinsky commentedon Oct 14, 2021
@hichemfantar ok for you ?
clicktodev commentedon Oct 14, 2021
Toggle looks perfect but wouldn't it disappear with the --hideGenerator flag?
vogloblinsky commentedon Oct 14, 2021
No always present.
clicktodev commentedon Oct 14, 2021
Alright, One more thing, Does the user have to scroll all the way down when the navigation bar is bigger than the screen height?
Or is the toggle separated from the nav menu?
vogloblinsky commentedon Oct 14, 2021
Hum, no the user has to scroll. The other option is to put it on the top-right corner, in sticky position
clicktodev commentedon Oct 14, 2021
Top-right corner sounds like a good position.
vogloblinsky commentedon Oct 15, 2021
Flag added to disable it --hideDarkModeToggle
feat(app): dark mode toggle button