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

Mixins in scss/_mixins.scss make importing into CodePen hard #22012

Closed
andrewbelcher opened this issue Feb 16, 2017 · 0 comments
Closed

Mixins in scss/_mixins.scss make importing into CodePen hard #22012

andrewbelcher opened this issue Feb 16, 2017 · 0 comments

Comments

@andrewbelcher
Copy link

To demonstrate another issue, I thought I would use CodePen to write a reduced test case. CodePen can take SCSS and you can include SCSS files which get included before the code you add.

I needed to include _forms.scss which depends on a couple mixins, including mixins/_forms.scss. This depended on the box-shadow and transition mixins at the top of _mixins.scss, but as that has includes, it will fail to parse if included directly.

To make this easier, perhaps those 2 mixins should be moved to a separate file that is imported before the others, e.g. mixins/_core.scss?

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

No branches or pull requests

3 participants