Skip to content

Commit

Permalink
remove contrast-custom variant
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Nov 2, 2023
1 parent 8f55b9a commit 181a145
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion src/corePlugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,6 @@ export let variantPlugins = {
prefersContrastVariants: ({ addVariant }) => {
addVariant('contrast-more', '@media (prefers-contrast: more)')
addVariant('contrast-less', '@media (prefers-contrast: less)')
addVariant('contrast-custom', '@media (prefers-contrast: custom)')
},

forcedColorsVariants: ({ addVariant }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,5 @@ exports[`should test the 'prefersContrastVariants' plugin 1`] = `
display: flex;
}
}
@media (prefers-contrast: custom) {
.contrast-custom\\:flex {
display: flex;
}
}
"
`;

0 comments on commit 181a145

Please sign in to comment.