summaryrefslogtreecommitdiffstats
path: root/packages/gitbook-plugin-theme-default
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gitbook-plugin-theme-default')
-rw-r--r--packages/gitbook-plugin-theme-default/less/Search.less2
-rw-r--r--packages/gitbook-plugin-theme-default/less/variables.less2
2 files changed, 3 insertions, 1 deletions
diff --git a/packages/gitbook-plugin-theme-default/less/Search.less b/packages/gitbook-plugin-theme-default/less/Search.less
index 92981e8..38c1812 100644
--- a/packages/gitbook-plugin-theme-default/less/Search.less
+++ b/packages/gitbook-plugin-theme-default/less/Search.less
@@ -24,5 +24,5 @@
.Search-MatchSpan {
- background: #ffd54f;
+ background: @search-highlight-color;
}
diff --git a/packages/gitbook-plugin-theme-default/less/variables.less b/packages/gitbook-plugin-theme-default/less/variables.less
index 7cd444e..95d34ab 100644
--- a/packages/gitbook-plugin-theme-default/less/variables.less
+++ b/packages/gitbook-plugin-theme-default/less/variables.less
@@ -38,6 +38,8 @@
@dropdown-border-color: #e5e5e5;
@dropdown-color: @button-color;
@dropdown-hover-color: @button-hover-color;
+// Search
+@search-highlight-color: rgba(255, 220, 0, 0.4);
// Font awesome
@path-assets: '.';
@path-fonts: '@{path-assets}/fonts';