From 9ce3efd4e3199bc27f80de6d09fe7a64de74fd48 Mon Sep 17 00:00:00 2001 From: Alex Sorafumo Date: Tue, 17 Nov 2026 15:41:38 +1100 Subject: [PATCH 1/3] style(ui): toasts match the info block, with a solid shadow like buttons Each toast has an icon strip and border in its type colour on a tinted panel, the same as the extensions info block. The soft shadow is now the solid darker base that raised buttons use. Co-Authored-By: Claude Opus 5.5 --- src/app/ui/controls/toast-outlet.component.ts | 21 +++++++ src/styles.css | 58 ++++++++++++++----- 2 files changed, 64 insertions(+), 15 deletions(-) diff --git a/src/app/ui/controls/toast-outlet.component.ts b/src/app/ui/controls/toast-outlet.component.ts index a1fc4d348..f6d58298a 100644 --- a/src/app/ui/controls/toast-outlet.component.ts +++ b/src/app/ui/controls/toast-outlet.component.ts @@ -12,6 +12,18 @@ import { ViewContainerRef, } from '@angular/core'; import { dismissToast, Toast, toasts } from '../../common/notifications'; +import { ApplicationIcon } from '../../common/types'; +import { IconComponent } from '../icon.component'; + +/** Icon for each toast type. Other types use the info icon */ +const TOAST_ICONS: Readonly> = { + success: { content: 'done' }, + info: { content: 'info' }, + error: { content: 'error' }, + warn: { content: 'warning' }, + warning: { content: 'warning' }, + pending: { content: 'pending' }, +}; /** * Shows the toasts made with `notify()` and its variants. @@ -32,6 +44,9 @@ import { dismissToast, Toast, toasts } from '../../common/notifications'; [class]="toast.type" animate.leave="toast-leave" > +
+ +
{{ toast.message }} @if (toast.action) {