Skip to content

tralles/atom-icon-fonts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Icon Fonts for Atom

The MIT License apm Travis David

Atom snippets for a variety of icon fonts (see details).

Converted from the package for Sublime Text.

Installation

apm

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

GitHub

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

Usage

Snippets are limited to the .text.html scope. Typing the class name of an icon using the designated prefix will complete to a tag containing the icon class. Exceptions are fa-stack (<span>) and fa-ul (<ul>).

Prefixes

Prefix Icon Font Version
ai Android Icons 1.0.0
brandico Brandico Font
cc Creative Commons Icon Font 1.2.1
el-icon Elusive Icons ?
fa Font Awesome 4.4.0
fi Foundation Icons 3.0
foundico Foundation Icons 1.0
glyphicon Bootstrap Glyphicons 3.3.5
line Elegant Theme Line Icons
mfg MFG Labs Iconset
octicon GitHub Octicons 2.4.1
openwebicons OpenWeb Icons ?
pf PaymentFont 1.1.2
ratchicon Ratchicons 2.0.2
oi Open Iconic 1.1.0
st Stack Icons ?
typicon Typicons 2.0.7
ui Semantic UI Icons 2.0.7

Examples:

  • fa-check+Tab completes to <i class="fa fa-check"></i>
  • glyphicon-check+Tab completes to <span class="glyphicon glyphicon-check"></span>
  • octicon-check+Tab completes to <span class="octicon octicon-check"></span>
  • well, you get the idea

License

This work is licensed under the The MIT License.

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd

About

Atom snippets for a variety of icon fonts

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 99.9%
  • JavaScript 0.1%