mirror of
https://github.com/Eugeny/tabby
synced 2025-01-19 00:24:18 +00:00
fixes
This commit is contained in:
parent
d0c10278fb
commit
8a7e7c4eb5
4 changed files with 25 additions and 6 deletions
|
@ -146,7 +146,7 @@ start = () => {
|
|||
|
||||
let options = {
|
||||
width: 800,
|
||||
height: 400,
|
||||
height: 600,
|
||||
//icon: `${app.getAppPath()}/assets/img/icon.png`,
|
||||
title: 'Terminus',
|
||||
minWidth: 400,
|
||||
|
|
|
@ -6,7 +6,7 @@ import { TerminalColorSchemeProvider, ITerminalColorScheme } from './api'
|
|||
@Injectable()
|
||||
export class HyperColorSchemes extends TerminalColorSchemeProvider {
|
||||
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 []
|
||||
let plugins = await fs.readdir(pluginsPath)
|
||||
|
||||
|
|
|
@ -9,10 +9,28 @@ export class TerminalConfigProvider extends ConfigProvider {
|
|||
background: 'theme',
|
||||
colorScheme: {
|
||||
__nonStructural: true,
|
||||
foreground: null,
|
||||
background: null,
|
||||
cursor: null,
|
||||
colors: [],
|
||||
name: 'Material',
|
||||
foreground: '#eceff1',
|
||||
background: 'rgba(38, 50, 56, 1)',
|
||||
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: []
|
||||
},
|
||||
|
|
|
@ -12,4 +12,5 @@ a:hover {
|
|||
|
||||
x-screen {
|
||||
transition: 0.125s ease background;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue