Skip to content

Commit d6da33b

Browse files
committed
14. Customize antd
1 parent 91e613b commit d6da33b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.roadhogrc

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
"entry": "src/index.js",
33
"disableCSSModules": false,
44
"publicPath": "/",
5+
"theme": {
6+
"@primary-color": "#1DA57A",
7+
"@link-color": "#1DA57A",
8+
"@border-radius-base": "2px",
9+
"@font-size-base": "16px",
10+
"@line-height-base": "1.2"
11+
},
512
"autoprefixer": null,
613
"proxy": {
714
"/api": {
@@ -12,7 +19,7 @@
1219
},
1320
"extraBabelPlugins": [
1421
"transform-runtime",
15-
["import", { "libraryName": "antd", "style": "css" }]
22+
["import", { "libraryName": "antd", "style": true }]
1623
],
1724
"env": {
1825
"development": {

0 commit comments

Comments
 (0)