Skip to content

Commit dde883e

Browse files
fix(docsearch): remove theme media query
1 parent 41e00c1 commit dde883e

1 file changed

Lines changed: 0 additions & 27 deletions

File tree

src/styles/_variables.css

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -48,33 +48,6 @@
4848

4949
/* Darkmode */
5050

51-
@media (prefers-color-scheme: dark) {
52-
:root {
53-
--docsearch-text-color: rgb(245, 246, 247);
54-
--docsearch-container-background: rgba(9, 10, 17, 0.8);
55-
--docsearch-modal-background: rgb(21, 23, 42);
56-
--docsearch-modal-shadow: inset 1px 1px 0 0 rgb(44, 46, 64),
57-
0 3px 8px 0 rgb(0, 3, 9);
58-
--docsearch-searchbox-background: rgb(9, 10, 17);
59-
--docsearch-searchbox-focus-background: #000;
60-
--docsearch-hit-color: rgb(190, 195, 201);
61-
--docsearch-hit-shadow: none;
62-
--docsearch-hit-background: rgb(9, 10, 17);
63-
--docsearch-key-gradient: linear-gradient(
64-
-26.5deg,
65-
rgb(86, 88, 114) 0%,
66-
rgb(49, 53, 91) 100%
67-
);
68-
--docsearch-key-shadow: inset 0 -2px 0 0 rgb(40, 45, 85),
69-
inset 0 0 1px 1px rgb(81, 87, 125), 0 2px 2px 0 rgba(3, 4, 9, 0.3);
70-
--docsearch-footer-background: rgb(30, 33, 54);
71-
--docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5),
72-
0 -4px 8px 0 rgba(0, 0, 0, 0.2);
73-
--docsearch-logo-color: rgb(255, 255, 255);
74-
--docsearch-muted-color: rgb(127, 132, 151);
75-
}
76-
}
77-
7851
html[data-theme='dark'] {
7952
--docsearch-text-color: rgb(245, 246, 247);
8053
--docsearch-container-background: rgba(9, 10, 17, 0.8);

0 commit comments

Comments
 (0)