Skip to content

Commit 087ae11

Browse files
authored
[A11y] Darken the GitHub star icon (#8288)
Darkens the orange GitHub star icon for 3:1 color contrast ratio. Addresses #8286
1 parent 16f6a5c commit 087ae11

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

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

src/Bootstrap/less/theme/page-display-package.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@
171171
.gh-star {
172172
font-size: 14px;
173173
line-height: 12px;
174-
color: @brand-warning;
174+
/* Use a slightly darker orange color to increase contrast for accessibility */
175+
color: darken(@brand-warning, 4.5%);
175176
}
176177

177178
.used-by {

0 commit comments

Comments
 (0)