Skip to content

Commit

Permalink
fix: blank to gen
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Jun 7, 2023
1 parent 04e0913 commit 2294333
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/basic/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ $wsui-generators-options: (
line-height: "lh-",
height-line-height: "hlh-",
line: "line-",
space: "sp-",
blank: "blank-",
width-w1: "w1-",
width-wp: "wp-",
) !default;

%space {
%blank {
display: block;
font-size: 0;
overflow: hidden;
Expand Down
8 changes: 4 additions & 4 deletions src/modules/space.scss → src/modules/blank.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*space Start*/
@mixin generator-space($list, $rem: px) {
/* blank Start*/
@mixin generator-blank($list, $rem: px) {
$global-prefix: map-get(
$map: $wsui-generators-options,
$key: global,
Expand All @@ -15,9 +15,9 @@
@each $i in $list {
&#{$i} {
height: rem($i, $rem);
@extend %space;
@extend %blank;
}
}
}
}
/*space End*/
/* blank End*/

0 comments on commit 2294333

Please sign in to comment.