@bg-dev/nuxt-naiveui
Version:
Unofficial Naive UI module for Nuxt
39 lines (38 loc) • 824 B
TypeScript
import type { Theme } from '../types/index.js';
declare const COLORS: {
red: string[];
green: string[];
blue: string[];
yellow: string[];
violet: string[];
orange: string[];
amber: string[];
teal: string[];
purple: string[];
rose: string[];
sky: string[];
cyan: string[];
indigo: string[];
};
declare const NEUTRALS: {
slate: string[];
cool: string[];
zinc: string[];
neutral: string[];
stone: string[];
};
type Color = keyof typeof COLORS;
type Neutral = keyof typeof NEUTRALS;
interface Colors {
primary: Color;
success: Color;
warning: Color;
error: Color;
info: Color;
neutral: Neutral;
}
export declare function generateTailwindColorThemes(inputColors?: Partial<Colors>): {
light: Theme;
dark: Theme;
};
export {};