From 8c7c95a4100ae826ea365cbaaf5ad0ac1077f6ba Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Mon, 24 Feb 2025 10:06:31 +0800 Subject: [PATCH] fix(plugin-search): incorrect search result keyword highlight styles --- plugins/plugin-search/src/client/components/SearchBox.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/plugin-search/src/client/components/SearchBox.vue b/plugins/plugin-search/src/client/components/SearchBox.vue index 495c0f5f..5f097c6f 100644 --- a/plugins/plugin-search/src/client/components/SearchBox.vue +++ b/plugins/plugin-search/src/client/components/SearchBox.vue @@ -690,7 +690,8 @@ svg { .titles :deep(mark) { padding: 0 2px; - color: var(--vp-mini-search-highlight-text); + font-weight: normal; + color: var(--vp-mini-search-highlight-text) !important; background-color: var(--vp-mini-search-highlight-bg); background-image: none; border-radius: 2px;