creativetimofficial / ct-impact-design-system-pro

Impact Design System PRO
https://demos.creative-tim.com/impact-design-system-pro/
3 stars 2 forks source link

[Feature Request] Set JS vars from SASS #11

Open smaddock opened 4 years ago

smaddock commented 4 years ago

What is your enhancement?

Currently variables like colors are defined separately in src/dashboard/scss/custom/_variables.scss and src/dashboard/assets/js/dashboard.js. It would be preferable to have them defined once in SASS and use something like https://github.com/wisercoder/gulp-sass-vars-to-js to set them in JS.

zoltanszogyenyi commented 3 years ago

Hey @smaddock,

We thought of such a feature as well 👍

Thanks for the library. I'll take it into account and probably even use it for other themes as well.