Skip to content

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

Variable: themeCustomMedia ​

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

Beta

Create the theme custom-media lowering plugin.

Supports authoring with either direct theme custom-idents in media features (for example, (theme: canvas)) or built-in @custom-media --theme-* aliases.

Type Declaration ​

Parameters ​

options? ​

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Returns ​

Plugin

A PostCSS Plugin.

postcss ​

postcss: true

Required PostCSS plugin marker.