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

Option to import globals #46

Open
tameraydin opened this issue Jan 25, 2019 · 3 comments
Open

Option to import globals #46

tameraydin opened this issue Jan 25, 2019 · 3 comments

Comments

@tameraydin
Copy link

Hey @pascalduez , thanks for the plugin!

What do you think of introducing an option to import globals? (just like the importFrom of https://github.com/postcss/postcss-custom-properties#importfrom)

I am aware of sets which already does a similar job, but having this new option would make things even easier, as it would allow us passing global mixins files directly, without having them converted into JS objects / JSON.

I can -try to- create a PR soon - if you are ok with it.

@pascalduez
Copy link
Owner

Hi @tameraydin,

I'm not 100% against, although worried by introducing complexity.
So if your willing to do so, why not.

Important note: did you see the @apply rule and custom property sets are abandoned?
Which means it will never get implemented in any browser, at least in this form.

@conor-darcy
Copy link

@tameraydin Did you get any further on this?

@tameraydin
Copy link
Author

@conor-darcy nope, unfortunately

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

No branches or pull requests

3 participants