1
2
3
/**
* less global variable
*/
vben
authored
5 years ago
4
5
const primaryColor = '#0084f4';
// const primaryColor = '#018ffb';
vben
authored
5 years ago
6
// const primaryColor = '#0065cc';
7
8
9
10
11
12
13
//{
const modifyVars = {
'primary-color': primaryColor, // Global dominant color
'success-color': '#55D187', // Success color
'error-color': '#ED6F6F', // False color
'warning-color': '#EFBD47', // Warning color
'link-color': primaryColor, // Link color
vben
authored
5 years ago
14
'disabled-color': 'rgba(0, 0, 0, 0.25)', // Failure color
vben
authored
5 years ago
15
16
'heading-color': 'rgba(0, 0, 0, 0.85)', // Title color
'text-color': 'rgba(0, 0, 0, 0.85)', // Main text color
vben
authored
5 years ago
17
'text-color-secondary ': 'rgba(0, 0, 0, 0.45)', // Subtext color
18
19
'font-size-base': '14px', // Main font size
'box-shadow-base': '0 2px 8px rgba(0, 0, 0, 0.15)', // Floating shadow
vben
authored
5 years ago
20
21
'border-color-base': '#d9d9d9', // Border color,
'border-radius-base': '2px', // Component/float fillet
22
23
24
25
};
//}
export { modifyVars, primaryColor };