update doc (#16545)

This commit is contained in:
zombieJ 2019-05-13 10:59:07 +08:00 committed by GitHub
parent b92020ca48
commit 1198fb60ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1 @@
@import './default.less';
@ant-theme-file: ~'./override.less';
@import '@{ant-theme-file}';

View File

@ -1 +0,0 @@
// Placeholder, it's used for user to customize the theme variable by less file.

View File

@ -56,7 +56,7 @@ module.exports = {
+ 'link-color': '#1DA57A',
+ 'border-radius-base': '2px',
+ // or
+ 'ant-theme-file': "~'your-less-file-path.less'", // Override with less file
+ 'hack': `true; @import "your-less-file-path.less";`, // Override with less file
+ },
+ javascriptEnabled: true,
+ },

View File

@ -56,7 +56,7 @@ module.exports = {
+ 'link-color': '#1DA57A',
+ 'border-radius-base': '2px',
+ // or
+ 'ant-theme-file': "~'your-less-file-path.less'", // Override with less file
+ 'hack': `true; @import "your-less-file-path.less";`, // Override with less file
+ },
+ javascriptEnabled: true,
+ },