lottie-color-manager
Version:
A library for managing colors in Lottie animations
15 lines (14 loc) • 429 B
TypeScript
import { ColorMapping } from './core';
/**
* Main entry point for working with Lottie colors
*/
export declare class LottieColorManager {
static changeColors(lottieData: any, colorMappings: ColorMapping[]): any;
/**
* Analyze colors in a Lottie animation
* Useful for debugging or understanding the color structure
*/
static analyzeColors(lottieData: any): {
uniqueColors: string[];
};
}