revdep/library.noindex/baker/new/sass/sass-theme/README.md

This self contained example shows how to use the sass R package to generate CSS for multiple themes and dynamically create colors based off of an original theme color. If a Shiny button is clicked, the javascript event is captured and the theme color is updated within the browser. A Shiny server event is triggered in addition to changing the theme within browser.

Original article and demo by Hugo Giraudel.



zhenkewu/baker documentation built on May 6, 2024, 11:19 p.m.