device-detector icon indicating copy to clipboard operation
device-detector copied to clipboard

Icons

Open Simbiat opened this issue 3 years ago • 4 comments

Not an issue, but suggestion: I've bothered enough to create a collection of icons here based on names of OSs and apps from regex yaml files in the library. I plan to use it for an audit page so that it won't be just text. Since it may be useful for others doing something similar, perhaps there is a point in adding link to the collection to README of the Device Detector? Or is it too niche?

Simbiat avatar Aug 24 '22 16:08 Simbiat

Just FYI, while it doesn't cover the same set of names, Matomo Icons (https://github.com/matomo-org/matomo-icons/) might be of interest for you.

Findus23 avatar Aug 24 '22 21:08 Findus23

It is a nice collection as well, but it may not be as convenient to use with Device Detector. I've added a sample code to readme of my repository.

Simbiat avatar Aug 25 '22 04:08 Simbiat

Indeed, but just to document it: You can use matomo-icons using the same code that Matomo uses which I simplified here: https://github.com/Findus23/devicedetector.net/blob/master/src/IconPath.php

for use at https://devicedetector.lw1.at

Findus23 avatar Aug 25 '22 10:08 Findus23

Maybe then both should be mentioned in README for Device Detector?

Simbiat avatar Aug 25 '22 10:08 Simbiat

Updated my library of icons and remembered about this thread today 😅 So, should we add links to the 2 packs to README? I can create a PR, but I certainly do not want to make it look like I am shamelessly advertising my own library

Simbiat avatar Aug 15 '23 05:08 Simbiat