Icon Fonts (Legacy) for Atom
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
- Change directory
cd ~/.atom/packages/
- 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 | – |
filetypes |
Glyphicons Filetypes | 1.9.0 |
fontawesome |
Font Awesome | 4.7.0 |
foundico |
Foundation Icons v1 | 1.0.0 |
fi |
[Foundation Icons v3][fi] | 3.0 |
geomicon |
[Geomicons Open][geomicon] | 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.