Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Commit

Permalink
Merge branch 'feature-ui'
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Jonsey committed Feb 3, 2020
2 parents 726de18 + 3c8804e commit 2d8913c
Show file tree
Hide file tree
Showing 14 changed files with 60,440 additions and 237 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ The right pane is made up of the inputs to define the look and behaviour of a "b
- Action - the action to run for that type.
- Choose icon - choose the icon to be the background image for that "button" on that page.
- Remove icon - remove the icon from the "button".
- Text - Set the text to be superimposed over the image, if no image is specified, it will just display the text
- Save - saves the button's config to the streamdeck.
Binary file modified docs/editor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const gulp = require('gulp');

gulp.task('css', () => {
const postcss = require('gulp-postcss');

return gulp.src('resources/css/app.css')
.pipe(postcss([
require('tailwindcss')('./tailwind.config.js'),
require('autoprefixer'),
]))
.pipe(gulp.dest('webroot/css'))
});

gulp.task('watch', () => {
gulp.watch('resources/**/*.css', gulp.parallel(['css']));
});
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Auto reloading
require('electron-reload')(__dirname);

const {app, BrowserWindow, ipcMain} = require("electron");
const dbus = new (require("./dbus.js"))();

Expand All @@ -10,12 +13,15 @@ function createWindow () {
mainWindow = new BrowserWindow({
width: 1280,
height: 720,
frame: true,
transparent: true,
// titleBarStyle: 'hidden',
webPreferences: {
nodeIntegration: true
}
});

mainWindow.setMenu(null);
// mainWindow.setMenu(null);

mainWindow.loadFile("./webroot/index.html");

Expand Down
Loading

0 comments on commit 2d8913c

Please sign in to comment.