diff --git a/gui/dashboard/app.css b/gui/dashboard/app.css
index ab0e6c0..3163516 100644
--- a/gui/dashboard/app.css
+++ b/gui/dashboard/app.css
@@ -1,5 +1,6 @@
html, body {
--body-bg: #000;
+ --body-fg: #fff;
--tile-bg: #181818;
--grey: grey;
--red: red;
@@ -9,8 +10,6 @@ html, body {
--cols: 4;
--rows: 3;
- background-color: var(--body-bg);
- color: #fff;
padding: 0;
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
@@ -19,6 +18,7 @@ html, body {
.theme-light {
--body-bg: #fff;
+ --body-fg: #000;
--tile-bg: #dedede;
--dark: #c2c2c2;
}
@@ -56,7 +56,6 @@ label {
label input,
label select {
display: block;
- width: 100%;
margin-top: 0.5rem;
font-size: 1rem;
font-family: inherit;
diff --git a/gui/dashboard/app.svelte b/gui/dashboard/app.svelte
index 2231678..0e13d8c 100644
--- a/gui/dashboard/app.svelte
+++ b/gui/dashboard/app.svelte
@@ -3,10 +3,10 @@
import TileRawValue from './tile-rawvalue.svelte';
import Settings from './settings.svelte';
import { flip } from 'svelte/animate';
- import { shuffle, ringBell } from './lib';
+ import { settings, shuffle, ringBell } from './lib';
const [ send, receive ] = shuffle;
- const size = 3 * 4 - 1;
+ const size = ($settings.cols || 4) * ($settings.rows || 3) - 1;
let pageNum = -1;
let tiles = [];
let time = '';
@@ -91,7 +91,10 @@