Skip to content

Deprecating support for -ms-high-contrast and -ms-high-contrast-adjust #1376

@Infinityz-ftb

Description

@Infinityz-ftb

Checks

Version

@splidejs/[email protected]

Description

Hey, Deprecating support for -ms-high-contrast and -ms-high-contrast-adjust here is the resource
https://blogs.windows.com/msedgedev/2024/04/29/deprecating-ms-high-contrast/

I am getting console

Image

To fix this I believe you just need to update

@mixin ie-only { @media screen and (-ms-high-contrast: none) { @content; } }
to
@mixin ie-only { @media screen and (forced-colors: none) { @content; } }

Cheers

Reproduction Link

No response

Steps to Reproduce

Just open https://splidejs.com/guides/themes/ and inspect the console

Expected Behaviour

I expect this code to be updated to remove things from the console of future users using edge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions