Theming individual toast icons #58
RatulMaharaj
started this conversation in
General
Replies: 1 comment 3 replies
-
Hello! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @kbrgl
This library is 🔥, so let me start by saying thanks!
I've been trying to figure out how to change the colours of the icons that come bundled with
svelte-french-toast
, I really like them but wanted to tweak them ever so slightly to be a bit more consistent with the rest of my app.The website does show how to do this, but if you follow that approach, it results in both the
toast.success
andtoast.error
having the same colour.By reading some of the source, I realised it's possible to do this as well:
Took me a a little while to figure this out so I thought I would post this here for anyone else who may be trying to achieve the same thing.
Beta Was this translation helpful? Give feedback.
All reactions