document backgroundColor as hex and set up initial window bg from config

This commit is contained in:
Guillermo Rauch 2016-07-07 17:25:38 -07:00
parent 9f635021c9
commit d17784f962
2 changed files with 3 additions and 3 deletions

View file

@ -6,10 +6,10 @@ module.exports = {
// font family with optional fallbacks
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color
// terminal cursor background color (hex)
cursorColor: '#F81CE5',
// terminal background color
// terminal background color (hex)
backgroundColor: '#000',
// some color overrides. see http://bit.ly/29k1iU2 for

View file

@ -44,7 +44,7 @@ app.on('ready', () => {
height: 380,
titleBarStyle: 'hidden',
title: 'HyperTerm',
backgroundColor: '#000',
backgroundColor: config.getConfig().backgroundColor || '#000',
transparent: true,
// we only want to show when the prompt
// is ready for user input