Files
test-repo/tests/scss/variables/variables.scss
T
fisker Cheung 85a2db5a0c Fix css tests (#8264)
* fix `stylefmt-repo` parser

* Fix tests

* Fix snapshots

* fix parsers
2020-05-09 07:50:34 +08:00

14 lines
227 B
SCSS

.foo {
--#{$prop}: 10px;
#{$prop}: 10px;
prop1: var(--#{$var});
prop2: var(#{$var}, --my-#{$var}, pink);
prop3: calc(var(--#{$var}) * 1px);
}
@supports (--#{$prop}: green) {
body {
color: var(--#{$var});
}
}