Skip to content

Commit

Permalink
Merge pull request ClickHouse#255 from DanRoscigno/fix-dark-mode-sear…
Browse files Browse the repository at this point in the history
…ch-colors

fix colors in Algolia Docsearch
  • Loading branch information
DanRoscigno authored Jul 25, 2022
2 parents 35e8463 + 02f1e2c commit dcd80a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/* Docsearch from Algolia */
[data-theme='light'] .DocSearch mark {
--docsearch-highlight-color: black;
}

[data-theme='dark'] .DocSearch mark {
--docsearch-highlight-color: white;
}

/* right hand table of contents */
.table-of-contents__link {
color: var(--ifm-toc-link-color);
Expand Down Expand Up @@ -143,6 +152,7 @@ code {

/* You can override the default Infima variables here. */
:root {

/* colors for right side table of contents */
--ifm-toc-link-color: #808080;
--ifm-toc-link-color--active: #27242D;
Expand Down

0 comments on commit dcd80a8

Please sign in to comment.