Skip to content

New Rule: no-ms-high-contrast #17

Open
@NotWoods

Description

@NotWoods

Rule details

Auto fix uses of -ms-high-constrast to forced-colors

What type of rule is this?

Warns about a potential problem

Example code

-ms-high-contrast-adjust: none;
color: WindowText; /* Should be CanvasText */

Participation

  • I am willing to submit a pull request to implement this rule.

Additional comments

Additional info: https://blogs.windows.com/msedgedev/2020/09/17/styling-for-windows-high-contrast-with-new-standards-for-forced-colors/

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    • Status

      Evaluating

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions