vue-vben-admin/build/config/lessModifyVars.ts

30 lines
1.1 KiB
TypeScript
Raw Normal View History

2020-09-28 20:19:10 +08:00
/**
* less global variable
*/
const primaryColor = '#018ffb';
// const primaryColor = '#0065cc';
2020-09-28 20:19:10 +08:00
//{
const modifyVars = {
'primary-color': primaryColor, // Global dominant color
'info-color': primaryColor, // Default color
'success-color': '#55D187', // Success color
'error-color': '#ED6F6F', // False color
'warning-color': '#EFBD47', // Warning color
'link-color': primaryColor, // Link color
'disabled-color': '#C2C2CC', // Failure color
2020-11-17 22:28:32 +08:00
'heading-color': 'rgba(0, 0, 0, 0.85)', // Title color
'text-color': 'rgba(0, 0, 0, 0.85)', // Main text color
// 'heading-color': '#2C3A61', // Title color
// 'text-color': '#2C3A61', // Main text color
2020-09-28 20:19:10 +08:00
'text-color-secondary ': '#606266', // Subtext color
2021-01-06 23:19:55 +08:00
'background-color-base': '#f4f7f9', // background color
2020-09-28 20:19:10 +08:00
'font-size-base': '14px', // Main font size
'box-shadow-base': '0 2px 8px rgba(0, 0, 0, 0.15)', // Floating shadow
2020-11-03 22:26:26 +08:00
'border-color-base': '#F0F0F0', // Border color,
'border-color-split': '#F0F0F0', // Border color,
2021-01-06 23:19:55 +08:00
'border-radius-base': '4px', // Component/float fillet
2020-09-28 20:19:10 +08:00
};
//}
export { modifyVars, primaryColor };