diff options
| author | Mark Dumay <[email protected]> | 2022-12-26 20:19:53 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-12-26 21:19:53 +0200 |
| commit | 98ebf3a33612d270e7b4e03ca17566334f531db1 (patch) | |
| tree | 95cfde380e6743611a1c86a2c0e49fd971b4f0c8 | |
| parent | 21956ee6f45a0590711c7b08cdf05ffd008dbb9b (diff) | |
| download | bootstrap-98ebf3a33612d270e7b4e03ca17566334f531db1.tar.xz bootstrap-98ebf3a33612d270e7b4e03ca17566334f531db1.zip | |
Improve consistency of navbar icon declaration (#37720)
* Use $navbar-light-color instead of inline color
* Introduce separate $navbar-light-icon-color
| -rw-r--r-- | scss/_variables.scss | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss index 09438a6cb..1be146bd0 100644 --- a/scss/_variables.scss +++ b/scss/_variables.scss @@ -1165,7 +1165,8 @@ $navbar-light-color: rgba(var(--#{$prefix}emphasis-color-rgb), .6 $navbar-light-hover-color: rgba(var(--#{$prefix}emphasis-color-rgb), .8) !default; $navbar-light-active-color: rgba(var(--#{$prefix}emphasis-color-rgb), 1) !default; $navbar-light-disabled-color: rgba(var(--#{$prefix}emphasis-color-rgb), .3) !default; -$navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{rgba($body-color, .75)}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default; +$navbar-light-icon-color: rgba($body-color, .75) !default; +$navbar-light-toggler-icon-bg: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='#{$navbar-light-icon-color}' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>") !default; $navbar-light-toggler-border-color: rgba(var(--#{$prefix}emphasis-color-rgb), .15) !default; $navbar-light-brand-color: $navbar-light-active-color !default; $navbar-light-brand-hover-color: $navbar-light-active-color !default; |
