completionId: cgen-bac09d8b12c047d5a00dffdbe10b6914
cgen-bac09d8b12c047d5a00dffdbe10b6914
This commit is contained in:
parent
033c409eaf
commit
d962b7fa03
1 changed files with 13 additions and 1 deletions
|
|
@ -105,7 +105,19 @@ export const aethexToast = {
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
system: (message: string) => {
|
system: (message: string, accentColor?: string) => {
|
||||||
|
// If accentColor is provided, use arm variant
|
||||||
|
if (accentColor) {
|
||||||
|
return toast({
|
||||||
|
title: "🔧 AeThex OS",
|
||||||
|
description: message,
|
||||||
|
duration: 4000,
|
||||||
|
variant: "arm" as any,
|
||||||
|
accentColor: accentColor,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Otherwise use default aethex variant
|
||||||
return toast({
|
return toast({
|
||||||
title: "🔧 AeThex OS",
|
title: "🔧 AeThex OS",
|
||||||
description: message,
|
description: message,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue