launcher: color and size fixes
This commit is contained in:
parent
2156bdbce3
commit
0a722b5368
3 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@ module.exports = function(options={}) {
|
|||
width: options.width || 800,
|
||||
height: options.height || 600,
|
||||
title: options.title || settings.read('appName'),
|
||||
backgroundColor: bgColor,
|
||||
backgroundColor: options.color || bgColor,
|
||||
type:options.type
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ if (cli) {
|
|||
launcher
|
||||
|
||||
app.on('ready',function(){
|
||||
launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:540})
|
||||
launcher = require('./electron-window')({address:address, shortcuts:false, width:680, height:568, color:'#283143'})
|
||||
})
|
||||
|
||||
ipcMain.on('start',function(e, options){
|
||||
|
|
|
|||
|
|
@ -176,6 +176,7 @@ i {
|
|||
|
||||
|
||||
#launcher {
|
||||
background: var(--color-fg);
|
||||
padding:2rem;
|
||||
.form {
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue