jbms / sphinx-immaterial

Adaptation of the popular mkdocs-material material design theme to the sphinx documentation system
https://jbms.github.io/sphinx-immaterial/
Other
177 stars 28 forks source link

allow user-interactive color changes in customization doc #256

Closed 2bndy5 closed 1 year ago

2bndy5 commented 1 year ago

I revised the list of color scheme, primary and accent options, so users can click on the "badge" (actually a styled inline literal) to dynamically test the supported values. The corresponding example code-block's content is also dynamically adjusted accordingly. Similar to upstream's doc, the color changes do not persist after page (re)load.