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:* 절을 제거하고, 항상 참인 테마 전용 미디어 래퍼의 래핑을 해제하며, 생성된 CSS에서 @custom-media --theme-*/--breakpoint-* 선언을 제거합니다.

인터페이스

타입 별칭

변수

참조

default

이름을 변경하고 themeCustomMedia를 재내보냅니다