Skip to content

pantoken-root / plugins/postcss/theme-custom-media/src / themeCustomMedia

Variable: themeCustomMedia ​

const themeCustomMedia: {(options?): Plugin; postcss: true; }

Beta

Erstelle das Theme-Custom-Media-Lowering-Plugin.

Unterstützt das Erstellen entweder mit direkten theme custom-idents in Media-Features (zum Beispiel, (theme: canvas)) oder mit eingebauten @custom-media --theme-*-Aliassen.

Type Declaration ​

Parameter ​

options? ​

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Rückgabe ​

Plugin

Ein PostCSS-Plugin.

postcss ​

postcss: true

Erforderliches PostCSS-Plugin-Kennzeichen.