Skip to content

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

Pembolehubah: themeCustomMedia ​

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

Beta

Cipta pemalam untuk menurunkan custom-media tema.

Menyokong pengarang dengan sama ada custom-idents tema terus dalam ciri media (contohnya, (theme: canvas)) atau alias @custom-media --theme-* terbina dalam.

Type Declaration ​

Parameter ​

options? ​

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Mengembalikan ​

Plugin

Sebuah PostCSS Plugin.

postcss ​

postcss: true

Penanda plugin PostCSS yang diperlukan.