posit-dev / py-shinyswatch

Bootswatch themes for py-shiny
https://posit-dev.github.io/py-shinyswatch/
MIT License
28 stars 3 forks source link

Allow customizing of the default theme in theme_picker_ui #22

Closed Nelson-Gon closed 2 weeks ago

Nelson-Gon commented 12 months ago

Hi,

Thanks for this package, it is useful and fun to work with. I was wondering if it could be possible to allow changing of the default theme on startup for example to allow something like theme_picker_ui(selected = "zephyr")

I have looked at both the code and function help pages but cannot quite see how this is possible.

Thanks, Nelson

gadenbuie commented 2 weeks ago

Completed in #32 with follow up in #39