mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-27 13:34:20 -04:00
🏷️ Config type
This commit is contained in:
parent
d55c2f8780
commit
c832ae265f
1 changed files with 24 additions and 1 deletions
|
@ -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<string>;
|
||||
bitmapsDir: string;
|
||||
svgsDir: string;
|
||||
animatedCursors: AnimatedCursors;
|
||||
animatedClip: AnimatedClip;
|
||||
}
|
||||
|
||||
export { ColorSchema, Config };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue