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.

Το plugin επεκτείνει τις ενσωματωμένες ψευδωνυμίες --theme-* και --breakpoint-*, αφαιρεί τους κλάδους θέματος που δεν είναι στόχος (prunes non-target theme branches), απογυμνώνει τις ταιριαστές ρήτρες theme:* από τις διατηρημένες ερωτήσεις, απο-τυλίγει περιτυλίγματα μέσων "μόνο για θέμα" που είναι πάντα αληθή και αφαιρεί τις δηλώσεις @custom-media --theme-*/--breakpoint-* από το παραγόμενο CSS.

Διεπαφές

Συνώνυμα τύπου

Μεταβλητές

Αναφορές

default

Μετονομάζει και εξάγει ξανά το themeCustomMedia