Skip to content

MahoCommerce/icons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Maho icons library

This repository contains a set of 5800+ icons, in SVG format, released under the MIT license.

We did not do the work of creating the icons, all of the credits and support goes to the awesome team at Tabler that created the Tabler Icons project.

Why we chose this icon pack

There are multiple factors why, after a lot of research, we chose this specific icon pack to be bundled with Maho:

  • MIT license
  • Image format in SVG
  • Available in outline and filled variants
  • Support for currentColor and strokeWidth for infinite customizability via CSS

Why we created this repository

  • Upstream repository wasn't available on Packagist
  • We wanted to have only the SVG icons in the repository and nothing else (upstream has a lot more stuff that's not needed for our use)
  • We wanted to use SVGO to optimize every icon, we have an automatic workflow in place that imports changes from the original repo and applies all the optimizations needed before committing it and making it available to everybody

How is this repository integrated into Maho

It's a simple composer dependency, all the icons live only in the vendor folder and are not accessible via web (eliminating the risk of hotlinking. Maho's core reads it from vendor and inlines them in the generated HTML.
This allows for the possibility of using CSS to change color and strokeWidth of the icons.

Is this project only Maho related?

Not really, there's no Maho related code in this repository, thus you can embed it in any project.

About

5800+ optimized SVG icons

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •