Skip to content

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

متغير: themeCustomMedia

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

بيتا

إنشاء إضافة لخفض custom-media في الثيم.

يدعم التأليف باستخدام إما custom-idents الخاصة بالثيم مباشرةً في ميزات الوسائط (على سبيل المثال, (theme: canvas)) أو الأسماء المستعارة المدمجة @custom-media --theme-*.

Type Declaration

المعلمات

options?

ThemeCustomMediaOptions

ThemeCustomMediaOptions.

القيم المرجعة

Plugin

إضافة PostCSS Plugin.

postcss

postcss: true

علامة مكوّن PostCSS المطلوبة.