docsifyjs / docsify

🃏 A magical documentation site generator.
https://docsify.js.org
MIT License
27.47k stars 5.67k forks source link

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

Closed Koooooo-7 closed 1 year ago

Koooooo-7 commented 1 year ago

Summary

Fix the themeColor config doc changed in #2114 .

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

the markdown takes a mistake to treat it as HTML style. See Pink Configuration preview as reproduct.

And, it seems also brings a new feature that we could allow user set theme-color per markdown page . 🚀

What kind of change does this PR introduce?

Docs

For any code change,

Does this PR introduce a breaking change? (check one)

If yes, please describe the impact and migration path for existing applications:

Related issue, if any:

Tested in the following browsers:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docsify-preview ✅ Ready (Inspect) Visit Preview Aug 3, 2023 0:16am