Skip to content

Commit 4c2e630

Browse files
authored
update(doc): fix themeColor in configuration. (#2160)
1 parent 63afa9c commit 4c2e630

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

docs/configuration.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -838,11 +838,13 @@ For more details, see [#1131](https://github.com/docsifyjs/docsify/issues/1131).
838838

839839
> **Warning** Deprecated. Use the CSS var `--theme-color` in your `<style>` sheet. Example:
840840
>
841-
> <style>
842-
> :root {
843-
> --theme-color: deeppink;
844-
> }
845-
> </style>
841+
```html
842+
<style>
843+
:root {
844+
--theme-color: deeppink;
845+
}
846+
</style>
847+
```
846848

847849
- Type: `String`
848850

0 commit comments

Comments
 (0)