Skip to content

Commit d53fdb8

Browse files
authored
Merge pull request #621 from alphagov/fix-comment-colours
Fix contrast issues with comments in code examples
2 parents bbdd79f + 69ba0ab commit d53fdb8

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

source/stylesheets/screen.css.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@
44
.technical-documentation .table-container td > code {
55
white-space: nowrap;
66
}
7+
8+
// Temporarily override syntax highlighting to fix poor contrast for comments.
9+
.highlight .c,
10+
.highlight .cm,
11+
.highlight .cp,
12+
.highlight .c1,
13+
.highlight .cs { /* Comment.Special */
14+
color: govuk-functional-colour(secondary-text);
15+
}

0 commit comments

Comments
 (0)