doc(experimental-feature): conform new api

This commit is contained in:
07akioni 2020-07-08 22:30:44 +08:00
parent 45f4d97c29
commit 14ad455b93
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ import 'path/to/customized-style.scss'
Not done yet. You still need to set the primary color in the js environment. Since naive-ui use CSS-in-JS...
So let's continue. Set `style-schemes` on the naive-ui instance.
So let's continue, override the light theme on naive-ui instance.
```js
// ...

View File

@ -54,7 +54,7 @@ import 'path/to/customized-style.scss'
还没有完事,你还需要在 JS 的环境中设定主色。因为 naive-ui 使用了 CSS-in-JS...
所以继续,在 naive-ui 的实例上设定 `style-schemes`
所以继续,在 naive-ui 的实例上设定亮色主题
```js
// ...