Skip to content

pantoken / theme-custom-media

theme-custom-media

Beta

@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.

Ten wtyczka rozwija wbudowane aliasy --theme-* i --breakpoint-*, przycina gałęzie motywów niebędące celem, usuwa pasujące klauzule theme:* z zachowanych zapytań, usuwa opakowania mediów tylko dla motywów, które zawsze są prawdziwe, oraz usuwa deklaracje @custom-media --theme-*/--breakpoint-* z wygenerowanego CSS.

Interfejsy

Aliasy typów

Zmienne

Odwołania

default

Zmieniono nazwę i ponownie eksportowano themeCustomMedia