feat: customize the theme color
This commit is contained in:
parent
ae1ad735d5
commit
5cc9f0514c
13 changed files with 120 additions and 42 deletions
|
|
@ -503,4 +503,17 @@ window.$docsify = {
|
|||
}
|
||||
```
|
||||
|
||||
### theme-color
|
||||
|
||||
Customize the theme color.
|
||||
|
||||
|
||||
```html
|
||||
<script src="/lib/docsify.js" data-theme-color="#3F51B5"></script>
|
||||
```
|
||||
|
||||
```js
|
||||
window.$docsify = {
|
||||
themeColor: '#3F51B5'
|
||||
}
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue