1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-25 11:33:35 +03:00
This commit is contained in:
Eugene Pankov 2017-04-24 00:43:58 +02:00
parent 2f4afd7625
commit 64556806e6
4 changed files with 6 additions and 16 deletions

View File

@ -21,7 +21,7 @@ if ((<any>global).require('electron-is-dev')) {
} }
loadPlugins((current, total) => { loadPlugins((current, total) => {
document.querySelector('.progress .bar').style.width = 100 * current / total + '%' (<HTMLElement>document.querySelector('.progress .bar')).style.width = 100 * current / total + '%'
}).then(async plugins => { }).then(async plugins => {
let module = await getRootModule(plugins) let module = await getRootModule(plugins)
platformBrowserDynamic().bootstrapModule(module) platformBrowserDynamic().bootstrapModule(module)

View File

@ -2,6 +2,7 @@ $color: rgba(0, 0, 0, 0.5);
.preload-logo { .preload-logo {
-webkit-app-region: drag;
position: fixed; position: fixed;
left: 0; left: 0;
top: 0; top: 0;

View File

@ -29,14 +29,8 @@ module.exports = {
configFileName: path.resolve(__dirname, 'tsconfig.json'), configFileName: path.resolve(__dirname, 'tsconfig.json'),
} }
}, },
{ { test: /\.scss$/, use: ['style-loader', 'css-loader', 'sass-loader'] },
test: /\.scss$/, { test: /\.css$/, use: ['style-loader', 'css-loader', 'sass-loader'] },
use: ['style-loader', 'css-loader', 'sass-loader'],
},
{
test: /\.css$/,
use: ['style-loader', 'css-loader', 'sass-loader'],
},
{ {
test: /\.(png|svg)$/, test: /\.(png|svg)$/,
loader: "file-loader", loader: "file-loader",
@ -66,10 +60,5 @@ module.exports = {
'path': 'commonjs path', 'path': 'commonjs path',
'rxjs': 'commonjs rxjs', 'rxjs': 'commonjs rxjs',
'zone.js': 'commonjs zone.js', 'zone.js': 'commonjs zone.js',
}, }
plugins: [
new webpack.ProvidePlugin({
"window.jQuery": "jquery",
}),
]
} }

View File

@ -6,7 +6,7 @@ import { Theme } from 'terminus-core'
class HypeTheme extends Theme { class HypeTheme extends Theme {
name = 'Hype' name = 'Hype'
css = require('./theme.scss') css = require('./theme.scss')
terminalBackground = '#1D272D' terminalBackground = '#010101'
} }