Skip to content

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

Zmienna: themeCustomMedia

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

Beta

Utwórz wtyczkę obniżającą custom-media motywu.

Obsługuje tworzenie zawartości za pomocą bezpośrednich identyfikatorów motywu (custom-idents) we właściwościach mediów (na przykład, (theme: canvas)) lub wbudowanych aliasów @custom-media --theme-*.

Type Declaration

Parametry

options?

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Zwraca

Plugin

PostCSS wtyczka.

postcss

postcss: true

Wymagany znacznik wtyczki PostCSS.