UNPKG

weapp-tailwindcss

Version:

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

20 lines (19 loc) 1.03 kB
import type { IStyleHandlerOptions } from '@weapp-tailwindcss/postcss/types'; import type { InternalUserDefinedOptions } from '../../../../types/index.js'; export declare function hasMiniProgramTailwindV4PreflightReset(css: string): boolean; export declare function finalizeMiniProgramGeneratorCss(css: string, target: string, _majorVersion: number | undefined, cssPreflight: InternalUserDefinedOptions['cssPreflight'], options?: { injectPreflight?: boolean | undefined; preservePreflight?: boolean | undefined; removeEmptyAtRuleAncestors?: boolean | undefined; styleOptions?: Partial<IStyleHandlerOptions> | undefined; }): string; export declare function resolveMiniProgramPreflightModeForGeneratorCss(opts: InternalUserDefinedOptions, options: { cssHandlerOptions: IStyleHandlerOptions; isolateCurrentCssCandidates: boolean; localImports?: string | undefined; primaryCssSource?: boolean | undefined; explicitCssSource?: boolean | undefined; }): { inject: boolean; preserve: boolean; };