diff --git a/packages/round/src/types.ts b/packages/round/src/types.ts index 4842f39a..f8767de1 100644 --- a/packages/round/src/types.ts +++ b/packages/round/src/types.ts @@ -1,6 +1,29 @@ -export interface ColorSchema { +interface ColorSchema { [name: string]: { base: string; outline: string; }; } + +type AnimatedCursors = { + readonly [name: string]: { + readonly frames: number; + }; +}; + +type AnimatedClip = { + readonly x: number; + readonly y: number; + readonly width: number; + readonly height: number; +}; + +interface Config { + staticSvgs: Array; + bitmapsDir: string; + svgsDir: string; + animatedCursors: AnimatedCursors; + animatedClip: AnimatedClip; +} + +export { ColorSchema, Config };