Skip to content

Commit e8ed8e4

Browse files
authored
Darken the orange buttons (#8219)
For WCAG 2.1, web components must have a 3:1 contrast ratio. This darkens both the "search" button in the header as well as the "copy" button for installation instructions. Addresses #8195
1 parent 28d6c2b commit e8ed8e4

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

src/Bootstrap/dist/css/bootstrap.css

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/less/variables.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
@btn-info-border: darken(@btn-info-bg, 5%);
167167

168168
@btn-warning-color: #fff;
169-
@btn-warning-bg: @brand-warning;
169+
@btn-warning-bg: darken(@brand-warning, 5.75%);
170170
@btn-warning-border: darken(@btn-warning-bg, 5%);
171171

172172
@btn-danger-color: #fff;
@@ -874,4 +874,4 @@
874874
//** Horizontal line color.
875875
@hr-border: @gray-lighter;
876876

877-
@info-bg: #fff4ce;
877+
@info-bg: #fff4ce;

0 commit comments

Comments
 (0)