Skip to content

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

Variabel: themeCustomMedia

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

Beta

Skapa plugin för att omvandla theme custom-media.

Stöder författande med antingen direkta theme custom-idents i mediafunktioner (till exempel, (theme: canvas)) eller inbyggda @custom-media --theme-* alias.

Type Declaration

Parametrar

options?

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Returnerar

Plugin

Ett PostCSS tillägg.

postcss

postcss: true

Obligatorisk PostCSS-pluginmarkör.