This commit is contained in:
Eugene Pankov
2017-06-28 16:55:09 +02:00
parent d0c10278fb
commit 8a7e7c4eb5
4 changed files with 25 additions and 6 deletions

View File

@@ -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,

View File

@@ -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)

View File

@@ -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: []
}, },

View File

@@ -12,4 +12,5 @@ a:hover {
x-screen { x-screen {
transition: 0.125s ease background; transition: 0.125s ease background;
padding-right: 15px;
} }