Fix table and select background colors

This commit is contained in:
Muaz Ahmad 2024-11-04 13:36:57 +05:00
parent 6d88c94e8e
commit 6c3775f142
2 changed files with 14 additions and 0 deletions

View file

@ -25,6 +25,13 @@ export const AntdTheme: FC<AntdThemeProps> = ({ children }) => {
contentBg: readCSSVar('--modal-content-bg'),
colorIcon: readCSSVar('--modal-close-color'),
},
Table: {
rowSelectedBg: readCSSVar('--primary-color-active'),
rowSelectedHoverBg: readCSSVar('--primary-color-hover'),
},
Select: {
optionSelectedBg: readCSSVar('--primary-color-active'),
},
Menu: {
itemActiveBg: readCSSVar('--primary-color-active'),
},

View file

@ -15,6 +15,13 @@ const AntdDefaultCustomTokens = {
contentBg: '#e2e8f0',
colorIcon: '#e2e8f0',
},
Table: {
rowSelectedBg: '#6544e9',
rowSelectedHoverBg: '#7a5cf3',
},
Select: {
optionSelectedBg: '#6544e9',
},
Menu: {
itemActiveBg: '#6544e9',
},