UNPKG

weapp-tailwindcss

Version:

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

33 lines (30 loc) 978 B
import * as tailwindcss_types_config from 'tailwindcss/types/config'; interface ResetOptions { /** * 控制 `button` reset 的注入与选择器,传入 `false` 可跳过该规则。 */ buttonReset?: false | ResetConfig; /** * 控制 `image` reset(同时覆盖 `<image>` 与 `<img>`)。 */ imageReset?: false | ResetConfig; /** * 额外的 reset 规则,可根据业务自定义。 */ extraResets?: ResetConfig[]; } interface ResetConfig { selectors?: string[]; declarations?: Record<string, string | number | false | null | undefined>; pseudo?: Record<string, string | number | false | null | undefined>; } declare const reset: { (options: ResetOptions): { handler: tailwindcss_types_config.PluginCreator; config?: Partial<tailwindcss_types_config.Config>; }; __isOptionsFunction: true; }; // @ts-ignore export = reset; export { type ResetConfig, type ResetOptions, reset };