mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-25 22:18:35 +00:00
fixes
This commit is contained in:
@@ -146,7 +146,7 @@ start = () => {
|
|||||||
|
|
||||||
let options = {
|
let options = {
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 400,
|
height: 600,
|
||||||
//icon: `${app.getAppPath()}/assets/img/icon.png`,
|
//icon: `${app.getAppPath()}/assets/img/icon.png`,
|
||||||
title: 'Terminus',
|
title: 'Terminus',
|
||||||
minWidth: 400,
|
minWidth: 400,
|
||||||
|
@@ -6,7 +6,7 @@ import { TerminalColorSchemeProvider, ITerminalColorScheme } from './api'
|
|||||||
@Injectable()
|
@Injectable()
|
||||||
export class HyperColorSchemes extends TerminalColorSchemeProvider {
|
export class HyperColorSchemes extends TerminalColorSchemeProvider {
|
||||||
async getSchemes (): Promise<ITerminalColorScheme[]> {
|
async getSchemes (): Promise<ITerminalColorScheme[]> {
|
||||||
let pluginsPath = path.join(process.env.HOME, '.hyper_plugins', 'node_modules')
|
let pluginsPath = path.join(process.env.HOME || (process.env.HOMEDRIVE + process.env.HOMEPATH), '.hyper_plugins', 'node_modules')
|
||||||
if (!(await fs.exists(pluginsPath))) return []
|
if (!(await fs.exists(pluginsPath))) return []
|
||||||
let plugins = await fs.readdir(pluginsPath)
|
let plugins = await fs.readdir(pluginsPath)
|
||||||
|
|
||||||
|
@@ -9,10 +9,28 @@ export class TerminalConfigProvider extends ConfigProvider {
|
|||||||
background: 'theme',
|
background: 'theme',
|
||||||
colorScheme: {
|
colorScheme: {
|
||||||
__nonStructural: true,
|
__nonStructural: true,
|
||||||
foreground: null,
|
name: 'Material',
|
||||||
background: null,
|
foreground: '#eceff1',
|
||||||
cursor: null,
|
background: 'rgba(38, 50, 56, 1)',
|
||||||
colors: [],
|
cursor: '#FFCC00',
|
||||||
|
colors: [
|
||||||
|
'#000000',
|
||||||
|
'#D62341',
|
||||||
|
'#9ECE58',
|
||||||
|
'#FAED70',
|
||||||
|
'#396FE2',
|
||||||
|
'#BB80B3',
|
||||||
|
'#2DDAFD',
|
||||||
|
'#d0d0d0',
|
||||||
|
'rgba(255, 255, 255, 0.2)',
|
||||||
|
'#FF5370',
|
||||||
|
'#C3E88D',
|
||||||
|
'#FFCB6B',
|
||||||
|
'#82AAFF',
|
||||||
|
'#C792EA',
|
||||||
|
'#89DDFF',
|
||||||
|
'#ffffff',
|
||||||
|
]
|
||||||
},
|
},
|
||||||
customColorSchemes: []
|
customColorSchemes: []
|
||||||
},
|
},
|
||||||
|
@@ -12,4 +12,5 @@ a:hover {
|
|||||||
|
|
||||||
x-screen {
|
x-screen {
|
||||||
transition: 0.125s ease background;
|
transition: 0.125s ease background;
|
||||||
|
padding-right: 15px;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user