Browse Source

fix: Tag color in dark theme (#33751)

* docs: update dark theme doc

* fix: dark tag theme
pull/33771/head
afc163 3 years ago
committed by GitHub
parent
commit
85c96251d3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      components/style/themes/dark.less
  2. 2
      docs/react/contributing.en-US.md
  3. 2
      docs/react/contributing.zh-CN.md

11
components/style/themes/dark.less

@ -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%);

2
docs/react/contributing.en-US.md

@ -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
docs/react/contributing.zh-CN.md

@ -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)。

Loading…
Cancel
Save