Skip to content

Commit 0a82c07

Browse files
committed
build
1 parent eb6c517 commit 0a82c07

2 files changed

Lines changed: 9 additions & 7 deletions

File tree

chat2db-client/src/styles/antd.less

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
:root {
22
:global {
3+
// 覆盖antd 的一些样式
4+
button {
5+
box-shadow: none !important;
6+
}
7+
38
// There is some animation when switching the theme color causing a delay in switching background
49
.ant-input,
510
.ant-input-password {

chat2db-client/src/styles/global.less

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ body {
1313
color: var(--color-text);
1414
font-size: var(--font-size);
1515
background-color: var(--color-bg-base);
16-
font-family: 'HarmonyOS_Sans';
16+
font-family: 'HarmonyOS_Sans', 'Segoe UI', 'SF Pro Display', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu,
17+
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif, 'HarmonyOS Sans SC', 'PingFang SC', 'Hiragino Sans GB',
18+
'Microsoft Yahei UI', 'Microsoft Yahei', 'Source Han Sans CN', sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol',
19+
'Apple Color Emoji', 'Twemoji Mozilla', 'Noto Color Emoji', 'Android Emoji';
1720
}
1821

1922
// 修改账号密码自动回填后input背景变色问题
@@ -145,9 +148,3 @@ ol,
145148
li {
146149
list-style: none;
147150
}
148-
149-
// 覆盖antd 的一些样式
150-
151-
button {
152-
box-shadow: none !important;
153-
}

0 commit comments

Comments
 (0)