|
|
|
@@ -178,25 +178,29 @@ export const antd: RuntimeAntdConfig = (memo) => { |
|
|
|
memo.theme ??= {}; |
|
|
|
memo.theme.token = { |
|
|
|
colorPrimary: themes['primaryColor'], |
|
|
|
colorPrimaryHover: themes['primaryHoverColor'], |
|
|
|
colorPrimaryActive: themes['primaryActiveColor'], |
|
|
|
colorPrimaryBg: 'rgba(81, 76, 249, 0.07)', |
|
|
|
colorSuccess: themes['successColor'], |
|
|
|
colorError: themes['errorColor'], |
|
|
|
colorWarning: themes['warningColor'], |
|
|
|
colorLink: themes['primaryColor'], |
|
|
|
colorText: themes['textColor'], |
|
|
|
fontSize: parseInt(themes['fontSize']), |
|
|
|
controlHeightLG: 46, |
|
|
|
}; |
|
|
|
memo.theme.components ??= {}; |
|
|
|
memo.theme.components.Tabs = {}; |
|
|
|
memo.theme.components.Button = { |
|
|
|
defaultBg: 'rgba(22, 100, 255, 0.06)', |
|
|
|
defaultBorderColor: 'rgba(22, 100, 255, 0.11)', |
|
|
|
defaultColor: themes['textColor'], |
|
|
|
defaultHoverBg: 'rgba(22, 100, 255, 0.06)', |
|
|
|
defaultHoverBorderColor: 'rgba(22, 100, 255, 0.5)', |
|
|
|
defaultHoverColor: '#3F7FFF', |
|
|
|
defaultActiveBg: 'rgba(22, 100, 255, 0.12)', |
|
|
|
defaultActiveBorderColor: 'rgba(22, 100, 255, 0.75)', |
|
|
|
defaultActiveColor: themes['primaryColor'], |
|
|
|
// defaultBg: 'rgba(22, 100, 255, 0.06)', |
|
|
|
// defaultBorderColor: 'rgba(22, 100, 255, 0.11)', |
|
|
|
// defaultColor: themes['textColor'], |
|
|
|
// defaultHoverBg: 'rgba(22, 100, 255, 0.06)', |
|
|
|
// defaultHoverBorderColor: 'rgba(22, 100, 255, 0.5)', |
|
|
|
// defaultHoverColor: '#3F7FFF', |
|
|
|
// defaultActiveBg: 'rgba(22, 100, 255, 0.12)', |
|
|
|
// defaultActiveBorderColor: 'rgba(22, 100, 255, 0.75)', |
|
|
|
// defaultActiveColor: themes['primaryColor'], |
|
|
|
contentFontSize: parseInt(themes['fontSize']), |
|
|
|
}; |
|
|
|
memo.theme.components.Input = { |
|
|
|
|