theme: fix some errors and add alt-button theme extension

This commit is contained in:
jean-emmanuel 2018-03-04 11:11:11 +01:00
parent 9e78279226
commit a81d470eee
5 changed files with 17 additions and 6 deletions

View file

@ -27,7 +27,7 @@ class Theme {
} else if (!theme.includes('.css') && fs.existsSync(path.resolve(__dirname + '/../browser/themes/' + theme + '.css'))) {
this.files.push(path.resolve(__dirname + '/../browser/themes/' + theme + '.css'))
} else {
console.error('Theme error: "' + themes + '" not found.')
console.error('Theme error: "' + theme + '" not found.')
}
}