Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native: fix contrast ratio to meet WCAG AA guidelines #2325

Merged
merged 1 commit into from Jan 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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