We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
iconify's getIcon uses validateIconName which enforce some validation for an icon's name.
getIcon
validateIconName
One validation is that a name must be split with - which is often not the case with users custom icons
-
https://stackblitz.com/edit/nuxt-starter-qlykyd?file=icons%2FEuro.svg,nuxt.config.ts,app.vue
in this reproduction, we can't see my-icons:Euro because Euro is in PascalCase
my-icons:Euro
Either a documentation fix about naming convention or fix it in iconify or we could also merge prefix with the name ?
The text was updated successfully, but these errors were encountered:
Stumbled upon this quirk too.
It seems that only lowercase letters, digits and dash (-) is allowed inside icon filename.
I was hoping to be able to use uppercase letters and underscores... I wonder why this naming convention is never mentioned in the docs.
Sorry, something went wrong.
Because we're using @iconify and this is the convention @iconify uses
I'll work on it when i have some free time
No branches or pull requests
Description
iconify's
getIcon
usesvalidateIconName
which enforce some validation for an icon's name.One validation is that a name must be split with
-
which is often not the case with users custom iconsReproduction
https://stackblitz.com/edit/nuxt-starter-qlykyd?file=icons%2FEuro.svg,nuxt.config.ts,app.vue
in this reproduction, we can't see
my-icons:Euro
because Euro is in PascalCaseSolution
Either a documentation fix about naming convention or fix it in iconify or we could also merge prefix with the name ?
The text was updated successfully, but these errors were encountered: