-
Hi - is it possible to overwrite for light/dark mode the background-color of the sidebar-scroll ? Now I do directly on the css but only for light .sidebar-scroll p.caption{
background-color: #4d59ff;
} see results (I would like to make the dark less colorful) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The default styling doesn't have any background on the caption and the sidebar has a "fun" padding story (which is thanks to the scrollbars on various platforms) -- anyway, that's why there's no CSS variables provided for it and also why I don't intend to provide any.
Yes, you can write your own CSS that does this FWIW; modelled after how Furo handles it's own CSS declarations: furo/src/furo/theme/furo/partials/_head_css_variables.html Lines 14 to 26 in 5cdb35c The caveats in https://pradyunsg.me/furo/stability/#undocumented-unstable-customisations will apply though -- I won't actively try to break this, but I also don't promise that it won't break. :) |
Beta Was this translation helpful? Give feedback.
The default styling doesn't have any background on the caption and the sidebar has a "fun" padding story (which is thanks to the scrollbars on various platforms) -- anyway, that's why there's no CSS variables provided for it and also why I don't intend to provide any.
Yes, you can write your own CSS that does this FWIW; modelled after how Furo handles it's own CSS declarations:
furo/src/furo/theme/furo/partials/_head_css_variables.html
Lines 14 to 26 in 5cdb35c