This commit is contained in:
张成
2025-08-25 15:57:54 +08:00
parent 1ad48b234c
commit 3ed48736b6
19 changed files with 4233 additions and 2097 deletions

View File

@@ -88,6 +88,27 @@ module.exports = {
})
]
}
},
// LESS 配置
less: {
lessOptions: {
javascriptEnabled: true,
modifyVars: {
// 可以在这里定义全局LESS变量
'@primary-color': '#3498db',
'@success-color': '#52c41a',
'@warning-color': '#faad14',
'@error-color': '#f5222d',
'@font-size-base': '14px',
'@heading-color': '#262626',
'@text-color': '#595959',
'@text-color-secondary': '#8c8c8c',
'@disabled-color': '#bfbfbf',
'@border-radius-base': '4px',
'@border-color-base': '#d9d9d9',
'@box-shadow-base': '0 2px 8px rgba(0, 0, 0, 0.15)'
}
}
}
}
},