Comments (4)
Since YOU are passing those vars to the plugin, YOU can probably pass the same to another plugin.
from postcss-custom-properties.
That would indeed be one way of operating, but I don’t think it’s ideal. It’s better if plugins that are explicitly building on top of this—using Custom Properties syntax—can genuinely build on top of it.
This ties in (very) loosely with #60 too.
from postcss-custom-properties.
Closed based on #60. PRs welcome if someone would like different functionality.
from postcss-custom-properties.
I contend the closure mildly. There was no solution in #60, nor even a workaround—merely a declaration of what such a workaround would be (amounting to “not my problem, make a plugin of your own to inject the variables
into the stylesheet”). And that’s what this issue is all about, because the state of affairs substantially reduces the utility of the variables
option.
from postcss-custom-properties.
Related Issues (20)
- Doesn't convert variable with postcss mixin
- Non-passive change for ImportFrom Priority HOT 2
- How to watch file defined in importFrom in webpack? HOT 2
- Nested custom properties with preserve false does not work correctly HOT 1
- High severity vulnerabilities in dependencies HOT 2
- Process CSS synchronously? Plus add example to DOC.
- Emojis in property name are not working ☹️ HOT 3
- importFrom CSS string HOT 1
- Variables starting with '-' cannot be recognized HOT 1
- Webpack example seems to be incorrect HOT 2
- Error: PostCSS plugin postcss-custom-properties requires PostCSS 8. HOT 1
- Error: Error: PostCSS plugin postcss-custom-properties requires PostCSS 8. HOT 1
- Inline urls confuse the parser HOT 1
- variable '--van-gray-6' is undefined and used without a fallback
- variable '--van-gray-6' is undefined and used without a fallback HOT 1
- `importFrom` should support ESM HOT 2
- v12.0.0's env = development and preserve: false is not working. HOT 5
- CSS variables with url() lead to an `Cannot read property 'value' of undefined` HOT 2
- Import from .postcss files HOT 1
- Unknown word error when attempting to parse valid CSS HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from postcss-custom-properties.