mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:39:07 +08:00
0d619766e0
close #30812
33 lines
990 B
Plaintext
33 lines
990 B
Plaintext
// theme customization for DocSearch Modal
|
|
.customDocSearch() {
|
|
.DocSearch {
|
|
--docsearch-primary-color: @primary-color;
|
|
--docsearch-text-color: @text-color;
|
|
--docsearch-muted-color: @text-color-secondary;
|
|
--docsearch-container-background: @modal-mask-bg;
|
|
--docsearch-searchbox-shadow: inset 0 0 0 2px @primary-color;
|
|
|
|
// Modal
|
|
--docsearch-modal-background: @modal-content-bg;
|
|
|
|
// Search box
|
|
--docsearch-searchbox-background: @input-bg;
|
|
--docsearch-searchbox-focus-background: @input-bg;
|
|
|
|
// Footer
|
|
--docsearch-footer-background: @modal-content-bg;
|
|
|
|
// Hits
|
|
--docsearch-hit-background: @modal-content-bg;
|
|
--docsearch-hit-color: @primary-color;
|
|
--docsearch-hit-active-color: @text-color-inverse;
|
|
--docsearch-highlight-color: @primary-color;
|
|
|
|
// apply antd modal style
|
|
.DocSearch-Footer {
|
|
border-top: @modal-footer-border-width @modal-footer-border-style
|
|
@modal-footer-border-color-split;
|
|
}
|
|
}
|
|
}
|