tailwind-plugin-typed
Version:
A plugin for Tailwind CSS to generate text typing animations.
9 lines (8 loc) • 378 B
TypeScript
interface Colors {
[key: string | number]: string | Colors;
}
export declare function simpleHash(str: string): string;
export declare function arraySum(arr: number[]): number;
export declare function flattenColorPalette(colors: Colors): Record<string, string>;
export declare function getPercentage(value: number, total: number, fractionDigits?: number): string;
export {};