UNPKG

weapp-tailwindcss

Version:

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

15 lines (14 loc) 737 B
import type { CssFragment, CssFragmentKind, CssStage, GenerationArtifact, SourceScope } from './types.js'; export interface CreateCssFragmentOptions { id: string; kind: CssFragmentKind; css: string; sourceId: string; scope: SourceScope; order?: number | undefined; stage?: CssStage | undefined; } export declare function createCssFragment(options: CreateCssFragmentOptions): CssFragment; export declare function cloneCssFragment(fragment: CssFragment): CssFragment; export declare function cloneGenerationArtifact(artifact: GenerationArtifact): GenerationArtifact; export declare function createGenerationArtifact(fragments: CssFragment[], options: Omit<GenerationArtifact, 'fragments'>): GenerationArtifact;