Skip to content

Commit aa0dc63

Browse files
committed
style: 适配暗黑模式
1 parent 02bd40f commit aa0dc63

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/components/BootstrapBlazor.MeiliSearch/wwwroot/meilisearch.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@
2222
font-style: normal;
2323
}
2424

25+
.search-dialog-mask kbd {
26+
color: var(--bb-global-search-footer-kbd-color);
27+
}
28+
2529
.search-dialog-mask {
2630
position: fixed;
2731
top: 0;
@@ -33,6 +37,10 @@
3337
justify-content: center;
3438
}
3539

40+
[data-bs-theme='dark'] .search-dialog-mask {
41+
--bb-global-search-footer-kbd-color: var(--bs-body-color);
42+
}
43+
3644
.bb-g-search-open {
3745
overflow: hidden;
3846
}

0 commit comments

Comments
 (0)