-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add possibility to use FontAwesome icons instead of Glyphicons #152
Conversation
Codecov Report
@@ Coverage Diff @@
## master #152 +/- ##
===========================================
+ Coverage 88.91% 89.02% +0.1%
- Complexity 368 372 +4
===========================================
Files 19 19
Lines 1146 1157 +11
===========================================
+ Hits 1019 1030 +11
Misses 127 127
Continue to review full report at Codecov.
|
Thanks for the PR. I've intentionally removed font-specific method in a previous version because I think it is up to the user of the helpers to add their own templates. We are currently working on a dedicated For these reason I have to decline the PR in its actual state, feel free to comment on the issue if you have idea regarding the implementation. |
I'm not sure that a new helper is needed for the icons.
The array $fonts could be a property of the extendable class at runtime, such as templates. Although I have no idea how this should be implemented. I hope my ideas serve to improve your helpers as much as they have helped me. |
If the idea is to create a new helper for the icons I think FontAwesome support should not be removed from the HTML helper until the new ICON helper replaces it. When the support was removed without an alternative, I caused a small inconvenience, since in my projects I usually use both FontAwesome and Glyphicon. The solution to change the template does not seem appropriate when you switch from one source to another repeatedly, it is not clear and sometimes you do not know what source you are using. At least I think so. |
@alphp The goal of the The helper will manage a set of templates (possibly with a non-linear organization) so that you would be able to select one easily when needed and to use them with the easy-icon feature. We will also likely add a special In the mean-time, you can create your own |
No description provided.