This commit is contained in:
Daniel Imms
2016-10-01 14:37:15 -07:00
parent c2a3cb7ee5
commit bf4f63a0e6
4 changed files with 177 additions and 73 deletions

43
src/themeGenerator.ts Normal file
View File

@@ -0,0 +1,43 @@
export interface IThemeGenerator {
generateTheme(name: string, colorSet: IColorSet): string;
}
export interface IColorSet {
ansi?: {
normal?: IAnsiColorSet;
bright?: IAnsiColorSet;
}
syntax?: {
functionCall?: string;
identifier?: string;
keyword?: string;
number?: string;
storage?: string;
string?: string;
comment?: string;
class?: string;
type?: string;
}
ui?: {
background?: string;
foreground?: string;
}
/*uiGroups?: {
userActionNeeded?: string;
userCurrentState?: string;
backgroundState?: string;
background?: string;
foreground?: string;
}*/
}
export interface IAnsiColorSet {
black?: string;
red?: string;
green?: string;
yellow?: string;
blue?: string;
magenta?: string;
cyan?: string;
white?: string;
}