Skip to content

Improve web accessibility for theme base16 comments - #1952

Open
designbymimmi wants to merge 1 commit into
rouge-ruby:mainfrom
designbymimmi:patch-1
Open

Improve web accessibility for theme base16 comments#1952
designbymimmi wants to merge 1 commit into
rouge-ruby:mainfrom
designbymimmi:patch-1

Conversation

@designbymimmi

Copy link
Copy Markdown

Context

Increase color vs background color contrast in base16 theme to make it easier to read comments.

Screenshots using theme base16.dark

Before #505050 After #858585
comment-color-BEFORE-#505050 comment-color-AFTER-#858585

Web accessibility test results

Before After
contrast-result-BEFORE contrast-result-AFTER

Considerations

Tried to keep the comment color as "dark" as possible to keep it inline with the style of the theme while still improving the accessibility.

Increase color vs background color contrast to make it easier to read comments.
@epidemian

Copy link
Copy Markdown
Contributor

This is really nice. I personally find most dark themes unusable due to comments being so dark they are almost unreadable.

Luckily it's usually a simple config change to increase the contrast of comments. But dang, we shouldn't have these defaults :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants