mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-14 12:58:39 -09:00
document backgroundColor as hex and set up initial window bg from config
This commit is contained in:
parent
9f635021c9
commit
d17784f962
2 changed files with 3 additions and 3 deletions
|
|
@ -6,10 +6,10 @@ module.exports = {
|
||||||
// font family with optional fallbacks
|
// font family with optional fallbacks
|
||||||
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
|
fontFamily: 'Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
|
||||||
|
|
||||||
// terminal cursor background color
|
// terminal cursor background color (hex)
|
||||||
cursorColor: '#F81CE5',
|
cursorColor: '#F81CE5',
|
||||||
|
|
||||||
// terminal background color
|
// terminal background color (hex)
|
||||||
backgroundColor: '#000',
|
backgroundColor: '#000',
|
||||||
|
|
||||||
// some color overrides. see http://bit.ly/29k1iU2 for
|
// some color overrides. see http://bit.ly/29k1iU2 for
|
||||||
|
|
|
||||||
2
index.js
2
index.js
|
|
@ -44,7 +44,7 @@ app.on('ready', () => {
|
||||||
height: 380,
|
height: 380,
|
||||||
titleBarStyle: 'hidden',
|
titleBarStyle: 'hidden',
|
||||||
title: 'HyperTerm',
|
title: 'HyperTerm',
|
||||||
backgroundColor: '#000',
|
backgroundColor: config.getConfig().backgroundColor || '#000',
|
||||||
transparent: true,
|
transparent: true,
|
||||||
// we only want to show when the prompt
|
// we only want to show when the prompt
|
||||||
// is ready for user input
|
// is ready for user input
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue