Skip to content

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

Open
st0o0 wants to merge 2 commits into
Aaronontheweb:devfrom
st0o0:feature/toast-color-support
Open

feat: add color and icon support to toast notifications#296
st0o0 wants to merge 2 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
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.

1 participant