diff --git a/src/lib/components/ToastContainer.svelte b/src/lib/components/ToastContainer.svelte index b568369..4b07cea 100644 --- a/src/lib/components/ToastContainer.svelte +++ b/src/lib/components/ToastContainer.svelte @@ -1,22 +1,15 @@ @@ -25,9 +18,9 @@
- {icons[t.type]} + {t.message}
{/each} diff --git a/src/lib/components/icon/Sprite.svelte b/src/lib/components/icon/Sprite.svelte index 2624d1a..ba744f7 100644 --- a/src/lib/components/icon/Sprite.svelte +++ b/src/lib/components/icon/Sprite.svelte @@ -120,4 +120,21 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/lib/types/icon-ids.ts b/src/lib/types/icon-ids.ts index 50848c0..7ac85d4 100644 --- a/src/lib/types/icon-ids.ts +++ b/src/lib/types/icon-ids.ts @@ -7,5 +7,9 @@ export type IconId = "starburst"| "home"| "menu"| - "logo" + "logo"| + "success"| + "error"| + "warning"| + "info" ; \ No newline at end of file diff --git a/src/routes/app/+layout.svelte b/src/routes/app/+layout.svelte index 38ed622..bb9b940 100644 --- a/src/routes/app/+layout.svelte +++ b/src/routes/app/+layout.svelte @@ -89,7 +89,7 @@ -