Comments (2)
I'm happy to open a PR for this, but it would be a breaking change as a lot of existing tests assume quotes will be included in the variable substitution (e.g. when used with content
properties), and consumers are likely to be relying on this behaviour.
from postcss-advanced-variables.
If you are wrapping a variable in quotes, I would expect you want it in quotes. If you want variables not resolve with quotes in selectors unless they are the value of an attribute selector, Iād be willing to review it.
from postcss-advanced-variables.
Related Issues (20)
- Mixins: RGB and HSL (and variant) color values break when passed to mixin HOT 1
- Mixins: CSS variables break when passed to mixin HOT 2
- Mixins: Inconsistent errors when not passing required params
- Could not resolve the variable within mixin HOT 2
- Add support for @function?
- Handling multi-levels variables? HOT 3
- Can't resolve #{} in webpack postcss plugin HOT 8
- Publish release HOT 3
- TypeError: Cannot read property 'toLowerCase' of undefined HOT 1
- Move postcss to peerDependencies
- Update to use PostCSS v8 HOT 1
- @each don't work properly. HOT 1
- Global declarations HOT 2
- Could not resolve variable $c within #{$c}__label{ ... } HOT 1
- Suggestion for a new feature: Read-Only Variables to Overide other Variables HOT 2
- Could not resolve the variable "$pad" within "calc(100% - $pad * 2)" HOT 1
- Publish to npm HOT 6
- Loading global mixins and variables from file HOT 1
- Variable property name
- Not evaluating number when passing variables
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-advanced-variables.