Skip to content

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

Newidyn: themeCustomMedia ​

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

Bêta

Creu ategyn gostwng custom-media ar gyfer y thema.

Mae'n cefnogi awduriaeth gydag naill ai custom-idents thema uniongyrchol mewn nodweddion cyfryngau (er enghraifft, (theme: canvas)) neu aliasau adeiledig @custom-media --theme-*.

Type Declaration ​

Paramedrau ​

options? ​

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Yn dychwelyd ​

Plugin

Ategyn PostCSS Ategyn.

postcss ​

postcss: true

Marciwr ategyn PostCSS a benodir.