mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
update doc (#16545)
This commit is contained in:
parent
b92020ca48
commit
1198fb60ef
@ -1,4 +1 @@
|
||||
@import './default.less';
|
||||
|
||||
@ant-theme-file: ~'./override.less';
|
||||
@import '@{ant-theme-file}';
|
||||
|
@ -1 +0,0 @@
|
||||
// Placeholder, it's used for user to customize the theme variable by less 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,
|
||||
+ },
|
||||
|
@ -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,
|
||||
+ },
|
||||
|
Loading…
Reference in New Issue
Block a user