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
However, currently, the dark mode site looks terrible because of the Bootstrap and Ace Editor CSS rules. I believe that the simple solution is to move the Bootstrap rules to be before anything else. However, I'm not sure there's an easy solution when it comes to the Ace Editor stuff (I was never happy with having to use Ace, but whatever). Someone probably needs to play with it and add custom scheme rules instead of just using the just-the-doc's default dark theme, to change how Ace looks.
The text was updated successfully, but these errors were encountered:
Students are requesting a dark mode, so I spent a little time looking into it.
The
just-the-docs
theme we are using DOES have a switchable dark mode. In theory, you'd just want to add some code like this:And then have a button somewhere hovering around that would run:
However, currently, the dark mode site looks terrible because of the Bootstrap and Ace Editor CSS rules. I believe that the simple solution is to move the Bootstrap rules to be before anything else. However, I'm not sure there's an easy solution when it comes to the Ace Editor stuff (I was never happy with having to use Ace, but whatever). Someone probably needs to play with it and add custom scheme rules instead of just using the
just-the-doc
's default dark theme, to change how Ace looks.The text was updated successfully, but these errors were encountered: