Skip to content

Commit

Permalink
Merge pull request #855 from Tencent/develop
Browse files Browse the repository at this point in the history
feat: WeUI v2.4.0 升级darkmode色板
  • Loading branch information
BearJ authored Jun 17, 2020
2 parents f8ba881 + bb054ab commit 2a99a08
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 37 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### v2.4.0 (2020-06-17)

#### Features
* feat: 升级色板配色


### v2.3.0 (2020-03-04)

#### Features
Expand Down
39 changes: 15 additions & 24 deletions dist/style/weui.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/style/weui.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weui",
"version": "2.3.0",
"version": "2.4.0",
"description": "A UI library by WeChat official design team, includes the most useful widgets/modules in mobile web applications.",
"keywords": [
"weui",
Expand Down
12 changes: 6 additions & 6 deletions src/style/base/theme/vars/dark.less
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.varsDark() {
--weui-BG-0: #191919;
--weui-BG-1: #1f1f1f;
--weui-BG-2: #232323;
--weui-BG-3: #2f2f2f;
--weui-BG-4: #606060;
--weui-BG-0: #111111;
--weui-BG-1: #1e1e1e;
--weui-BG-2: #191919;
--weui-BG-3: #202020;
--weui-BG-4: #404040;
--weui-BG-5: #2c2c2c;
--weui-FG-0: rgba(255, 255, 255, 0.8);
--weui-FG-HALF: rgba(255, 255, 255, 0.6);
Expand All @@ -14,7 +14,7 @@
--weui-ORANGE: #c87d2f;
--weui-YELLOW: #cc9c00;
--weui-GREEN: #74a800;
--weui-LIGHTGREEN: #28b561;
--weui-LIGHTGREEN: #3eb575;
--weui-BRAND: #07c160;
--weui-BLUE: #10aeff;
--weui-INDIGO: #1196ff;
Expand Down
5 changes: 1 addition & 4 deletions src/style/widget/weui-tips/weui-toast.less
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,7 @@
flex-direction: column;
align-items: center;
justify-content: center;
background-color: #4c4c4c;
.dark({
background-color: #606060;
});
background-color: var(--weui-BG-4);
}
.weui-icon_toast {
display: block;
Expand Down

0 comments on commit 2a99a08

Please sign in to comment.