Skip to content

Allow minimum contrast ratio to go in both directions if needed #3720

@Tyriar

Description

@Tyriar

Context: microsoft/vscode#145973 (comment)

The minimum contrast ratio should make this black text white/light gray:

image

It does not currently because we only move the fg color away from the bg color, we should instead invert the foreground and go in the other direction if necessary.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions