- {bodyText}
- {#if bodySubText}
-
{bodySubText}
+
diff --git a/web/src/components/meowbalt/MeowbaltError.svelte b/web/src/components/meowbalt/MeowbaltError.svelte
new file mode 100644
index 00000000..34ec570e
--- /dev/null
+++ b/web/src/components/meowbalt/MeowbaltError.svelte
@@ -0,0 +1,19 @@
+
+
+
+
+
diff --git a/web/src/components/meowbalt/MeowbaltLoaf.svelte b/web/src/components/meowbalt/MeowbaltLoaf.svelte
index 908b1ec8..3e8533e3 100644
--- a/web/src/components/meowbalt/MeowbaltLoaf.svelte
+++ b/web/src/components/meowbalt/MeowbaltLoaf.svelte
@@ -6,7 +6,6 @@
id="meowbalt-loaf"
src="/meowbalt/smile.png"
height="152"
- width="141"
alt={$t("a11y.meowbalt.smile")}
/>
diff --git a/web/src/components/save/buttons/DownloadButton.svelte b/web/src/components/save/buttons/DownloadButton.svelte
index 718a9041..5201b3bc 100644
--- a/web/src/components/save/buttons/DownloadButton.svelte
+++ b/web/src/components/save/buttons/DownloadButton.svelte
@@ -18,11 +18,13 @@
let defaultErrorPopup = {
id: "save-error",
type: "small",
+ meowbalt: "error",
title: "",
bodySubText: "",
buttons: [{
text: $t("general.gotit"),
color: "gray",
+ main: true,
action: () => {},
}]
}
diff --git a/web/src/lib/types/dialog.ts b/web/src/lib/types/dialog.ts
index b473acd1..20bea678 100644
--- a/web/src/lib/types/dialog.ts
+++ b/web/src/lib/types/dialog.ts
@@ -1,14 +1,16 @@
export type DialogButton = {
text: string,
color: string,
+ main: boolean,
action: () => unknown | Promise
}
export type DialogInfo = {
id: string,
type: "small",
+ meowbalt: "error",
title: string,
bodyText: string,
bodySubText: string,
- buttons: DialogButton[]
+ buttons: DialogButton[],
}
diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte
index 01f025fe..4af2d963 100644
--- a/web/src/routes/+layout.svelte
+++ b/web/src/routes/+layout.svelte
@@ -66,10 +66,14 @@
--button: #f4f4f4;
--button-hover: #e8e8e8;
--button-hover-transparent: rgba(0, 0, 0, 0.06);
- --button-stroke: rgba(0, 0, 0, 0.05);
+ --button-stroke: rgba(0, 0, 0, 0.06);
--button-text: #282828;
--button-box-shadow: 0 0 0 1.5px var(--button-stroke) inset;
+ --popup-bg: #f1f1f1;
+ --popup-backdrop: var(--primary);
+ --popup-stroke: rgba(0, 0, 0, 0.08);
+
--sidebar-bg: #000000;
--sidebar-highlight: #ffffff;
--sidebar-hover: rgba(255, 255, 255, 0.1);
@@ -120,6 +124,10 @@
--button-text: #e1e1e1;
--button-box-shadow: 0 0 0 1.5px var(--button-stroke) inset;
+ --popup-bg: #191919;
+ --popup-backdrop: var(--primary);
+ --popup-stroke: rgba(255, 255, 255, 0.08);
+
--sidebar-bg: #101010;
--sidebar-highlight: #f2f2f2;
@@ -319,15 +327,6 @@
font-size: 11px;
}
- :global(dialog) {
- max-height: 100%;
- max-width: 100%;
- padding: var(--padding);
- border-radius: var(--border-radius);
- border: none;
- pointer-events: all;
- }
-
:global(.subtext) {
font-size: 12.5px;
font-weight: 500;
diff --git a/web/static/meowbalt/checking.png b/web/static/meowbalt/checking.png
new file mode 100644
index 00000000..0d6a51c2
Binary files /dev/null and b/web/static/meowbalt/checking.png differ
diff --git a/web/static/meowbalt/error.png b/web/static/meowbalt/error.png
new file mode 100644
index 00000000..f20c1d63
Binary files /dev/null and b/web/static/meowbalt/error.png differ
diff --git a/web/static/meowbalt/think.png b/web/static/meowbalt/think.png
new file mode 100644
index 00000000..2b06f0cc
Binary files /dev/null and b/web/static/meowbalt/think.png differ