-
Notifications
You must be signed in to change notification settings - Fork 3
/
craco.config.js
executable file
·52 lines (44 loc) · 1.37 KB
/
craco.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
const CracoLessPlugin = require('craco-less');
module.exports = {
plugins: [
{
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
lessOptions: {
modifyVars: {
'@primary-color': '#00FFB9',
'@normal-color': '#F2F2FA',
'@white': '#FFFFFF',
'@black': '#141033',
'@text-color': '#141033',
'@text-color-secondary': 'fade(@black, 85%)',
'@heading-color': '#141033',
'@text-color-dark': '#FFFFFF',
'@text-color-secondary-dark': 'fade(@white, 85%)',
'@avatar-bg': '#F2F2FA',
'@avatar-color': '#141033',
'@btn-primary-color': '#141033',
'@btn-primary-bg': '#00FFB9',
'@btn-danger-color': '#141033',
'@btn-danger-bg': '#FF006C',
'@btn-danger-border': '#FF006C',
'@btn-font-weight': 'bold',
'@body-background': '#FFFFFF',
'@modal-header-border-color-split': '#FFFFFF',
'@modal-close-color': '#141033',
'@modal-footer-border-color-split': '#FFFFFF',
'@modal-footer-padding-vertical': '24px',
'@modal-footer-padding-horizontal': '24px',
'@font-family': 'Helvetica, Arial, sans-serif',
'@font-size-base': '16px',
'@font-size-sm': '14px',
'@border-radius-base': '16px',
},
javascriptEnabled: true,
},
},
},
},
],
};