Move ColorManager to ui

Part of #2005
Part of #1507
This commit is contained in:
Daniel Imms
2019-05-18 17:49:48 -07:00
parent 33955398e7
commit 000fefdead
19 changed files with 50 additions and 36 deletions
+22
View File
@@ -0,0 +1,22 @@
/**
* Copyright (c) 2017 The xterm.js authors. All rights reserved.
* @license MIT
*/
export interface IColorManager {
colors: IColorSet;
}
export interface IColor {
css: string;
rgba: number; // 32-bit int with rgba in each byte
}
export interface IColorSet {
foreground: IColor;
background: IColor;
cursor: IColor;
cursorAccent: IColor;
selection: IColor;
ansi: IColor[];
}