1
0
Fork 0
mirror of https://github.com/matomo-org/matomo-icons.git synced 2024-09-19 17:03:45 +02:00
matomo-icons/README.md

31 lines
1.9 KiB
Markdown
Raw Normal View History

2018-01-10 19:53:02 +01:00
# Matomo-Icons
2017-03-28 18:08:48 +02:00
2021-02-17 21:18:58 +01:00
[![Build Status](https://api.travis-ci.com/matomo-org/matomo-icons.svg?branch=master)](https://travis-ci.com/matomo-org/matomo-icons)
2017-05-10 17:32:15 +02:00
2018-01-10 19:53:02 +01:00
This reposistory provides the source files for the icons in [matomo](https://github.com/matomo-org/matomo) and the scripts used to resize them to a common size.
2017-03-28 18:08:48 +02:00
## Contributing
2018-01-10 19:53:02 +01:00
An icon is missing or you have a better one? Create a [new issue](https://github.com/matomo-org/matomo-icons/issues/new) or, even better, open a pull request.
You can find a up-to-date list of all improvable icons on [Travis](https://app.travis-ci.com/github/matomo-org/matomo-icons).
2017-05-09 08:43:57 +02:00
All source files except those in `devices`, `flags`, `searchEngines` and `socials` need to have a second file called `iconname.ext.source` that mentions where the image is from.
### Naming conventions
| icon type | example | possible names |
| --------- | ------- | ----------- |
2018-01-10 19:53:02 +01:00
|brand|*Apple*| *Device detection* in Matomo Administration page|
2021-02-17 21:23:33 +01:00
|browsers|*FF*|https://github.com/matomo-org/device-detector/blob/master/Parser/Client/Browser.php#L37 |
2018-01-10 19:53:02 +01:00
|devices|*smartphone*| *Device detection* in Matomo Administration page|
2017-05-09 08:43:57 +02:00
|flags|*at*| all except *un* and *gb-** |
2021-02-17 21:23:33 +01:00
|os|*WIN*|https://github.com/matomo-org/device-detector/blob/master/Parser/OperatingSystem.php#L38 |
|plugins|*flash*|files in [plugins/DevicePlugins/Columns/](https://github.com/matomo-org/matomo/tree/4.x-dev/plugins/DevicePlugins/Columns) |
2018-01-10 19:53:02 +01:00
|searchEngines|*google.com*|https://github.com/matomo-org/searchengine-and-social-list/blob/master/SearchEngines.yml |
2021-02-17 21:23:33 +01:00
|SEO|*bing.com*|https://github.com/matomo-org/matomo/tree/4.x-dev/plugins/SEO |
2018-01-10 19:53:02 +01:00
|socials|*facebook.com*|https://github.com/matomo-org/searchengine-and-social-list/blob/master/Socials.yml |
2017-05-09 08:43:57 +02:00
### File Formats
Ideally all source files should be SVGs or high resolution (>100px) PNGs. As this is not always possible, JPGs, GIFs and (even multiresolution) ICOs are supported.