@import "octicon-mixins.less"; @import "octicon-utf-codes.less"; .make-icon(@name) { .icon-@{name} { .octicon(@name); } } // There seems to be no way to make an array, or grab all the local vars in // less, so I am copying the octicon-utf-codes in, then doing a find and // replace. // Find: @([a-z-]+): "[^"]+"; // Replace: .make-icon(\1); .make-icon(alert); .make-icon(alignment-align); .make-icon(alignment-aligned-to); .make-icon(alignment-unalign); .make-icon(arrow-down); .make-icon(arrow-left); .make-icon(arrow-right); .make-icon(arrow-small-down); .make-icon(arrow-small-left); .make-icon(arrow-small-right); .make-icon(arrow-small-up); .make-icon(arrow-up); .make-icon(beer); .make-icon(book); .make-icon(bookmark); .make-icon(broadcast); .make-icon(bug); .make-icon(calendar); .make-icon(check); .make-icon(checklist); .make-icon(chevron-down); .make-icon(chevron-left); .make-icon(chevron-right); .make-icon(chevron-up); .make-icon(circle-slash); .make-icon(clippy); .make-icon(clock); .make-icon(cloud-download); .make-icon(cloud-upload); .make-icon(code); .make-icon(color-mode); .make-icon(comment); .make-icon(comment-add); .make-icon(comment-discussion); .make-icon(credit-card); .make-icon(dashboard); .make-icon(database); .make-icon(device-camera); .make-icon(device-camera-video); .make-icon(device-desktop); .make-icon(device-mobile); .make-icon(diff); .make-icon(diff-added); .make-icon(diff-ignored); .make-icon(diff-modified); .make-icon(diff-removed); .make-icon(diff-renamed); .make-icon(ellipsis); .make-icon(eye); .make-icon(eye-unwatch); .make-icon(eye-watch); .make-icon(file-add); .make-icon(file-binary); .make-icon(file-code); .make-icon(file-directory); .make-icon(file-directory-create); .make-icon(file-media); .make-icon(file-pdf); .make-icon(file-submodule); .make-icon(file-symlink-directory); .make-icon(file-symlink-file); .make-icon(file-text); .make-icon(file-zip); .make-icon(gear); .make-icon(gift); .make-icon(gist); .make-icon(gist-fork); .make-icon(gist-new); .make-icon(gist-private); .make-icon(gist-secret); .make-icon(git-branch); .make-icon(git-branch-create); .make-icon(git-branch-delete); .make-icon(git-commit); .make-icon(git-compare); .make-icon(git-fork-private); .make-icon(git-merge); .make-icon(git-pull-request); .make-icon(git-pull-request-abandoned); .make-icon(globe); .make-icon(graph); .make-icon(history); .make-icon(home); .make-icon(horizontal-rule); .make-icon(hourglass); .make-icon(hubot); .make-icon(info); .make-icon(issue-closed); .make-icon(issue-opened); .make-icon(issue-reopened); .make-icon(jersey); .make-icon(jump-down); .make-icon(jump-left); .make-icon(jump-right); .make-icon(jump-up); .make-icon(key); .make-icon(keyboard); .make-icon(light-bulb); .make-icon(link); .make-icon(link-external); .make-icon(list-ordered); .make-icon(list-unordered); .make-icon(location); .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-github); .make-icon(mark-github-detail); .make-icon(mark-twitter); .make-icon(megaphone); .make-icon(microscope); .make-icon(milestone); .make-icon(mirror-private); .make-icon(mirror-public); .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(octoface); .make-icon(organization); .make-icon(pencil); .make-icon(person); .make-icon(person-add); .make-icon(person-follow); .make-icon(person-remove); .make-icon(pin); .make-icon(plus); .make-icon(podium); .make-icon(primitive-dot); .make-icon(primitive-square); .make-icon(pulse); .make-icon(question); .make-icon(quote); .make-icon(radio-tower); .make-icon(remove-close); .make-icon(repo); .make-icon(repo-clone); .make-icon(repo-create); .make-icon(repo-delete); .make-icon(repo-force-push); .make-icon(repo-forked); .make-icon(repo-pull); .make-icon(repo-push); .make-icon(repo-sync); .make-icon(rocket); .make-icon(rohan); .make-icon(rss); .make-icon(ruby); .make-icon(screen-full); .make-icon(screen-normal); .make-icon(search); .make-icon(server); .make-icon(settings); .make-icon(squirrel); .make-icon(star); .make-icon(star-add); .make-icon(star-delete); .make-icon(stop); .make-icon(sync); .make-icon(tag); .make-icon(tag-add); .make-icon(tag-remove); .make-icon(telescope); .make-icon(three-bars); .make-icon(tools); .make-icon(triangle-down); .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);