@aurigma/design-atoms-model
Version:
Design Atoms is a part of Customer's Canvas SDK which allows for manipulating individual design elements through your code.
27 lines (26 loc) • 651 B
TypeScript
import IFontSettings from "./IFontSettings";
export interface IItemData {
leading?: number;
tracking?: number;
underline?: boolean;
color?: string;
borderColor?: string;
fillColor?: string;
altColor?: string;
opacity?: number;
horozontalLineColor?: string;
verticalLineColor?: string;
font?: IFontSettings;
visible?: boolean;
}
export interface IItemsData {
surfaces?: {
[surfaceName: string]: {
[itemName: string]: IItemData;
};
};
[itemName: string]: IItemData;
placeholders?: {
[placeholderName: string]: string;
};
}