//#region src/types.d.ts /** * Tailwind CSS Plugin 类型定义 */ interface AntdPluginOptions { /** * @desc 自定义 class 书写的前缀 * @default undefined (使用 Tailwind 默认) * @example prefix: 'antd' -> class="antd-bg-primary" */ prefix?: string; /** * @desc 自定义 CSS 变量的前缀(与 ConfigProvider 的 prefixCls 对应) * @default 'ant' * @example antPrefix: 'my-app' -> var(--my-app-color-primary) */ antPrefix?: string; } declare const colorNames: readonly ["blue", "purple", "cyan", "green", "magenta", "pink", "red", "orange", "yellow", "volcano", "geekblue", "lime", "gold"]; type ColorName = typeof colorNames[number]; //#endregion export { ColorName as n, AntdPluginOptions as t };