mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
docs: update customize-theme-variable.md (#33272)
This commit is contained in:
parent
34dbf5f0a2
commit
678cf4948b
@ -71,7 +71,7 @@ ConfigProvider.config({
|
||||
Since prefix modified. Origin `antd.variable.css` should also be replaced:
|
||||
|
||||
```bash
|
||||
lessc --modify-var="ant-prefix=custom" antd/dist/antd.variable.less modified.css
|
||||
lessc --js --modify-var="ant-prefix=custom" antd/dist/antd.variable.less modified.css
|
||||
```
|
||||
|
||||
### Related changes
|
||||
|
@ -71,7 +71,7 @@ ConfigProvider.config({
|
||||
由于前缀变更,你需要重新生成一份对应的 css 文件。
|
||||
|
||||
```bash
|
||||
lessc --modify-var="ant-prefix=custom" antd/dist/antd.variable.less modified.css
|
||||
lessc --js --modify-var="ant-prefix=custom" antd/dist/antd.variable.less modified.css
|
||||
```
|
||||
|
||||
### 相关变更
|
||||
|
Loading…
Reference in New Issue
Block a user