leompeters
leompeters

Reputation: 1035

What are the Atom editor icon classes for Project Manager package?

What are the classes already provided by Atom editor (atom.io) like icon-squirrel to use in settings talked in project-manager package?

Upvotes: 6

Views: 2877

Answers (3)

Shtev
Shtev

Reputation: 41

You can see exactly what subset of Octicon icons are used by Atom by viewing the Atom Styleguide.

This package was installed already for me, but if it isn't for you then you can either install it through Atom's package manager interface or via apm install styleguide in the command line.

Once installed, open the styleguide in Atom with cmd-ctrl-shift-g (macOS) and ctrl-shift-g (Windows and Linux) by default. The styleguide will open in a new tab where you can expand or collapse all headings.

Expand Icons to see the full list. Helpfully giving you visibility on each icon as well as the string to use to invoke each.

A partial screenshot of the Icon section in the Atom Styleguide

Upvotes: 0

Bruno Loff
Bruno Loff

Reputation: 135

The icons are all listed in the octicons.less file of the atom repository:

https://github.com/atom/atom/blob/master/static/octicons.less

Notice however that the latest github version of atom (beta 1.13) is not yet released as of this date. It includes octicons 4.4.

For the current atom version (v1.12), which only includes octicons 2.1.2, go here:

https://github.com/atom/atom/blob/1.12-releases/static/octicons.less

Upvotes: 1

leompeters
leompeters

Reputation: 1035

I found the answer today in Github Octicons. As Atom is from Github, it works very well on its hackable text editor!

Upvotes: 10

Related Questions