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

Local search has wrong colour on highlighted text #2902

Closed
4 tasks done
maggie44 opened this issue Sep 3, 2023 · 1 comment
Closed
4 tasks done

Local search has wrong colour on highlighted text #2902

maggie44 opened this issue Sep 3, 2023 · 1 comment
Labels
contribution welcome The team would welcome a contribution from the community for this issue theme Related to the theme

Comments

@maggie44
Copy link

maggie44 commented Sep 3, 2023

Describe the bug

When using the local search (search: { provider: "local" },), the highlighted text is green instead of the brand colour:

Screenshot 2023-09-03 at 19 05 58

Reproduction

npx vitepress init.

Add search: { provider: "local" }, to themconfig.

Search for the string api.

Note: It's not reproducible on the Vitepress example site (http://vitepress.dev) as it doesn't use the local provider.

Expected behavior

Should be a colour matching the brand colours

System Info

`"vitepress": "^1.0.0-rc.10"`

Additional context

No response

Validations

@maggie44 maggie44 added the bug: pending triage Maybe a bug, waiting for confirmation label Sep 3, 2023
@brc-dd brc-dd added theme Related to the theme contribution welcome The team would welcome a contribution from the community for this issue and removed bug: pending triage Maybe a bug, waiting for confirmation labels Sep 6, 2023
@userquin
Copy link
Collaborator

fixed in rc11 via #2887

brc-dd added a commit that referenced this issue Sep 10, 2023
brc-dd added a commit that referenced this issue Sep 10, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
contribution welcome The team would welcome a contribution from the community for this issue theme Related to the theme
Projects
None yet
Development

No branches or pull requests

3 participants