UNPKG

weapp-tailwindcss

Version:

把 tailwindcss 原子化样式思想,带给小程序开发者们! bring tailwindcss to miniprogram developers!

16 lines (15 loc) 769 B
import { postcss } from '@weapp-tailwindcss/postcss'; export declare function splitUserCssLayerBlocks(source: string): { layer: string; rest: string; }; export declare function hasUserCssLayerBlocks(source: string): boolean; export declare function extractGeneratedCssForUserLayerSelectors(css: string, userLayerSource: string): { layer: string; rest: string; }; export declare function normalizeGeneratedSelector(selector: string): string; export declare function collectApplyOnlySourceSelectors(source: string): Set<string>; export declare function hasOnlyApplyBackedSourceRules(source: string): boolean; export declare function removeCssComments(css: string): string; export declare function isEmptyCustomVariantBlock(rule: postcss.AtRule): boolean;