You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,11 @@ whatever {
95
95
96
96
No we cannot do that. `currentcolor` depends on the cascade (so the DOM) and we can't handle that in a simple preprocessing step. You need to handle that with polyfills.
97
97
98
+
### Can we use CSS custom properties so we can do `color(var(--mainColor) adjuster())`?
99
+
100
+
By using [postcss-custom-properties](https://github.com/postcss/postcss-custom-properties) before this plugin, you can do that (sort of).
101
+
You have some examples in [cssnext playground](http://cssnext.github.io/cssnext-playground/).
0 commit comments