emersonbottero / vitepress-plugin-search

Provide local search to your documentation site.
MIT License
238 stars 30 forks source link

Color styles are broken due to VitePress's updates on its css vars #80

Closed Octobug closed 9 months ago

Octobug commented 10 months ago

Hey @emersonbottero ,

image

In this screenshot, almost all css vars adopted from vitepress used by this plugin don't work anymore. For example, VitePress no longer has this var --vp-c-brand-dark: https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css

This screenshot is of the latest version (v1.0.0-rc.24) of VitePress, and it is shot from a brand new VitePress project, so there aren't any customized css styles affecting those of vitepress-plugin-search's.