Dark-mode search input: dark background with light text (was white box, light-on-light)
This commit is contained in:
1 parent
9119e6726a
commit
fb14577626
1 file changed
+11
-1
+11
-1
@@ -200,9 +200,19 @@
|
|||||||
background-color: var(--green-mid);
|
background-color: var(--green-mid);
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
.md-search__input {
|
/* Search input: the white field is a light-mode choice only. In dark mode it
|
||||||
|
* read as light text on a light box — dark mode gets the chat overlay's page
|
||||||
|
* tone with light text instead (operator request 2026-11-09). */
|
||||||
|
html:not([data-md-color-scheme="slate"]) .md-search__input {
|
||||||
background-color: rgba(255, 255, 255, 0.92);
|
background-color: rgba(255, 255, 255, 0.92);
|
||||||
}
|
}
|
||||||
|
[data-md-color-scheme="slate"] .md-search__input {
|
||||||
|
background-color: var(--pine);
|
||||||
|
color: var(--dark-text);
|
||||||
|
}
|
||||||
|
[data-md-color-scheme="slate"] .md-search__input::placeholder {
|
||||||
|
color: var(--dark-muted);
|
||||||
|
}
|
||||||
|
|
||||||
/* Admonitions get the co-op's washes instead of stock greys. */
|
/* Admonitions get the co-op's washes instead of stock greys. */
|
||||||
.md-typeset .admonition,
|
.md-typeset .admonition,
|
||||||
|
|||||||
Reference in new issue
Block a user