mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-10 21:39:33 +00:00
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:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user