Refector sass

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2021-12-19 10:28:41 +05:30
parent 85c3240b54
commit ce9f140ddf
46 changed files with 407 additions and 703 deletions

View file

@ -0,0 +1,26 @@
/*
* NOTICE: only use this
* when sides are un-even
* if they are even just use $property: 0 $spacing;
*/
@mixin side($property, $left, $right) {
#{$property}: {
left: $left;
right: $right;
};
[dir=rtl] & {
#{$property}: {
left: $right;
right: $left;
};
}
}
@mixin prop($property, $ltr, $rtl) {
#{$property}: $ltr;
[dir=rtl] & {
#{$property}: $rtl;
}
}