From 0a6d6c5cd29375c6aeaa85cf8e3c6e54cb7de62f Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Thu, 13 Nov 2025 05:55:04 +0000 Subject: [PATCH] completionId: cgen-7bdf7c55ebd54f3481949f0896fe86d5 cgen-7bdf7c55ebd54f3481949f0896fe86d5 --- client/hooks/use-arm-toast.ts | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/client/hooks/use-arm-toast.ts b/client/hooks/use-arm-toast.ts index 47b8d068..d2877e29 100644 --- a/client/hooks/use-arm-toast.ts +++ b/client/hooks/use-arm-toast.ts @@ -46,15 +46,22 @@ export function useArmToast() { }, /** - * Show a warning toast with the current arm's accent color - */ - warning: (options: ArmToastOptions) => { - return aethexToast.arm({ - title: options.title || "Warning", - description: options.description, - duration: options.duration || 5000, - accentColor: theme.accentHex, - }); - }, - }; + * Show a warning toast with the current arm's accent color + */ + warning: (options: ArmToastOptions) => { + return aethexToast.arm({ + title: options.title || "Warning", + description: options.description, + duration: options.duration || 5000, + accentColor: theme.accentHex, + }); + }, + + /** + * Show an AeThex OS system toast with the current arm's accent color + */ + system: (message: string) => { + return aethexToast.system(message, theme.accentHex); + }, +}; }