This commit is contained in:
Abhishek Paul 2025-05-02 08:45:40 +00:00 committed by GitHub
commit 79877cfee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 2 deletions

View File

@ -47,6 +47,14 @@
$is-css-var: map-get($utility, css-var);
$is-local-vars: map-get($utility, local-vars);
$is-rtl: map-get($utility, rtl);
$has-important: map-has-key($utility, important);
$is-important: $enable-important-utilities;
@if $has-important {
$is-important: map-get($utility, important);
}
@if $value != null {
@if $is-rtl == false {
@ -71,7 +79,7 @@
--#{$prefix}#{$local-var}: #{$variable};
}
}
#{$property}: $value if($enable-important-utilities, !important, null);
#{$property}: $value if($is-important, !important, null);
}
}
@ -83,7 +91,7 @@
--#{$prefix}#{$local-var}: #{$variable};
}
}
#{$property}: $value if($enable-important-utilities, !important, null);
#{$property}: $value if($is-important, !important, null);
}
}
}