Skip to content

Commit

Permalink
fix: page background in dark theme (ant-design#6346)
Browse files Browse the repository at this point in the history
* fix: page background in dark theme

* chore: remove unused stye

* fix: home page text color in dark theme

---------

Co-authored-by: Fog3211 <[email protected]>
  • Loading branch information
Fog3211 and Fog3211 authored Aug 30, 2023
1 parent fc9031c commit c4de325
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 1 addition & 3 deletions .dumi/plugin-gallery/gallery.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body {
min-height: 0;
height: 0;
overflow-y: scroll;
background: rgb(245, 247, 250);
background: var(--adm-color-background);
&::-webkit-scrollbar {
width: 4px;
}
Expand All @@ -34,7 +34,6 @@ body {
}

.guide {
background: #ffffff;
font-size: 15px;
padding: 12px;
border-bottom: solid 1px #eeeeee;
Expand All @@ -52,5 +51,4 @@ body {

.search {
padding: 12px;
background-color: #fff;
}
1 change: 1 addition & 0 deletions docs/components/components/Main/index.local.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
margin-top: 32px;

.productItemTitle {
color: rgba(0, 0, 0, 0.85);
margin-top: 24px;
font-family: PingFangSC-Medium;
font-size: 16px;
Expand Down
1 change: 1 addition & 0 deletions src/global/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ body {
color: var(--adm-color-text);
font-size: var(--adm-font-size-main);
font-family: var(--adm-font-family);
background-color: var(--adm-color-background);
}

a,
Expand Down

0 comments on commit c4de325

Please sign in to comment.