Conversation
Signed-off-by: DL6ER <dl6er@dl6er.de>
yubiuser
left a comment
There was a problem hiding this comment.
Could you add it to packages.json please.
https://www.npmjs.com/package/material-icons
Do you want to replace some icons or only have the ability to add some new?
|
I'd advice against this for the same reason FA was switched to JS. We need to keep things as slim as possible. We can't keep adding stuff without considering load size and or times. IMHO either you replace FA altogether or leave it as is for now... |
|
Why is a slim size important for something that is meant to run locally? Is saving 100KB that will be cached for sure really worth not having the option for better icon? |
|
Consistency is one reason. Size is another. Bloat another one. Font Awesome is currently required if I'm not mistaken by the current libraries. My suggestion would be to either do it everywhere across the whole codebase or don't do it and maybe focus on updating AdminLTE, replacing bloated libraries by slimmer ones and so on. I'm all for new features, don't get me wrong. But if there's a chance to do it right too, I'd personally vote for the latter. |
|
I'm fine with merging this when we have a few icons we exchange/add. Only adding this now because we 'could use it later' doesn't seem right. |
What does this implement/fix?
Several open-source project are currently exploring moving away from font-awesome (fa) as fa seems to mostly only add new PRO (= paid) icons for a few years by now. One of the best alternatives seems to be https://developers.google.com/fonts/docs/material_icons (Google's mdi = "material design icons", 7400 free icons).
This PR adds
mdiin addition tofa. They can happily coexist.Example:
day

midnight

Related issue or feature (if applicable): N/A
Pull request in docs with documentation (if applicable): N/A
By submitting this pull request, I confirm the following:
git rebase)Checklist:
developmentalbranch.