diff --git a/customize.html b/customize.html index bbdaa3f07b..da8d9d4c42 100644 --- a/customize.html +++ b/customize.html @@ -554,10 +554,14 @@ base_url: "../" +
Global color for active items (e.g., navs or dropdowns)
Used for active or hovered items in places like navs or dropdowns.
+Global background color for active items (e.g., navs or dropdowns)
@@ -923,7 +927,7 @@ base_url: "../"Hovered dropdown menu entry text color
- +Active dropdown menu entry text color
diff --git a/less/variables.less b/less/variables.less index f7286c69ab..cd46c9ef87 100644 --- a/less/variables.less +++ b/less/variables.less @@ -91,6 +91,7 @@ @border-radius-large: 6px; @border-radius-small: 3px; +@component-active-color: #fff; @component-active-bg: @brand-primary; @caret-width-base: 4px; @@ -178,7 +179,7 @@ @dropdown-link-hover-color: darken(@gray-dark, 5%); @dropdown-link-hover-bg: #f5f5f5; -@dropdown-link-active-color: #fff; +@dropdown-link-active-color: @component-active-color; @dropdown-link-active-bg: @component-active-bg; @dropdown-link-disabled-color: @gray-light;