inst/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.



Try the sass package in your browser

Any scripts or data that you put into this service are public.

sass documentation built on July 26, 2023, 5:08 p.m.