mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-03 04:21:34 +08:00
doc(experimental-feature): conform new api
This commit is contained in:
parent
45f4d97c29
commit
14ad455b93
@ -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
|
||||
// ...
|
||||
|
@ -54,7 +54,7 @@ import 'path/to/customized-style.scss'
|
||||
还没有完事,你还需要在 JS 的环境中设定主色。因为 naive-ui 使用了 CSS-in-JS...
|
||||
|
||||
|
||||
所以继续,在 naive-ui 的实例上设定 `style-schemes`。
|
||||
所以继续,在 naive-ui 的实例上设定亮色主题。
|
||||
|
||||
```js
|
||||
// ...
|
||||
|
Loading…
Reference in New Issue
Block a user