mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-11 15:10:02 +00:00
added selection color customization (fixes #2249)
This commit is contained in:
parent
140f7c51f4
commit
d38af18582
@ -37,6 +37,7 @@ export class TerminalConfigProvider extends ConfigProvider {
|
|||||||
name: 'Material',
|
name: 'Material',
|
||||||
foreground: '#eceff1',
|
foreground: '#eceff1',
|
||||||
background: 'rgba(38, 50, 56, 1)',
|
background: 'rgba(38, 50, 56, 1)',
|
||||||
|
selection: null,
|
||||||
cursor: '#FFCC00',
|
cursor: '#FFCC00',
|
||||||
colors: [
|
colors: [
|
||||||
'#000000',
|
'#000000',
|
||||||
|
@ -224,6 +224,7 @@ export class XTermFrontend extends Frontend {
|
|||||||
|
|
||||||
const theme: ITheme = {
|
const theme: ITheme = {
|
||||||
foreground: config.terminal.colorScheme.foreground,
|
foreground: config.terminal.colorScheme.foreground,
|
||||||
|
selection: config.terminal.colorScheme.selection || '#88888888',
|
||||||
background: config.terminal.background === 'colorScheme' ? config.terminal.colorScheme.background : '#00000000',
|
background: config.terminal.background === 'colorScheme' ? config.terminal.colorScheme.background : '#00000000',
|
||||||
cursor: config.terminal.colorScheme.cursor,
|
cursor: config.terminal.colorScheme.cursor,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user