Skip to content

Commit e65b8a2

Browse files
committed
Fix: improve DocSearch dark mode background and input styling
1 parent f25c62c commit e65b8a2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

src/app/globals.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,3 +127,23 @@
127127
@apply bg-background text-foreground;
128128
}
129129
}
130+
131+
:root {
132+
--docsearch-modal-background: #ffffff;
133+
}
134+
135+
.dark {
136+
137+
--docsearch-modal-background: #1e293b;
138+
139+
--docsearch-searchbox-background: #1e293b;
140+
--docsearch-searchbox-focus-background: #334155;
141+
--docsearch-text-color: #f8fafc;
142+
143+
--docsearch-hit-background: #334155;
144+
--docsearch-hit-color: #f1f5f9;
145+
--docsearch-hit-shadow: none;
146+
147+
--docsearch-footer-background: #1e293b;
148+
}
149+

0 commit comments

Comments
 (0)