Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 3.63 KB

README.md

File metadata and controls

47 lines (40 loc) · 3.63 KB

Raivo OTP issuer icons


This repository contains icons (including build scripts) for issuers that can be used in Raivo OTP
Built by Tijme Gommers – Buy me a coffee via PayPal

Contributing

The example below shows how an icon can be added for the service "Twitter".

  1. Create the directory ./vectors/twitter.
  2. Add a scalable SVG (that meets the requirements) at ./vectors/twitter/twitter.svg.
  3. Add ./vectors/twitter/information.json to the directory with this content. Additionally, search terms can be added.

SVG requirements

  • must be scalable (must not have a static width/height, use a viewBox instead)
  • must not have whitespace around the SVG (use this JSFiddle to remove the whitespace)
  • must not include the doctype element
  • must start with the <svg> opening element
  • must end with the </svg> closing element
  • must be a vector (do not embed a PNG inside an SVG)
  • file and directory name must be lowercase without spaces (use dashes instead)
  • recommended to be square

For examples, check the SVG of e.g. Amazon, Adobe or Bitbucket.