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

Enforce half minimum contrast ratio for dim text #4672

Merged
merged 2 commits into from
Aug 13, 2023
Merged

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Aug 13, 2023

Provided MCR is not too high, this ensures dim text differs from normal text and has a reasonable difference in contrast.

Fixes #4262

MCR = 10 below

webgl

image

image
dom

image
image

canvas

image
image

Provided MCR is not too high, this ensures dim text differs from normal
text and has a reasonable difference in contrast.

Fixes xtermjs#4262
@Tyriar Tyriar added this to the 5.3.0 milestone Aug 13, 2023
@Tyriar Tyriar self-assigned this Aug 13, 2023
@Tyriar Tyriar enabled auto-merge August 13, 2023 18:30
@Tyriar Tyriar merged commit 6c93460 into xtermjs:master Aug 13, 2023
8 checks passed
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.

The dim attribute should have half the minimum contrast ratio demands
1 participant