Open MarcSkovMadsen opened 1 year ago
+1 for this. At the moment my work around is setting global css.
hex_color="#183b8a"
accent_css = ":root { --design-primary-color:" + f"{hex_color}" + "}"
pn.config.global_css = [accent_css]
But according to the documentation that is discouraged if I am not mistaken?
I would like to change the value of
--panel-primary-color
generally for the Bootstrap design in an app.I was looking to https://pyviz-dev.github.io/panel/how_to/styling/apply_css.html for a description. But it contains only information on styling specific components. Not the default template or all components.