/swiss-canton-iconfont

Serve the 26 Swiss Cantons in a simple icon font

Primary LanguageCSSMIT LicenseMIT

Swiss Canton Iconfont

Demo

Usage

  • Install by bower install swiss-canton-iconfont --save
  • Reference dist/css/style.css in your project. (dist/fonts/* must also be available)
  • Add sc-icon-{SHORTHAND} to your project. (replace {SHORTHAND} with abbreviation of your choosen canton, e.g zh for Zurich, vs for Valais)

ToDo

  • Create SASS and LESS files to change Class-Handler to your needs

I want to create this for my own country

While developing the icon font I realised how easy it is!

  • Get a SVG file of your country
  • Open the file in Sketch.app or something similiar
  • Export single layers as SVG
  • Import single files to IcoMoon
  • Name it and export as font
  • Done

Credits

License

MIT, 2014 Stefan Zweifel