Skip to content

Commit

Permalink
fix: add text and bg colors to loading toast (#217)
Browse files Browse the repository at this point in the history
Closes #216
  • Loading branch information
GregoMac1 authored Oct 18, 2024
1 parent 7c40a9d commit d91a560
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
classes: {
toast:
'shadow-xl px-4 py-3 flex items-center gap-x-3 max-w-full w-full rounded mx-auto text-xs mx-0',
loading: 'bg-shade-0',
error: 'text-red-50 bg-red-700',
success: 'text-emerald-50 bg-emerald-700',
warning: 'text-yellow-50 bg-yellow-700',
Expand Down
2 changes: 1 addition & 1 deletion src/routes/settings/Ollama.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
async function pullModel() {
if (!modelTag) return;
isPullInProgress = true;
const toastId = toast.message($LL.pullingModel(), { description: modelTag });
const toastId = toast.loading($LL.pullingModel(), { description: modelTag });
try {
await ollamaPull(
Expand Down

0 comments on commit d91a560

Please sign in to comment.