Commit 63458268 authored by Mark Otto's avatar Mark Otto Committed by Mark Otto
Browse files

Generate local CSS variables on utilities when using state option

parent 1b31f849
1 merge request!36500Generate local CSS variables on utilities when using state option
This commit is part of merge request !36500. Comments created here will be created in the context of that merge request.
Showing with 5 additions and 0 deletions
+5 -0
......@@ -78,6 +78,11 @@
@each $pseudo in $state {
.#{$property-class + $infix + $property-class-modifier}-#{$pseudo}:#{$pseudo} {
@each $property in $properties {
@if $is-local-vars {
@each $local-var, $variable in $is-local-vars {
--#{$prefix}#{$local-var}: #{$variable};
}
}
#{$property}: $value if($enable-important-utilities, !important, null);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment