Skip to content

Commit

Permalink
stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
bearyan committed Feb 17, 2020
1 parent 3c31caa commit 7965261
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/style/base/theme/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
}
}

.setColor(@rule) {
.setColor(@rule[var], @rule[light], @rule[dark]);
}

.setColor(@var, @color) {
.setColor(@var, @color, @color);
}
Expand All @@ -25,8 +21,8 @@
._setColor({
@{var}: @light;
}, {
@{var}: @dark;
});
@{var}: @dark;
});
}
._setColor(@lightRule, @darkRule) {
body {
Expand Down
1 change: 1 addition & 0 deletions src/style/widget/weui-picker/weui-picker.less
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
.dark({
background-image: linear-gradient(180deg, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6)), linear-gradient(0deg, rgba(35, 35, 35, 0.95), rgba(35, 35, 35, 0.6));
});

background-position: top, bottom;
background-size: 100% 92px;
background-repeat: no-repeat;
Expand Down

0 comments on commit 7965261

Please sign in to comment.