stack-auth / stack

Open-source Auth0/Clerk alternative
https://stack-auth.com
Other
3.43k stars 232 forks source link

Colorful toasts (green for success, red for error) #270

Open fomalhautb opened 1 week ago

Dun-sin commented 1 week ago

Hi @fomalhautb can I take this?

fomalhautb commented 1 week ago

Hi @fomalhautb can I take this?

Sure, assigned you

Dun-sin commented 6 days ago

@fomalhautb doesn't look like there's a way to let the toast know it's an error or a success toast.

also what about toasts that are just information?

Jarvis-3000 commented 1 day ago

Hi @fomalhautb I would like to take this.

There is already default and destructive variants in the toast.tsx file I am thinking to add more variants success, warning info neutral primary