Skip to content

feat: add color and icon support to toast notifications#296

Merged
Aaronontheweb merged 3 commits into
Aaronontheweb:devfrom
st0o0:feature/toast-color-support
Jun 17, 2026
Merged

feat: add color and icon support to toast notifications#296
Aaronontheweb merged 3 commits into
Aaronontheweb:devfrom
st0o0:feature/toast-color-support

Conversation

@st0o0

@st0o0 st0o0 commented Jun 11, 2026

Copy link
Copy Markdown
Contributor
  • Add optional Color and Icon properties to ToastOptions and ToastMessage, allowing callers to customize the
    border color and leading icon of toast notifications. Defaults remain unchanged (BrightGreen border, ✓ icon).
  • Add a Toast Notifications gallery page to Termina.Demo.Gallery with presets for success, error, warning, info,
    and custom toasts — demonstrating all new options in an interactive list.
  • Update docs/advanced/clipboard-and-feedback.md with a new Custom Colors and Icons section including usage
    examples.

Test plan

  • Run Termina.Demo.Gallery, navigate to Toast Notifications, trigger each preset and verify
    color/icon/position render correctly
  • Verify the default toast (no color/icon override) still renders with green border and checkmark
  • Confirm existing clipboard page toasts are unaffected
  • dotnet build passes with zero warnings

@st0o0 st0o0 changed the title feat: add color support to toast notifications feat: add color and icon support to toast notifications Jun 12, 2026
@Aaronontheweb

Copy link
Copy Markdown
Owner
pr-296-toast-gallery

Had Netclaw render this for me - looks great!

@Aaronontheweb Aaronontheweb left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Aaronontheweb Aaronontheweb merged commit 64f674d into Aaronontheweb:dev Jun 17, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants