Skip to content

Commit bc445a0

Browse files
Trottmarco-ippolito
authored andcommitted
doc: fix color contrast issue in light mode
Attributes are being highlighted as #f00 on a background of #f2f2f2. That's a color contrast of 3.98:1, failing to meet the 4.5:1 requirement of WCAG 2.1 AA. This changes the attribute color to #d00, which has a color contrast of 5.09:1 meeting the 4.5:1 requirement. PR-URL: #56272 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Claudio Wunder <cwunder@gnome.org>
1 parent 9e19a28 commit bc445a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api_assets/hljs.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
color: #808080;
5050
}
5151
.hljs-attr {
52-
color: #f00;
52+
color: #d00;
5353
}
5454
.hljs-symbol,
5555
.hljs-bullet,

0 commit comments

Comments
 (0)