Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkato committed Dec 24, 2024
1 parent 43b7aab commit 4476d76
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/DocSearch.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
});
</script>

<div id="docsearch" class="h-full"></div>
<div id="docsearch"></div>
6 changes: 5 additions & 1 deletion src/styles/docsearch.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
--docsearch-footer-shadow: 0 -1px 0 0 #e0e3e8, 0 -3px 6px 0 rgba(69, 98, 155, 0.12);
}

html[data-theme='dark'] {
.dark {
--docsearch-text-color: #f5f6f7;
--docsearch-container-background: rgba(9, 10, 17, 0.8);
--docsearch-modal-background: #15172a;
Expand Down Expand Up @@ -67,6 +67,10 @@ html[data-theme='dark'] {
user-select: none;
}

.dark .DocSearch-Button {
border: 1px solid hsl(12 6.5% 15.1%);
}

.DocSearch-Button:active,
.DocSearch-Button:focus,
.DocSearch-Button:hover {
Expand Down

0 comments on commit 4476d76

Please sign in to comment.