Open rynomars opened 3 months ago
I had the same issue. After removing the dashes (-), everything works well.
Hi @rynomars, apologies for the delay on reviewing this.
I think this makes sense to do (I must have overlooked that -
isn't allowed in the prefix).
I'm assuming that, if this has always resulted in an error, no one is already using this in existing apps, so it should be safe to rename these (unless it worked with the @svg
directive, or if people used the file directly).
I'm not sure if it looks a bit odd having them named fassharp
, etc. but I can't think of a good alternative right now.
This PR removes the dashes (-) from the prefixes in the config. When you attempt to use the "xxx-sharp" svg an error is encountered.
The blade-ui component documentation states:
It's also important to note that icon prefixes cannot contain dashes (-) as this is the delimiter which we use to split it from the rest of the icon name.