diff --git a/docs/react/customize-theme.en-US.md b/docs/react/customize-theme.en-US.md index ec81c5f23e..7f7874c4ab 100644 --- a/docs/react/customize-theme.en-US.md +++ b/docs/react/customize-theme.en-US.md @@ -27,7 +27,7 @@ Specify the `theme` property in `package.json` file, whose value can be either a - example of directly specifying the custom values as an object: ```js "theme": { - "@primary-color": "#1DA57A", + "primary-color": "#1DA57A", }, ``` - example of specifying a [file path](https://github.com/ant-design/antd-init/blob/master/examples/customize-antd-theme/theme.js) to a JS file: diff --git a/docs/react/customize-theme.zh-CN.md b/docs/react/customize-theme.zh-CN.md index 93064d170d..3948c4686e 100644 --- a/docs/react/customize-theme.zh-CN.md +++ b/docs/react/customize-theme.zh-CN.md @@ -28,7 +28,7 @@ antd 的样式使用了 [Less](http://lesscss.org/) 作为开发语言,并定 ```js "theme": { - "@primary-color": "#1DA57A", + "primary-color": "#1DA57A", }, ```