Neha / AMA

AMA - Ask me anything
10 stars 2 forks source link

want to create theme options using scss #19

Open ashishmangla0 opened 5 years ago

ashishmangla0 commented 5 years ago

Hello Neha, hope you are fine, first of all, thanks for sharing "Netlify" with us, it's just amazing. I m having a question regarding SCSS, I just want to create a set of themes using SCSS for example "theme-base" and "theme-red" and themes have the same components but their colors should change according to theme

Neha commented 5 years ago

Thank you @ashishmangla0 for reaching out.

For themes in SASS: 1) Make sure all the colors values are assigned as SASS variables. 2) The default theme's color will be in the style.css. 3) Create red.scss now you can variables in step 1 will be assigned with this theme's color When changing theme red.scss will be called.

Thank you.

ashishmangla0 commented 5 years ago

can I send you my repository code?