Skip to content

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

Function: themeCustomMedia()

themeCustomMedia(options?): Plugin

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.

Parameters

options?

ThemeCustomMediaOptions = {}

ThemeCustomMediaOptions.

Returns

Plugin

A PostCSS Plugin.