Skip to content

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

変数: themeCustomMedia

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

ベータ

テーマ用の custom-media を変換するローワリングプラグインを作成する。

メディア機能に直接テーマの custom-idents を記述する方法(例えば、 (theme: canvas))または組み込みの @custom-media --theme-* エイリアスのいずれかによる作成をサポートします。

Type Declaration

パラメーター

options?

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

戻り値

Plugin

PostCSS の プラグイン

postcss

postcss: true

必須の PostCSS プラグインマーカー。