extends Bas
this.frontend?.focus()
})
+ this.subscribeUntilDestroyed(this.platform.themeChanged$, () => {
+ this.configure()
+ })
+
const cls: new (..._) => Frontend = {
xterm: XTermFrontend,
'xterm-webgl': XTermWebGLFrontend,
diff --git a/tabby-terminal/src/colorSchemes.ts b/tabby-terminal/src/colorSchemes.ts
index 22b799c53af..32e763e874b 100644
--- a/tabby-terminal/src/colorSchemes.ts
+++ b/tabby-terminal/src/colorSchemes.ts
@@ -27,9 +27,41 @@ export class DefaultColorSchemes extends TerminalColorSchemeProvider {
'#b7fff9',
'#ffffff',
],
+ selection: undefined,
+ cursorAccent: undefined,
+ }
+
+ static defaultLightColorScheme: TerminalColorScheme = {
+ name: 'Tabby Default Light',
+ foreground: '#4d4d4c',
+ background: '#ffffff',
+ cursor: '#4d4d4c',
+ colors: [
+ '#000000',
+ '#c82829',
+ '#718c00',
+ '#eab700',
+ '#4271ae',
+ '#8959a8',
+ '#3e999f',
+ '#ffffff',
+ '#000000',
+ '#c82829',
+ '#718c00',
+ '#eab700',
+ '#4271ae',
+ '#8959a8',
+ '#3e999f',
+ '#ffffff',
+ ],
+ selection: undefined,
+ cursorAccent: undefined,
}
async getSchemes (): Promise