Skip to content

Commit 0510c49

Browse files
committed
refactor: update utilities generator
1 parent 4d0ced9 commit 0510c49

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

scss/mixins/_utilities.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@
2828
// Don't prefix if value key is null (eg. with shadow class)
2929
$property-class-modifier: if($key, if($property-class == "" and $infix == "", "", "-") + $key, "");
3030

31-
// Generate CSS Variable
32-
$generate-vars: if(map-has-key($utility, vars), map-get($utility, vars), false);
33-
$generate-only-vars: if(map-has-key($utility, only-vars), map-get($utility, only-vars), false);
34-
3531
// Generate RTL version
3632
$generate-rtl: if(map-has-key($utility, rtl), map-get($utility, rtl), false);
3733

@@ -62,7 +58,6 @@
6258
$selector: if($theme-prefix, theme-prefix("#{$property-class + $infix + $property-class-modifier}"), ".#{$property-class + $infix + $property-class-modifier}");
6359

6460
@if $is-css-var {
65-
// .#{$property-class + $infix + $property-class-modifier} {
6661
#{$selector} {
6762
--#{$variable-prefix}#{$property-class}: #{$value};
6863
}
@@ -74,7 +69,6 @@
7469
}
7570
} @else {
7671
#{$selector} {
77-
// .#{$property-class + $infix + $property-class-modifier} {
7872
@each $property in $properties {
7973
@if $is-local-vars {
8074
@each $local-var, $value in $is-local-vars {

0 commit comments

Comments
 (0)