style: set theme token
This commit is contained in:
+5
-6
@@ -2,7 +2,6 @@ import { defineConfig } from '@umijs/max';
|
||||
import keepAlive from './keep-alive';
|
||||
import proxy from './proxy';
|
||||
import routes from './routes';
|
||||
import theme from './theme';
|
||||
import { getBranchInfo } from './utils';
|
||||
const CompressionWebpackPlugin = require('compression-webpack-plugin');
|
||||
|
||||
@@ -80,11 +79,11 @@ export default defineConfig({
|
||||
presets: ['umi-presets-pro'],
|
||||
clickToComponent: {},
|
||||
antd: {
|
||||
style: 'less',
|
||||
configProvider: {
|
||||
componentSize: 'large',
|
||||
theme
|
||||
}
|
||||
style: 'less'
|
||||
// configProvider: {
|
||||
// componentSize: 'large',
|
||||
// theme
|
||||
// }
|
||||
},
|
||||
hash: true,
|
||||
access: {},
|
||||
|
||||
+3
-3
@@ -4,10 +4,10 @@ export default {
|
||||
hashed: false,
|
||||
components: {
|
||||
Input: {
|
||||
inputFontSize: 12
|
||||
inputFontSize: 14
|
||||
},
|
||||
Table: {
|
||||
cellFontSize: 12,
|
||||
cellFontSize: 14,
|
||||
rowSelectedHoverBg: 'rgb(249 249 249)',
|
||||
rowHoverBg: 'rgb(249 249 249)',
|
||||
rowSelectedBg: 'transparent'
|
||||
@@ -57,7 +57,7 @@ export default {
|
||||
colorSuccess: '#54cc98',
|
||||
borderRadius: 4,
|
||||
borderRadiusSM: 2,
|
||||
fontSize: 12,
|
||||
fontSize: 14,
|
||||
motion: true
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user