Comments (5)
As explained in the beginning of the README, this cannot be done safely.
from postcss-custom-properties.
As my understanding, this sample can be transformed safely because div
will never match :root
, and #alert
always override :root
and div
. The problem is should it useful to support such special cases.
from postcss-custom-properties.
I think too few examples can be done "safely". I prefer to get a simple limitation to root that a partial funky support.
from postcss-custom-properties.
This is a great weakness.
from postcss-custom-properties.
We can't handle that correctly.
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.