-
Notifications
You must be signed in to change notification settings - Fork 1
/
craco.config.js
65 lines (53 loc) 路 2.18 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
53
54
55
56
57
58
59
60
61
62
63
64
65
const CracoAntDesignPlugin = require("craco-antd");
module.exports = {
plugins: [
{
plugin: CracoAntDesignPlugin,
options: {
customizeTheme: {
"@primary-color": "#8445BC",
"@font-family": "'Open Sans', sans-serif",
"@border-radius-base": "4px",
// "@body-background": "#0E1117",
// "@component-background": "#0E1117",
// "@layout-body-background": "#0E1117",
// "@layout-header-background": "blue",
// "@text-color": "white",
// "@text-color-secondary": "#666672",
// "@table-header-bg": "transparent",
// "@table-body-sort-bg": "#0E1117",
// "@table-row-hover-bg": "#161b22",
// "@table-header-cell-split-color": "rgb(33, 38, 45)",
// "@table-expanded-row-bg": "transparent",
// "@heading-color": "white",
// "@modal-content-bg": "#0E1117",
// "@modal-header-bg": "#0E1117",
// "@border-color-base": "rgb(33, 38, 45)",
// "@border-color-split": "rgb(33, 38, 45)",
"@alert-success-bg-color": "#C1E0C5",
"@alert-success-border-color": "#4BA46D",
// "@alert-info-bg-color": "#111b26",
// "@alert-info-border-color": "#153450",
"@alert-error-bg-color": "#F9C6C6",
"@alert-error-border-color": "#DC3D43",
// "@input-placeholder-color": "transparent",
// "@input-number-handler-active-bg": "#161b22",
// "@select-selection-item-bg": "#161b22",
// "@select-item-hover-bg": "#161b22",
// "@select-item-selected-bg": "#12171d",
// "@select-item-active-bg": "#12171d",
// "@icon-color": "rgb(102, 102, 114)",
// "@icon-color-hover": "#939399",
// "@btn-primary-color": "#0d1117",
// "@btn-primary-bg": "#6643fe",
// "@btn-disable-color": "#666672",
// "@btn-disable-bg": "#21262e",
// "@menu-item-active-bg": "#30363d",
// "@menu-item-color": "rgb(240, 246, 252)",
// "@menu-item-active-border-width": "0px",
// "@menu-highlight-color": "rgb(240, 246, 252)",
},
},
},
],
};