Skip to content

Commit

Permalink
fix: Tag color in dark theme (ant-design#33751)
Browse files Browse the repository at this point in the history
* docs: update dark theme doc

* fix: dark tag theme
  • Loading branch information
afc163 authored Jan 19, 2022
1 parent 0d11475 commit 85c9625
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions components/style/themes/dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,17 @@
@table-filter-dropdown-bg: @popover-background;
@table-expand-icon-bg: transparent;

// Tag
// ---
@info-color-deprecated-bg: @primary-1;
@info-color-deprecated-border: @primary-3;
@success-color-deprecated-bg: @green-1;
@success-color-deprecated-border: @green-3;
@warning-color-deprecated-bg: @orange-1;
@warning-color-deprecated-border: @orange-3;
@error-color-deprecated-bg: @red-1;
@error-color-deprecated-border: @red-3;

// TimePicker
// ---
@picker-basic-cell-hover-with-range-color: darken(@primary-color, 35%);
Expand Down
2 changes: 2 additions & 0 deletions docs/react/contributing.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ Use `DEV_THEME` to change start theme:
DEV_THEME=dark npm start
```

Visit [http://127.0.0.1:8001/components/button-cn/?theme=dark](http://127.0.0.1:8001/components/button-cn/?theme=dark).

## Being a collaborator

If you are an active contributor and are willing to work with Ant Design Team in our opensource workflow, you can [apply to be a outside collaborator](https://github.com/ant-design/ant-design/wiki/Collaborators#how-to-apply-for-being-a-collaborator).
2 changes: 2 additions & 0 deletions docs/react/contributing.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ Ant Design 团队会关注所有的 pull request,我们会 review 以及合并
DEV_THEME=dark npm start
```

访问 [http://127.0.0.1:8001/components/button-cn/?theme=dark](http://127.0.0.1:8001/components/button-cn/?theme=dark)

## 加入社区

如果你贡献度足够活跃,希望和 Ant Design 团队一起参与维护工作,你可以[申请成为社区协作者](https://github.com/ant-design/ant-design/wiki/Collaborators#how-to-apply-for-being-a-collaborator)
Expand Down

0 comments on commit 85c9625

Please sign in to comment.