|
16 | 16 | $properties: append((), $properties);
|
17 | 17 | }
|
18 | 18 |
|
19 |
| - // Use class prefix if present |
20 |
| - $property-class-prefix: if(map-has-key($utility, prefix), map-get($utility, prefix), null); |
21 |
| - $property-class-prefix: if($property-class-prefix == null, "", $property-class-prefix); |
22 |
| - |
23 | 19 | // Use custom class if present
|
24 | 20 | $property-class: if(map-has-key($utility, class), map-get($utility, class), nth($properties, 1));
|
25 | 21 | $property-class: if($property-class == null, "", $property-class);
|
|
32 | 28 | // Don't prefix if value key is null (eg. with shadow class)
|
33 | 29 | $property-class-modifier: if($key, if($property-class == "" and $infix == "", "", "-") + $key, "");
|
34 | 30 |
|
35 |
| - // Generate also CSS Variable |
| 31 | + // Generate CSS Variable |
36 | 32 | $generate-vars: if(map-has-key($utility, vars), map-get($utility, vars), false);
|
37 | 33 | $generate-only-vars: if(map-has-key($utility, only-vars), map-get($utility, only-vars), false);
|
38 | 34 |
|
39 | 35 | // Generate RTL version
|
40 | 36 | $generate-rtl: if(map-has-key($utility, rtl), map-get($utility, rtl), false);
|
41 | 37 |
|
| 38 | + // // Add theme prefix |
| 39 | + // $theme-prefix: if(map-has-key($utility, theme-prefix), map-get($utility, theme-prefix), false); |
| 40 | + |
42 | 41 | @if map-get($utility, rfs) {
|
43 | 42 | // Inside the media query
|
44 | 43 | @if $is-rfs-media-query {
|
|
58 | 57 | @if $is-rtl == false {
|
59 | 58 | /* rtl:begin:remove */
|
60 | 59 | }
|
61 |
| - .#{$property-class-prefix + $property-class + $infix + $property-class-modifier} { |
| 60 | + |
| 61 | + .#{$property-class + $infix + $property-class-modifier} { |
62 | 62 | @each $property in $properties {
|
63 | 63 | @if $generate-vars == true or $generate-only-vars == true {
|
64 | 64 | @if $generate-only-vars {
|
|
0 commit comments