Skip to content

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

Variable: themeCustomMedia

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

Bêta

Créer le plugin de transformation custom-media pour le thème.

Prend en charge la création soit avec des custom-idents de thème directs dans les media features (par exemple, (theme: canvas)) soit avec des alias intégrés @custom-media --theme-*.

Type Declaration

Paramètres

options?

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Renvoie

Plugin

Un Plugin PostCSS.

postcss

postcss: true

Marqueur requis pour le plugin PostCSS.