mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
⬆️ octicons@2.1.2
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
path = require 'path'
|
||||
|
||||
module.exports = (grunt) ->
|
||||
grunt.registerTask 'update-octicons', 'Update octicon font and LESS variables', ->
|
||||
pathToOcticons = path.resolve('..', 'octicons')
|
||||
if grunt.file.isDir(pathToOcticons)
|
||||
# Copy font-file
|
||||
fontSrc = path.join(pathToOcticons, 'octicons', 'octicons.woff')
|
||||
fontDest = path.resolve('static', 'octicons.woff')
|
||||
grunt.file.copy(fontSrc, fontDest)
|
||||
|
||||
# Update Octicon UTF codes
|
||||
glyphsSrc = path.join(pathToOcticons, 'data', 'glyphs.yml')
|
||||
output = []
|
||||
for {css, code} in grunt.file.readYAML(glyphsSrc)
|
||||
output.push "@#{css}: \"\\#{code}\";"
|
||||
|
||||
octiconUtfDest = path.resolve('static', 'variables', 'octicon-utf-codes.less')
|
||||
grunt.file.write(octiconUtfDest, "#{output.join('\n')}\n")
|
||||
else
|
||||
grunt.log.error("octicons repo must be cloned to #{pathToOcticons}")
|
||||
false
|
||||
@@ -26,6 +26,7 @@
|
||||
.make-icon(beer);
|
||||
.make-icon(book);
|
||||
.make-icon(bookmark);
|
||||
.make-icon(briefcase);
|
||||
.make-icon(broadcast);
|
||||
.make-icon(browser);
|
||||
.make-icon(bug);
|
||||
@@ -37,6 +38,7 @@
|
||||
.make-icon(chevron-right);
|
||||
.make-icon(chevron-up);
|
||||
.make-icon(circle-slash);
|
||||
.make-icon(circuit-board);
|
||||
.make-icon(clippy);
|
||||
.make-icon(clock);
|
||||
.make-icon(cloud-download);
|
||||
@@ -114,6 +116,7 @@
|
||||
.make-icon(jump-up);
|
||||
.make-icon(key);
|
||||
.make-icon(keyboard);
|
||||
.make-icon(law);
|
||||
.make-icon(light-bulb);
|
||||
.make-icon(link);
|
||||
.make-icon(link-external);
|
||||
@@ -123,36 +126,26 @@
|
||||
.make-icon(lock);
|
||||
.make-icon(log-in);
|
||||
.make-icon(log-out);
|
||||
.make-icon(logo-apps);
|
||||
.make-icon(logo-atom);
|
||||
.make-icon(logo-chat);
|
||||
.make-icon(logo-gist);
|
||||
.make-icon(logo-github);
|
||||
.make-icon(logo-octicons);
|
||||
.make-icon(logo-talks);
|
||||
.make-icon(mail);
|
||||
.make-icon(mail-read);
|
||||
.make-icon(mail-reply);
|
||||
.make-icon(mark-facebook);
|
||||
.make-icon(mark-github);
|
||||
.make-icon(mark-github-detail);
|
||||
.make-icon(mark-google);
|
||||
.make-icon(mark-twitter);
|
||||
.make-icon(markdown);
|
||||
.make-icon(megaphone);
|
||||
.make-icon(mention);
|
||||
.make-icon(microscope);
|
||||
.make-icon(milestone);
|
||||
.make-icon(mirror);
|
||||
.make-icon(mirror-private);
|
||||
.make-icon(mirror-public);
|
||||
.make-icon(mortar-board);
|
||||
.make-icon(move-down);
|
||||
.make-icon(move-left);
|
||||
.make-icon(move-right);
|
||||
.make-icon(move-up);
|
||||
.make-icon(mute);
|
||||
.make-icon(mute-video);
|
||||
.make-icon(no-newline);
|
||||
.make-icon(node-js);
|
||||
.make-icon(octoface);
|
||||
.make-icon(organization);
|
||||
.make-icon(package);
|
||||
@@ -161,12 +154,12 @@
|
||||
.make-icon(person);
|
||||
.make-icon(person-add);
|
||||
.make-icon(person-follow);
|
||||
.make-icon(person-remove);
|
||||
.make-icon(pin);
|
||||
.make-icon(playback-fast-forward);
|
||||
.make-icon(playback-pause);
|
||||
.make-icon(playback-play);
|
||||
.make-icon(playback-rewind);
|
||||
.make-icon(plug);
|
||||
.make-icon(plus);
|
||||
.make-icon(podium);
|
||||
.make-icon(primitive-dot);
|
||||
@@ -187,7 +180,6 @@
|
||||
.make-icon(repo-push);
|
||||
.make-icon(repo-sync);
|
||||
.make-icon(rocket);
|
||||
.make-icon(rohan);
|
||||
.make-icon(rss);
|
||||
.make-icon(ruby);
|
||||
.make-icon(screen-full);
|
||||
@@ -196,6 +188,8 @@
|
||||
.make-icon(search-save);
|
||||
.make-icon(server);
|
||||
.make-icon(settings);
|
||||
.make-icon(sign-in);
|
||||
.make-icon(sign-out);
|
||||
.make-icon(split);
|
||||
.make-icon(squirrel);
|
||||
.make-icon(star);
|
||||
@@ -216,10 +210,8 @@
|
||||
.make-icon(triangle-left);
|
||||
.make-icon(triangle-right);
|
||||
.make-icon(triangle-up);
|
||||
.make-icon(trollface);
|
||||
.make-icon(unfold);
|
||||
.make-icon(unmute);
|
||||
.make-icon(unmute-video);
|
||||
.make-icon(versions);
|
||||
.make-icon(x);
|
||||
.make-icon(zap);
|
||||
|
||||
BIN
static/octicons.woff
Normal file → Executable file
BIN
static/octicons.woff
Normal file → Executable file
Binary file not shown.
@@ -13,6 +13,7 @@
|
||||
@beer: "\f069";
|
||||
@book: "\f007";
|
||||
@bookmark: "\f07b";
|
||||
@briefcase: "\f0d3";
|
||||
@broadcast: "\f048";
|
||||
@browser: "\f0c5";
|
||||
@bug: "\f091";
|
||||
@@ -24,6 +25,7 @@
|
||||
@chevron-right: "\f078";
|
||||
@chevron-up: "\f0a2";
|
||||
@circle-slash: "\f084";
|
||||
@circuit-board: "\f0d6";
|
||||
@clippy: "\f035";
|
||||
@clock: "\f046";
|
||||
@cloud-download: "\f00b";
|
||||
@@ -31,7 +33,7 @@
|
||||
@code: "\f05f";
|
||||
@color-mode: "\f065";
|
||||
@comment: "\f02b";
|
||||
@comment-add: "\f06f";
|
||||
@comment-add: "\f02b";
|
||||
@comment-discussion: "\f04f";
|
||||
@credit-card: "\f045";
|
||||
@dash: "\f0ca";
|
||||
@@ -49,13 +51,13 @@
|
||||
@diff-renamed: "\f06e";
|
||||
@ellipsis: "\f09a";
|
||||
@eye: "\f04e";
|
||||
@eye-unwatch: "\f01e";
|
||||
@eye-watch: "\f01d";
|
||||
@file-add: "\f086";
|
||||
@eye-unwatch: "\f04e";
|
||||
@eye-watch: "\f04e";
|
||||
@file-add: "\f05d";
|
||||
@file-binary: "\f094";
|
||||
@file-code: "\f010";
|
||||
@file-directory: "\f016";
|
||||
@file-directory-create: "\f095";
|
||||
@file-directory-create: "\f05d";
|
||||
@file-media: "\f012";
|
||||
@file-pdf: "\f014";
|
||||
@file-submodule: "\f017";
|
||||
@@ -68,19 +70,19 @@
|
||||
@gear: "\f02f";
|
||||
@gift: "\f042";
|
||||
@gist: "\f00e";
|
||||
@gist-fork: "\f079";
|
||||
@gist-new: "\f07a";
|
||||
@gist-private: "\f00f";
|
||||
@gist-fork: "\f002";
|
||||
@gist-new: "\f05d";
|
||||
@gist-private: "\f06a";
|
||||
@gist-secret: "\f08c";
|
||||
@git-branch: "\f020";
|
||||
@git-branch-create: "\f098";
|
||||
@git-branch-delete: "\f09b";
|
||||
@git-branch-create: "\f020";
|
||||
@git-branch-delete: "\f020";
|
||||
@git-commit: "\f01f";
|
||||
@git-compare: "\f0ac";
|
||||
@git-fork-private: "\f021";
|
||||
@git-fork-private: "\f06a";
|
||||
@git-merge: "\f023";
|
||||
@git-pull-request: "\f009";
|
||||
@git-pull-request-abandoned: "\f090";
|
||||
@git-pull-request-abandoned: "\f009";
|
||||
@globe: "\f0b6";
|
||||
@graph: "\f043";
|
||||
@heart: "\2665";
|
||||
@@ -101,6 +103,7 @@
|
||||
@jump-up: "\f073";
|
||||
@key: "\f049";
|
||||
@keyboard: "\f00d";
|
||||
@law: "\f0d8";
|
||||
@light-bulb: "\f000";
|
||||
@link: "\f05c";
|
||||
@link-external: "\f07f";
|
||||
@@ -110,50 +113,40 @@
|
||||
@lock: "\f06a";
|
||||
@log-in: "\f036";
|
||||
@log-out: "\f032";
|
||||
@logo-apps: "\f0b3";
|
||||
@logo-atom: "\f0b7";
|
||||
@logo-chat: "\f0b4";
|
||||
@logo-gist: "\f0ad";
|
||||
@logo-github: "\f092";
|
||||
@logo-octicons: "\f0ab";
|
||||
@logo-talks: "\f0b5";
|
||||
@mail: "\f03b";
|
||||
@mail-read: "\f03c";
|
||||
@mail-reply: "\f051";
|
||||
@mark-facebook: "\f0ce";
|
||||
@mark-github: "\f00a";
|
||||
@mark-github-detail: "\f093";
|
||||
@mark-google: "\f0cd";
|
||||
@mark-twitter: "\f0ae";
|
||||
@markdown: "\f0c9";
|
||||
@megaphone: "\f077";
|
||||
@mention: "\f0be";
|
||||
@microscope: "\f089";
|
||||
@milestone: "\f075";
|
||||
@mirror-private: "\f025";
|
||||
@mirror: "\f024";
|
||||
@mirror-private: "\f06a";
|
||||
@mirror-public: "\f024";
|
||||
@mortar-board: "\f0d7";
|
||||
@move-down: "\f0a8";
|
||||
@move-left: "\f074";
|
||||
@move-right: "\f0a9";
|
||||
@move-up: "\f0a7";
|
||||
@mute: "\f080";
|
||||
@mute-video: "\f0b8";
|
||||
@no-newline: "\f09c";
|
||||
@node-js: "\f0c3";
|
||||
@octoface: "\f008";
|
||||
@organization: "\f037";
|
||||
@package: "\f0c4";
|
||||
@paintcan: "\f0d1";
|
||||
@pencil: "\f058";
|
||||
@person: "\f018";
|
||||
@person-add: "\f01a";
|
||||
@person-follow: "\f01c";
|
||||
@person-remove: "\f01b";
|
||||
@person-add: "\f018";
|
||||
@person-follow: "\f018";
|
||||
@pin: "\f041";
|
||||
@playback-fast-forward: "\f0bd";
|
||||
@playback-pause: "\f0bb";
|
||||
@playback-play: "\f0bf";
|
||||
@playback-rewind: "\f0bc";
|
||||
@plug: "\f0d4";
|
||||
@plus: "\f05d";
|
||||
@podium: "\f0af";
|
||||
@primitive-dot: "\f052";
|
||||
@@ -163,37 +156,38 @@
|
||||
@question: "\f02c";
|
||||
@quote: "\f063";
|
||||
@radio-tower: "\f030";
|
||||
@remove-close: "\f050";
|
||||
@remove-close: "\f081";
|
||||
@repo: "\f001";
|
||||
@repo-clone: "\f04c";
|
||||
@repo-create: "\f003";
|
||||
@repo-delete: "\f004";
|
||||
@repo-create: "\f05d";
|
||||
@repo-delete: "\f001";
|
||||
@repo-force-push: "\f04a";
|
||||
@repo-forked: "\f002";
|
||||
@repo-pull: "\f006";
|
||||
@repo-push: "\f005";
|
||||
@repo-sync: "\f04b";
|
||||
@repo-sync: "\f087";
|
||||
@rocket: "\f033";
|
||||
@rohan: "\f022";
|
||||
@rss: "\f034";
|
||||
@ruby: "\f047";
|
||||
@screen-full: "\f066";
|
||||
@screen-normal: "\f067";
|
||||
@search: "\f02e";
|
||||
@search-save: "\f0cb";
|
||||
@search-save: "\f02e";
|
||||
@server: "\f097";
|
||||
@settings: "\f07c";
|
||||
@sign-in: "\f036";
|
||||
@sign-out: "\f032";
|
||||
@split: "\f0c6";
|
||||
@squirrel: "\f0b2";
|
||||
@star: "\f02a";
|
||||
@star-add: "\f082";
|
||||
@star-delete: "\f083";
|
||||
@star-add: "\f02a";
|
||||
@star-delete: "\f02a";
|
||||
@steps: "\f0c7";
|
||||
@stop: "\f08f";
|
||||
@sync: "\f087";
|
||||
@tag: "\f015";
|
||||
@tag-add: "\f054";
|
||||
@tag-remove: "\f055";
|
||||
@tag-add: "\f015";
|
||||
@tag-remove: "\f015";
|
||||
@telescope: "\f088";
|
||||
@terminal: "\f0c8";
|
||||
@three-bars: "\f05e";
|
||||
@@ -203,10 +197,8 @@
|
||||
@triangle-left: "\f044";
|
||||
@triangle-right: "\f05a";
|
||||
@triangle-up: "\f0aa";
|
||||
@trollface: "\f029";
|
||||
@unfold: "\f039";
|
||||
@unmute: "\f0ba";
|
||||
@unmute-video: "\f0b9";
|
||||
@versions: "\f064";
|
||||
@x: "\f081";
|
||||
@zap: "\26A1";
|
||||
|
||||
Reference in New Issue
Block a user