style: set theme token

This commit is contained in:
jialin
2025-03-27 18:32:44 +08:00
parent 8d444f24f8
commit db417e6a5f
22 changed files with 142 additions and 102 deletions
+5 -6
View File
@@ -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
View File
@@ -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
}
};