fix: drawer dark theme color (#49217)

This commit is contained in:
二货爱吃白萝卜 2024-06-04 16:38:15 +08:00 committed by GitHub
parent d0fd9935c6
commit f1c7bb2052
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,6 +63,7 @@ const genDrawerStyle: GenerateStyle<DrawerToken> = (token) => {
inset: 0, inset: 0,
zIndex: zIndexPopup, zIndex: zIndexPopup,
pointerEvents: 'none', pointerEvents: 'none',
color: colorText,
'&-pure': { '&-pure': {
position: 'relative', position: 'relative',
@ -210,7 +211,6 @@ const genDrawerStyle: GenerateStyle<DrawerToken> = (token) => {
[`${componentCls}-title`]: { [`${componentCls}-title`]: {
flex: 1, flex: 1,
margin: 0, margin: 0,
color: colorText,
fontWeight: token.fontWeightStrong, fontWeight: token.fontWeightStrong,
fontSize: fontSizeLG, fontSize: fontSizeLG,
lineHeight: lineHeightLG, lineHeight: lineHeightLG,