Skip to content

Commit

Permalink
fix(theme): docsearch variables not applying properly on ios beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Aug 9, 2023
1 parent 0998e13 commit 436e99a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/client/theme-default/components/VPNavBarSearchButton.vue
Expand Up @@ -33,7 +33,7 @@ defineProps<{
</template>

<style>
.DocSearch {
[class*='DocSearch'] {
--docsearch-primary-color: var(--vp-c-brand);
--docsearch-highlight-color: var(--docsearch-primary-color);
--docsearch-text-color: var(--vp-c-text-1);
Expand All @@ -47,7 +47,7 @@ defineProps<{
--docsearch-footer-background: var(--vp-c-bg);
}
.dark .DocSearch {
.dark [class*='DocSearch'] {
--docsearch-modal-shadow: none;
--docsearch-footer-shadow: none;
--docsearch-logo-color: var(--vp-c-text-2);
Expand Down

0 comments on commit 436e99a

Please sign in to comment.