pantoken / plugins/postcss/theme-custom-media/src / themeCustomMedia
Variable: themeCustomMedia
constthemeCustomMedia: {(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?
Returns
A PostCSS Plugin.
postcss
postcss:
true
Required PostCSS plugin marker.