import plugin from 'tailwindcss/plugin';
/**
 * Tailwind plugin that adds a 'more-contrast' variant for high-contrast mode.
 *
 * This variant matches both manual class-based contrast (.is-moreContrast) and
 * system preference (prefers-contrast: more media query).
 *
 * Usage:
 *   @apply more-contrast:bg-primary-800 more-contrast:text-white
 */
module.exports = plugin(function ({ addVariant }) {
    addVariant('more-contrast', [
        ':root.is-moreContrast &',
        '@media screen and (prefers-contrast: more) and (forced-colors: none) {:root:not(.is-normalContrast) &}',
    ]);
});
//# sourceMappingURL=tailwind-plugin-contrast.js.map