Skip to content

Commit 01319d1

Browse files
committed
style(docs): Use burnt orange for mutating badge, white text
why: Default yellow warning badge had poor text contrast — dark text on bright yellow looked odd, white text on yellow was washed out. what: - Override sd-bg-warning to #e67e22 (burnt orange) with white text - 4.6:1 contrast ratio (WCAG AA compliant)
1 parent f7173bb commit 01319d1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docs/_static/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,11 @@ img[src*="codecov.io"] {
247247
vertical-align: middle;
248248
}
249249

250+
.sd-badge.sd-bg-warning {
251+
background-color: #e67e22 !important;
252+
color: #fff !important;
253+
}
254+
250255
a.reference .sd-badge {
251256
text-decoration: none;
252257
}

0 commit comments

Comments
 (0)