sass / ruby-sass

The original, now deprecated Ruby implementation of Sass
https://sass-lang.com
MIT License
183 stars 38 forks source link

Change SASS vars on button press #83

Closed ghost closed 6 years ago

ghost commented 6 years ago

Back in the olden days when AOKP still used to be a thing with Android modders I visited aokp.co and they had a button to switch the color accents around completely. So, you press the button and shall we say everything that is black changes to pink.

Now I have an awesome Jekyll site located here and a feeble attempt to implement this functionality here. I do understand that Jekyll uses SASS and I created a partial for storing site-wide variables and now I am wondering how I can make a button that changes those site-wide variables defined in the vars partial without changing every single element's color in my javascript file. Any suggestions? If the question is not entirely clear, please say so.

ghost commented 6 years ago

And any input will be greatly appreciated of course!

nex3 commented 6 years ago

This is a great question for the Sass StackOverflow community! We try to keep this issue tracker focused on bugs and feature requests that need the core team's attention in particular, while requests for support are usually better handled by the community at large.

ghost commented 6 years ago

@nex3 Yes but I got thrown out from SO because some people apparently take pleasure in making other people's lives hell! ;)