@0xtld/tair-node
Version:
A Node.js package for Tair functionality with configuration, core, and helper modules.
27 lines • 701 B
TypeScript
declare class ColorTheme {
baseColors: {
[key: string]: string;
};
colors: {
[key: string]: string;
};
defaultTheme: {
[key: string]: string;
};
constructor(customColors?: {
[key: string]: string;
});
wrap(text: any, colorKey: string): string;
get(colorKey: string): string;
createTheme(themeColors: {
[key: string]: string;
}): ColorTheme;
success(text: any): string;
error(text: any): string;
warning(text: any): string;
info(text: any): string;
highlight(text: any): string;
style(text: any, ...colorKeys: string[]): string;
}
export { ColorTheme };
//# sourceMappingURL=colors.d.ts.map