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
I prefer dark mode in mkdocs-material, and going to the print site page, it will switch to light mode (for printing purposes). I do this using javascript.
This enables switching the color theme from dark to white only at the moment is it needed, keeping the print page in the nice dark theme as well, and in effect hiding this color theme switch from users.
The text was updated successfully, but these errors were encountered:
I prefer dark mode in mkdocs-material, and going to the print site page, it will switch to light mode (for printing purposes). I do this using javascript.
It looks like you can run bits of javascript only when printing: https://stackoverflow.com/a/11060206/5525118
This enables switching the color theme from dark to white only at the moment is it needed, keeping the print page in the nice dark theme as well, and in effect hiding this color theme switch from users.
The text was updated successfully, but these errors were encountered: