Skip to content

Commit 7bbf78a

Browse files
committed
fix: add RTL color utilities for borders
1 parent 0cb7276 commit 7bbf78a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

scss/mixins/_utilities.scss

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,20 @@
6262
@each $property in $properties {
6363
@if $generate-vars == true or $generate-only-vars == true {
6464
@if $generate-only-vars {
65-
#{$property}: var(--#{$variable-prefix}#{$key}) if($enable-important-utilities, !important, null);
65+
@if $generate-rtl == true {
66+
@include ltr-rtl($property, var(--#{$variable-prefix}#{$key}), null, null, if($enable-important-utilities, !important, null));
67+
}
68+
@else {
69+
#{$property}: var(--#{$variable-prefix}#{$key}) if($enable-important-utilities, !important, null);
70+
}
6671
}
6772
@else {
68-
#{$property}: var(--#{$variable-prefix}#{$key}, $value) if($enable-important-utilities, !important, null);
73+
@if $generate-rtl == true {
74+
@include ltr-rtl($property, var(--#{$variable-prefix}#{$key}, $value), null, null, if($enable-important-utilities, !important, null));
75+
}
76+
@else {
77+
#{$property}: var(--#{$variable-prefix}#{$key}, $value) if($enable-important-utilities, !important, null);
78+
}
6979
}
7080
}
7181
@else {

0 commit comments

Comments
 (0)