Skip to content

Commit

Permalink
Added theme properties
Browse files Browse the repository at this point in the history
  • Loading branch information
tsv2013 committed Sep 15, 2023
1 parent 092f69f commit aaa9846
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/themes.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
export type ImageFit = "auto" | "contain" |"cover";
export type ImageFit = "auto" | "contain" | "cover";
export type ImageAttachment = "fixed" | "scroll";

export interface ITheme {
cssVariables?: {[index: string]: string};
themeName?: string;
colorPalette?: string;
isPanelless?: boolean;
backgroundImage?: string;
backgroundImageFit?: ImageFit;
backgroundImageAttachment?: ImageAttachment;
backgroundOpacity?: number;
isPanelless?: boolean;
cssVariables?: { [index: string]: string };
}

0 comments on commit aaa9846

Please sign in to comment.