Skip to content

[FEATURE] Dark/Light mode toggle #1127

Closed

Description

@clicktodev
Overview of the feature

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.

Related issues

Activity

  1. added this to the 1.1.16 milestone on Oct 12, 2021
  2. vogloblinsky commented on Oct 12, 2021

    @vogloblinsky
    Contributor

    @hichemfantar Which other use-case did you find "terrible" ?

  3. clicktodev commented on Oct 12, 2021

    @clicktodev
    Author

    @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.

  4. vogloblinsky commented on Oct 14, 2021

    @vogloblinsky
    Contributor

    compodoc-dark-mode-toggle

    @hichemfantar ok for you ?

  5. clicktodev commented on Oct 14, 2021

    @clicktodev
    Author

    Toggle looks perfect but wouldn't it disappear with the --hideGenerator flag?

  6. vogloblinsky commented on Oct 14, 2021

    @vogloblinsky
    Contributor

    wouldn't it disappear with the --hideGenerator flag?

    No always present.

  7. clicktodev commented on Oct 14, 2021

    @clicktodev
    Author

    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?

  8. vogloblinsky commented on Oct 14, 2021

    @vogloblinsky
    Contributor

    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

  9. clicktodev commented on Oct 14, 2021

    @clicktodev
    Author

    Top-right corner sounds like a good position.

  10. vogloblinsky commented on Oct 15, 2021

    @vogloblinsky
    Contributor

    127 0 0 1_8080_(iPad)

    Flag added to disable it --hideDarkModeToggle

  11. added a commit that references this issue on Jul 15, 2024
    97d2763
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions