/atom-icon-fonts-legacy

Atom snippets for icon fonts that were removed from the main package

Primary LanguageJavaScriptMIT LicenseMIT

Icon Fonts (Legacy) for Atom

apm apm apm CircleCI

Snippets for icon fonts that have been deprecated from the main Icon Fonts package (see details).

This package is also available for Sublime Text and Visual Studio Code.

Installation

apm

  • Install package apm install icon-fonts-legacy (or use the GUI)

Using Git

  1. Change directory cd ~/.atom/packages/
  2. Clone repository git clone https://github.com/idleberg/atom-icon-fonts-legacy icon-fonts-legacy

Usage

Snippets are limited to the .text.html, source.(css|less|sass|scss|stylus) and .source.js.jsx scope. Typing the class name of an icon using the designated prefix will complete to a tag containing the icon class.

Prefixes

Prefix Icon Font Version
brandico Brandico Font
fi Foundation Icons v3 3.0
filetypes Glyphicons Filetypes 1.9.0
fa Font Awesome 4.7.0
foundico Foundation Icons 1.0.0
geomicon Geomicons Open 2.0.0
glyphicons Glyphicons Pro 1.9.0
halflings Glyphicons Halflings 1.9.0
icofont ShapeBootstrap IcoFont 1.0.0b
line Elegant Theme Line Icons
social Glyphicons Social 1.9.0
ratchicon Ratchicons 2.0.2
ui Semantic UI Icons 2.0.7

Examples:

  • foundicon-checkmark+Tab completes to <i class="foundicon-checkmark"></i>
  • glyphicons-check+Tab completes to <span class="glyphicons glyphicons-check"></span>
  • well, you get the idea

License

This work is licensed under the The MIT License.