Skip to content

Commit 01517d9

Browse files
authored
feat: dark theme support for Menu (#2776)
1 parent 0e6db19 commit 01517d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/docsearch-css/src/modal.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ assistive tech users */
15061506
padding: 8px 0;
15071507
flex-direction: column;
15081508
border-radius: var(--docsearch-border-radius);
1509-
background-color: #fff;
1509+
background-color: var(--docsearch-modal-background);
15101510
box-shadow: 0px 0px 0px 1px #21243D0D, 0px 8px 16px -4px #21243D40;
15111511
min-width: 195px;
15121512
top: calc(100% + 12px);
@@ -1531,5 +1531,5 @@ assistive tech users */
15311531
}
15321532

15331533
.DocSearch-Menu-item:hover {
1534-
background-color: #F5F5FA;
1534+
background-color: var(--docsearch-hit-background);
15351535
}

0 commit comments

Comments
 (0)