Skip to content
This repository was archived by the owner on Jun 10, 2025. It is now read-only.

Commit 7887aab

Browse files
committed
add variables to media query for ie & ie hover
1 parent cdf804c commit 7887aab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scss/abstracts/variables.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ $media-expressions: (
2222
'portrait': '(orientation: portrait)',
2323
'retina2x': '(-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi)',
2424
'retina3x': '(-webkit-min-device-pixel-ratio: 2.5), (min-resolution: 240dpi)',
25-
'hover': '(hover: hover) and (pointer: fine)',
25+
'hover': '(hover: hover) and (pointer: fine), (-ms-high-contrast: none), (-ms-high-contrast: active)',
2626
'theme-light': 'prefers-color-scheme: light',
2727
'theme-dark': 'prefers-color-scheme: dark',
28+
'ie': '(-ms-high-contrast: none), (-ms-high-contrast: active)',
2829
);
2930

3031
:root {

0 commit comments

Comments
 (0)