-
Notifications
You must be signed in to change notification settings - Fork 0
/
craco.config.js
29 lines (27 loc) · 933 Bytes
/
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
// Don't open the browser during development
// Any changes made here need browser reload
process.env.BROWSER = "none";
const CracoLessPlugin = require('craco-less');
module.exports = {
plugins: [
{
plugin: CracoLessPlugin,
options: {
lessLoaderOptions: {
lessOptions: {
modifyVars: {
'@primary-color': '#3c6e71',
'@heading-color': 'white',
'@body-background': '#284B63',
'@text-color': 'white',
'@input-color': 'black',
'@form-item-label-font-size': '1.15em',
'@label-color': 'black',
},
javascriptEnabled: true,
},
},
},
},
],
};