web: full SmallDialog component, one flexible meowbalt component

- fully stylized small dialog: header, title, subtext, state without meowbalt
- moved meowbalt into his own adaptive component, no need to import/create new ones for each emotion
- better types for dialog related stuff
- type for meowbalt's emotions
- better padding in small dialog
This commit is contained in:
wukko
2024-07-20 20:34:19 +06:00
parent e541bdc6d7
commit 720b3c5f68
11 changed files with 86 additions and 62 deletions

View File

@@ -2,7 +2,7 @@
import { t } from "$lib/i18n/translations";
import Omnibox from "$components/save/Omnibox.svelte";
import MeowbaltLoaf from "$components/meowbalt/MeowbaltLoaf.svelte";
import Meowbalt from "$components/misc/Meowbalt.svelte";
</script>
<svelte:head>
@@ -11,7 +11,7 @@
<div id="cobalt-save-container" class="center-column-container">
<main id="cobalt-save">
<MeowbaltLoaf />
<Meowbalt emotion="smile" />
<Omnibox />
</main>
<div id="terms-note">