Skip to content

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

Biến: themeCustomMedia

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

Beta

Tạo plugin hạ cấp custom-media cho theme.

Hỗ trợ soạn thảo bằng cách dùng trực tiếp theme custom-idents trong media features (ví dụ, (theme: canvas)) hoặc các bí danh @custom-media --theme-* tích hợp sẵn.

Type Declaration

Tham số

options?

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

Trả về

Plugin

Một Plugin cho PostCSS.

postcss

postcss: true

Ký hiệu bắt buộc của plugin PostCSS.