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
Hellooo! I was updating my MyST website with the book theme enabled and noticed that the scrollbar of the expanded navigation menu on the left side was distractingly visible, especially in dark mode.
Before:
before-scrollbar.mp4
I propose to update the navigation scrollbar to a dark theme when switching to dark mode.
Happy to make a pr, but need some pointers on where to start because the light/dark mode theme switcher looks a little more complicated to contribute to at first glance.
@jnywong yeah, if you're needing to change the DOM according to the theme, it is fiddly. But if it's just CSS changes, then you can use tailwind dark: selector to set a style that only applies for dark themes.
I can definitely provide some pointers - will take a peek tomorrow.
Proposal
Hellooo! I was updating my MyST website with the book theme enabled and noticed that the scrollbar of the expanded navigation menu on the left side was distractingly visible, especially in dark mode.
Before:
before-scrollbar.mp4
I propose to update the navigation scrollbar to a dark theme when switching to dark mode.
Additional notes
See PR jupyter-book/myst-theme#502.
The text was updated successfully, but these errors were encountered: