Skip to content

Commit

Permalink
Native: fix contrast ratio to meet WCAG AA guidelines
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk authored and birkenfeld committed Jan 29, 2023
1 parent 6d2bb1b commit 4d8bca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pygments/styles/native.py
Expand Up @@ -27,7 +27,7 @@ class NativeStyle(Style):
Whitespace: '#666666',

Comment: 'italic #ababab',
Comment.Preproc: 'noitalic bold #cd2828',
Comment.Preproc: 'noitalic bold #ff3a3a',
Comment.Special: 'noitalic bold #e50808 bg:#520000',

Keyword: 'bold #6ebf26',
Expand Down
2 changes: 1 addition & 1 deletion tests/contrast/min_contrasts.json
Expand Up @@ -13,7 +13,7 @@
"pastie": 2.5,
"borland": 2.3,
"trac": 2.3,
"native": 3.0,
"native": 3.1,
"fruity": 1.6,
"bw": 21.0,
"vim": 1.3,
Expand Down

0 comments on commit 4d8bca5

Please sign in to comment.