Skip to content

Commit 393bc83

Browse files
committed
Adjust DocSearch button dark theme colors
Refine dark-mode styles for .DocSearch-Button-Key in tailwind.css: change dark:text to gray-900, dark:bg to gray-200, and dark:border to gray-400 to improve contrast and better match the site's dark theme.
1 parent 9a08b68 commit 393bc83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/styles/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
@apply hidden! lg:flex!;
4949
}
5050
.DocSearch-Button-Key {
51-
@apply text-gray-700! bg-gray-100! border-gray-300! dark:text-gray-100! dark:bg-blue-400! dark:border-gray-500!;
51+
@apply text-gray-700! bg-gray-100! border-gray-300! dark:text-gray-900! dark:bg-gray-200! dark:border-gray-400!;
5252
}
5353
.DocSearch-Button .DocSearch-Search-Icon {
5454
@apply text-white! lg:text-gray-100!;

0 commit comments

Comments
 (0)