feat(web): 🎨 Unified color theme, AntV light/dark theme switching, Antd first-screen style loading. (#1020)

Co-authored-by: 黄振洪 <hzh01509324@alibaba-inc.com>
Co-authored-by: Aralhi <xiaoping0501@gmail.com>
This commit is contained in:
Hzh_97
2024-01-12 09:44:52 +08:00
committed by GitHub
parent 2706e27ae5
commit 99ea6ac1a4
99 changed files with 1125 additions and 1410 deletions

View File

@@ -17,11 +17,11 @@ export const joyTheme = extendTheme({
plainHoverColor: '#131318',
plainHoverBg: '#EBEBEF',
plainActiveBg: '#D8D8DF',
plainDisabledColor: '#B9B9C6'
plainDisabledColor: '#B9B9C6',
},
background: {
body: '#fff',
surface: '#fff'
body: '#F7F7F7',
surface: '#fff',
},
text: {
primary: '#505050',
@@ -46,15 +46,15 @@ export const joyTheme = extendTheme({
plainActiveBg: '#434356',
plainDisabledColor: '#434356',
outlinedBorder: '#353539',
outlinedHoverBorder: '#454651'
outlinedHoverBorder: '#454651',
},
text: {
primary: '#EBEBEF'
primary: '#FDFDFC',
},
background: {
body: '#212121',
body: '#151622',
surface: '#51525beb',
}
},
},
},
},
@@ -62,15 +62,7 @@ export const joyTheme = extendTheme({
body: 'Josefin Sans, sans-serif',
display: 'Josefin Sans, sans-serif',
},
typography: {
display1: {
background:
'linear-gradient(-30deg, var(--joy-palette-primary-900), var(--joy-palette-primary-400))',
WebkitBackgroundClip: 'text',
WebkitTextFillColor: 'transparent',
},
},
zIndex: {
modal: 1001
}
});
modal: 1001,
},
});