UNPKG

@vue3-oop/tailwind-preset

Version:
40 lines (36 loc) 816 B
import { Config } from 'tailwindcss'; interface WebFontProps { path: string; weight?: number; style?: string; } interface JuanOptions { cssVarPrefix?: string; colors?: Record<string, any>; /** * 是否使用数字字体 font-d-din-pro * @default false */ useNumberFont?: boolean; webFonts?: Record<string, WebFontProps[]>; /** * 是否使用svg icon 默认true */ useSvgIcon?: boolean; /** * svg icon目录 * @default src/icons */ iconPath?: string; /** * 图标前缀 * @default icon */ iconClassPrefix?: string; /** * 图标额外的属性 */ extraIconProps?: Record<string, string>; } declare function preset(options?: JuanOptions | undefined): Partial<Config>; export { preset };