jss-plugin-vendor-prefixer prefixes CSS custom properties
See original GitHub issueExpected behavior:
jss-plugin-vendor-prefixer
produces -webkit---padding-start: 0';
for --padding-start: 0
. This style should be left as is: it is not padding-start
, but --padding-start
, an Ionic Framework variable (otherwise it would be easy enough to use a different variable name to not run into this issue).
Describe the bug:
jss-plugin-vendor-prefixer
should only prefix exact matches and correctly detect when things like --padding-start
are set instead of padding-start
.
Versions:
- jss: 10.0.0-alpha.16
- Browser [e.g. chrome, safari]: Chrome
- OS [e.g. Windows, macOS]: macOS
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Custom properties (--*): CSS variables - MDN Web Docs
Property names that are prefixed with --, like --example-name, represent custom properties that contain a value that can be used in other ...
Read more >What CSS prefixes should I use?
An overview of what CSS features to prefix. ... This page has one purpose: simply show what prefixes are needed for a newer...
Read more >A Strategy Guide To CSS Custom Properties
CSS Custom Properties (sometimes known as 'CSS variables') are now ... Custom properties follow a similar conventions and use a -- prefix:.
Read more >CSS Custom Properties (vars) with SASS/SCSS, a practical ...
CSS Custom Properties (vars) with SASS/SCSS, a practical architecture strategy · $prefix: pf; :root { --#{$prefix}-primary-color: #000000; // ...
Read more >Is Vendor Prefixing Dead? - CSS-Tricks
It's a motley group! #, Name, Properties/Values, Description, Prefix required, Unprefixed support, Prefixed support, Improvement with prefixes ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kof yes, forgot to write fix version here. Fixed in
2.0.4
.I think we released the fix already