Skip to content

Commit 436e99a

Browse files
committedAug 9, 2023
fix(theme): docsearch variables not applying properly on ios beta
1 parent 0998e13 commit 436e99a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/client/theme-default/components/VPNavBarSearchButton.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ defineProps<{
3333
</template>
3434

3535
<style>
36-
.DocSearch {
36+
[class*='DocSearch'] {
3737
--docsearch-primary-color: var(--vp-c-brand);
3838
--docsearch-highlight-color: var(--docsearch-primary-color);
3939
--docsearch-text-color: var(--vp-c-text-1);
@@ -47,7 +47,7 @@ defineProps<{
4747
--docsearch-footer-background: var(--vp-c-bg);
4848
}
4949
50-
.dark .DocSearch {
50+
.dark [class*='DocSearch'] {
5151
--docsearch-modal-shadow: none;
5252
--docsearch-footer-shadow: none;
5353
--docsearch-logo-color: var(--vp-c-text-2);

0 commit comments

Comments
 (0)
Please sign in to comment.