Skip to content

Commit 181a145

Browse files
committed
remove contrast-custom variant
1 parent 8f55b9a commit 181a145

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

src/corePlugins.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@ export let variantPlugins = {
459459
prefersContrastVariants: ({ addVariant }) => {
460460
addVariant('contrast-more', '@media (prefers-contrast: more)')
461461
addVariant('contrast-less', '@media (prefers-contrast: less)')
462-
addVariant('contrast-custom', '@media (prefers-contrast: custom)')
463462
},
464463

465464
forcedColorsVariants: ({ addVariant }) => {

tests/plugins/variants/__snapshots__/prefersContrastVariants.test.js.snap

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,5 @@ exports[`should test the 'prefersContrastVariants' plugin 1`] = `
1313
display: flex;
1414
}
1515
}
16-
17-
@media (prefers-contrast: custom) {
18-
.contrast-custom\\:flex {
19-
display: flex;
20-
}
21-
}
2216
"
2317
`;

0 commit comments

Comments
 (0)