Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update(doc): fix themeColor in configuration. #2160

Merged
merged 1 commit into from
Aug 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,11 +838,13 @@ For more details, see [#1131](https://github.com/docsifyjs/docsify/issues/1131).

> **Warning** Deprecated. Use the CSS var `--theme-color` in your `<style>` sheet. Example:
>
> <style>
> :root {
> --theme-color: deeppink;
> }
> </style>
```html
<style>
:root {
--theme-color: deeppink;
}
</style>
```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I forgot the code fence. I meant for this to be inside the warning. For example it should be like this:

> **Warning** Deprecated. Use the CSS var `--theme-color` in your `<style>` sheet. Example:
>
> ```html
> <style>
>   :root {
>     --theme-color: deeppink;
>   }
> </style>
> ```

and here's what it looks like inside the quote block:

Warning Deprecated. Use the CSS var --theme-color in your <style> sheet. Example:

<style>
  :root {
    --theme-color: deeppink;
  }
</style>


- Type: `String`

Expand Down
Loading