Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: Sass Support with Generators and CSS Variables #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

tomchinery
Copy link

  • Adds Sass Support using with a dependancy on (Stencil Sass)[https://www.npmjs.com/package/@stencil/sass].
  • Updated Plop Generator to prompt for Sass or CSS when generating a component
  • Updated Plop template for Sass using Variable maps converting to CSS Variables
  • Updated Documentation via Readme.md and Changelog.md
  • Bumped version to 1.4.0.

@nisheed2440 Let me know your thoughts to this, I would quite like this merged in and think it would be helpful for those of us with existing Sass libraries.

Possible improvement I'll make in a future PR is to generate a Sass globals file which adds CSS Variables to the :root scope.

},
],
});
// create your generators here
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file tab spacing seems to contradict the the prettier config i had locally. Could you add tab spaces 2 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants