Skip to content

Commit 0f50ce7

Browse files
committed
style:修复主题颜色问题
1 parent 86dc991 commit 0f50ce7

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"togglefullscreen",
4646
"umijs",
4747
"umirc",
48+
"uuidv",
4849
"VIEWCOLUMN",
4950
"VIEWCOLUMNS",
5051
"wechat",

chat2db-client/src/theme/background/darkDimmed.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const antdPrimaryColor: IAntdPrimaryColor = {
3535
};
3636

3737
const antdLightTheme = {
38-
algorithm: [theme.defaultAlgorithm, theme.compactAlgorithm],
38+
algorithm: [theme.darkAlgorithm, theme.compactAlgorithm],
3939
customName: 'dark-dimmed',
4040
antdPrimaryColor,
4141
token: {
@@ -47,6 +47,7 @@ const antdLightTheme = {
4747
colorBgElevated: 'rgb(34, 39, 46)',
4848
colorBorder: 'rgb(68, 76, 86)',
4949
colorBorderSecondary: 'rgba(55, 62, 71, 0.4)',
50+
controlItemBgActive: 'rgba(241, 241, 244, 0.08);',
5051
// ...commonToken,
5152
// colorText: "rgb(241, 241, 244)",
5253
// colorBgBase: '#191a23',

0 commit comments

Comments
 (0)