We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The documentation gives this example ( https://github.com/css-modules/css-modules#composing-from-global-class-names ):
.otherClassName { composes: globalClassName from global; }
...but the syntax supported by postcss-modules-scope is in fact:
postcss-modules-scope
.otherClassName { composes: global(globalClassName); }
...as I discovered in the code:
postcss-modules-scope/src/index.js
Line 218 in fd4ffce
So, should this be documented somewhere?
Thanks for this piece of software though, keep up the good work! :)
The text was updated successfully, but these errors were encountered:
PS: I am using this handy "wrapper" https://github.com/sgtpep/csstag
Sorry, something went wrong.
Thanks for finding out! This has been bugging me for weeks. The documentation should really reflect this somewhere.
Expected, because https://github.com/css-modules/postcss-modules-extract-imports/ converts globalClassName from global to global(globalClassName) for internal purposes
globalClassName from global
global(globalClassName)
No branches or pull requests
The documentation gives this example ( https://github.com/css-modules/css-modules#composing-from-global-class-names ):
...but the syntax supported by
postcss-modules-scope
is in fact:...as I discovered in the code:
postcss-modules-scope/src/index.js
Line 218 in fd4ffce
So, should this be documented somewhere?
Thanks for this piece of software though, keep up the good work! :)
The text was updated successfully, but these errors were encountered: