Update code comment color for accessibility (#42117)
This commit is contained in:
@@ -12,11 +12,15 @@ from https://unpkg.com/highlight.js@9.15.8/styles/github.css
|
|||||||
background: var(--color-canvas-subtle);
|
background: var(--color-canvas-subtle);
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs-comment,
|
|
||||||
.hljs-quote {
|
.hljs-quote {
|
||||||
color: var(--color-prettylights-syntax-comment);
|
color: var(--color-prettylights-syntax-comment);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Updating color for code comments from prettylights to codemirror due to accessibility issues: audit 4975
|
||||||
|
.hljs-comment {
|
||||||
|
color: var(--color-codemirror-syntax-comment);
|
||||||
|
}
|
||||||
|
|
||||||
.hljs-keyword,
|
.hljs-keyword,
|
||||||
.hljs-selector-tag {
|
.hljs-selector-tag {
|
||||||
color: var(--color-prettylights-syntax-keyword);
|
color: var(--color-prettylights-syntax-keyword);
|
||||||
|
|||||||
Reference in New Issue
Block a user