Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Suggestion] SVG Icons #87

Open
lewislarsen opened this issue Sep 7, 2020 · 1 comment
Open

[Feature Suggestion] SVG Icons #87

lewislarsen opened this issue Sep 7, 2020 · 1 comment

Comments

@lewislarsen
Copy link

First of all, I love this notification library, great job!

An improvement to this library would be to allow the use of SVG icons, this change would lessen dependencies on font icon kits and expand the number of icons that can be used with this library.

AbrahemAlhofe added a commit to AbrahemAlhofe/notyf that referenced this issue May 1, 2021
…n option

   - change icon type in INotyfNotificationOptions
   - update ( browserslist ) database

close caroso1222#100, fix caroso1222#87;
@AbrahemAlhofe
Copy link
Contributor

Just pass the svg icon as a string

new Notyf({
 icon : '<svg> . . . </svg>'
})

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

No branches or pull requests

2 participants