diff --git a/gui/dashboard/app.css b/gui/dashboard/app.css
index 3163516..f62e8c8 100644
--- a/gui/dashboard/app.css
+++ b/gui/dashboard/app.css
@@ -3,8 +3,8 @@ html, body {
--body-fg: #fff;
--tile-bg: #181818;
--grey: grey;
- --red: red;
- --green: green;
+ --red: #f00;
+ --green: #1d641d;
--dark: #0a0a0a;
--radius: 10px;
--cols: 4;
@@ -17,10 +17,11 @@ html, body {
}
.theme-light {
- --body-bg: #fff;
+ --body-bg: #d6d6d6;
--body-fg: #000;
--tile-bg: #dedede;
--dark: #c2c2c2;
+ --green: #377137;
}
.mb {
diff --git a/gui/dashboard/modal.svelte b/gui/dashboard/modal.svelte
index c2c5fe2..25ab89c 100644
--- a/gui/dashboard/modal.svelte
+++ b/gui/dashboard/modal.svelte
@@ -4,24 +4,21 @@
export let title = '';
export let open = false;
- function close() {
- open = false;
- }
-
- function keyup(event) {
+ function keydown(event) {
if (event.key === 'Escape') {
- close();
+ event.preventDefault();
+ open = false;
}
}
-