Skip to content

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

ตัวแปร: themeCustomMedia ​

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

เบต้า

สร้างปลั๊กอินสำหรับลดรูป custom-media ของธีม.

รองรับการสร้างโดยใช้ได้ทั้ง custom-idents ของธีมโดยตรงใน media features (ตัวอย่าง, (theme: canvas)) หรือทางลัด aliases ที่มีมาให้ @custom-media --theme-*.

Type Declaration ​

พารามิเตอร์ ​

options? ​

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

คืนค่า ​

Plugin

ปลั๊กอิน PostCSS Plugin.

postcss ​

postcss: true

ตัวบ่งชี้ปลั๊กอิน PostCSS ที่จำเป็น.