UNPKG

@csstools/postcss-is-pseudo-class

Version:
29 lines (25 loc) 781 B
import type { PluginCreator } from 'postcss'; declare const creator: PluginCreator<pluginOptions>; export default creator; export { creator as 'module.exports' } /** postcss-is-pseudo-class plugin options */ export declare type pluginOptions = { /** Preserve the original notation. default: false */ preserve?: boolean; /** * Warn on complex selectors in `:is` pseudo class functions. * default: _not set_ */ onComplexSelector?: 'warning'; /** * Warn when pseudo elements are used in `:is` pseudo class functions. * default: _not set_ */ onPseudoElement?: 'warning'; /** * Change the selector used to adjust specificity. * default: `does-not-exist`. */ specificityMatchingName?: string; }; export { }