51 lines
1.1 KiB
TypeScript
51 lines
1.1 KiB
TypeScript
import type { ThemeConfig } from 'antd'
|
|
|
|
export const jieyouTheme: ThemeConfig = {
|
|
token: {
|
|
colorPrimary: '#1E4D42',
|
|
colorInfo: '#3E6B7A',
|
|
colorSuccess: '#2F7D5C',
|
|
colorWarning: '#C17A2B',
|
|
colorError: '#A64332',
|
|
colorText: '#1C2521',
|
|
colorTextSecondary: '#5E6B64',
|
|
colorTextTertiary: '#8A948E',
|
|
colorBgBase: '#FFFDF8',
|
|
colorBgLayout: '#F6F2E8',
|
|
colorBorder: '#E4DED2',
|
|
borderRadius: 4,
|
|
borderRadiusLG: 8,
|
|
controlHeight: 40,
|
|
fontFamily:
|
|
'"Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif',
|
|
},
|
|
components: {
|
|
Button: {
|
|
borderRadius: 4,
|
|
primaryShadow: 'none',
|
|
defaultShadow: 'none',
|
|
},
|
|
Card: {
|
|
borderRadiusLG: 8,
|
|
boxShadowTertiary: '0 1px 2px rgba(29,36,33,.05)',
|
|
},
|
|
Table: {
|
|
headerBg: '#F6F2E8',
|
|
headerColor: '#5E6B64',
|
|
rowHoverBg: '#FBF8F1',
|
|
borderColor: '#E4DED2',
|
|
},
|
|
Menu: {
|
|
itemSelectedBg: '#E6EEE9',
|
|
itemSelectedColor: '#1E4D42',
|
|
itemHoverBg: '#F1F5F0',
|
|
},
|
|
Modal: {
|
|
borderRadiusLG: 12,
|
|
},
|
|
Drawer: {
|
|
colorBgElevated: '#FFFDF8',
|
|
},
|
|
},
|
|
}
|