Skip to content

pantoken / theme-custom-media

theme-custom-media

בטא

@pantoken/plugin-theme-custom-media — author with theme custom-idents (@media (theme: <name>)) and/or @media (--theme-*) aliases, then emit concrete CSS for a chosen target theme.

התוסף מרחיב את הכינויים המובנים --theme-* ו---breakpoint-*, גוזם ענפי ערכות נושא שאינן יעד, מסיר סעיפי theme:* התואמים מתוך שאילתות הנשארות, מבטל עטיפות מדיה של־רק־ערכת־נושא שתמיד־נכונות, ומסיר הכרזות @custom-media --theme-*/--breakpoint-* מה-CSS המופק.

ממשקים

כינויים של טיפוסים

משתנים

הפניות

default

משנה שם ומייצא מחדש את themeCustomMedia