blob: 5b65f0161b8d65a6381a632804910dde53f24826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import type { PluginCreator } from 'postcss';
/** postcss-is-pseudo-class plugin options */
export 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;
};
declare const creator: PluginCreator<pluginOptions>;
export default creator;
|