Skip to content

Commit 103e49e

Browse files
author
Sandesh
committed
fix(ebooks): make search bar text and placeholder theme-aware for dark mode
1 parent 19dc572 commit 103e49e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/ebooks/index.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@
6161
border-radius: 12px;
6262
border: 1px solid var(--ifm-toc-border-color);
6363
font-size: 1rem;
64+
color: var(--ifm-font-color-base);
6465
background-color: var(--ifm-background-color);
65-
color: var(--ifm-color-gray-900);
6666
box-shadow: var(--ifm-global-shadow-lw);
6767
transition: all 0.25s ease;
6868
}
6969

7070
.ebook-search-wrapper input.ebook-search::placeholder {
71-
color: var(--ifm-color-gray-700);
71+
color: var(--ifm-color-muted);
7272
opacity: 0.6;
7373
}
7474

0 commit comments

Comments
 (0)