Open Crazypersonalph opened 11 months ago
Found examples:
Absolutely, your suggestion about using SVG images instead of unicode icons in BetterSEQTA+ makes a lot of sense. Originally, I opted for font-based icons primarily for their simplicity in CSS integration. However, this approach does have its drawbacks, particularly when it comes to color customization, which can get quite complex. Although it was a practical solution at the time, I'm open to exploring SVG images, given their stability and consistency.
I am currently using a closed source icon library, I can add all of the svg's to the project if you'd like. You can play around with a bit of an implementation.
I am currently using a closed source icon library, I can add all of the svg's to the project if you'd like. You can play around with a bit of an implementation.
Is it FontAwesome?
I am currently using a closed source icon library, I can add all of the svg's to the project if you'd like. You can play around with a bit of an implementation.
Is it FontAwesome?
No, it is https://www.untitledui.com/icons I have the full version along with all of the icons in SVG format.
But the question is @Crazypersonalph,
Is it worth replacing with javascript? Or do we want to be limited by using a background-image
. Before now it wasn't reasonable, but I modified dark mode to instead place a class .dark
on the main html element, so it might be feasible as long as we aren't doing anything too crazy with the text colours?
The main reason for going with an icon font originally was pretty much so that the icons would follow the currentColor of the elements without requiring any javascript.
Has this been patched? I cannot recreate it.
It's still there, but only occasionally shows up- that's what makes it quite difficult.
I think this is stale and should be closed as not planned because of the inactivity.
Will probably keep open since it is still relevant and will probably on the to-do in the future.
Good afternoon everyone, In my testing of BetterSEQTA+ and in my bugfixing, I have found that the use of unicode icons within the project creates undefined behaviour, that appears sometimes, but disappears other times.
Sometimes, said unicode icons such as the delete icon disappear and are replaced with the unicode icon not found placeholder.
I have found that its occurrence fluctuates, and because of this, I couldn't take a screenshot of it.
I believe the best course of action would be to replace the unicode icons with SVG images, as they have proven to be much more stable
Kind Regards