diff --git a/README.md b/README.md index b1d49d7..4992dfa 100644 --- a/README.md +++ b/README.md @@ -30,10 +30,6 @@ plugins: [ If you want a media query to be added to this plugin please open an issue or PR. -### [`forced-colors`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors) - -- `forced-colors`: A variant for `@media (forced-colors: active)`. - ### [`prefers-contrast`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast) - `contrast-custom`: A variant for `@media (prefers-contrast: custom)`. @@ -90,6 +86,12 @@ These are the "wrong" way round to match the existing motion variants inside of - `p3`: A variant for `@media (color-gamut: p3)`. - `rec2020`: A variant for `@media (color-gamut: rec2020)`. +## Removed Features + +### [`forced-colors`](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/forced-colors) + +- This was removed as it is now in TailwindCSS itself. + ## License This project is licensed under the [MIT License](https://github.com/lukewarlow/tailwind-mq/blob/master/LICENSE). diff --git a/src/index.ts b/src/index.ts index 958a667..7835f78 100644 --- a/src/index.ts +++ b/src/index.ts @@ -4,7 +4,6 @@ export function mediaQueries() { addVariant('transparency-safe', '@media (prefers-reduced-transparency: no-preference)'); addVariant('inverted-colors', '@media (inverted-colors: inverted)'); addVariant('data-reduce', '@media (prefers-reduced-data: reduce)'); - addVariant('forced-colors', '@media (forced-colors: active)'); addVariant('contrast-custom', '@media (prefers-contrast: custom)'); addVariant('noscript', '@media (scripting: none)'); addVariant('scripting', '@media (scripting: enabled)');