Skip to content

Commit

Permalink
Icons: Cut unused icons.
Browse files Browse the repository at this point in the history
Ran across one of these which was briefly confusing, and figured it'd
be good to take a minute to clean them out.

Done with the following command:

  $ git grep -Pho 'Icon\w+' \
    | sort | uniq -u \
    | grep -vFf - src/common/Icons.js \
    | sponge src/common/Icons.js
  • Loading branch information
gnprice committed Oct 4, 2019
1 parent f27b2b7 commit 0d3447a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/common/Icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,19 @@ const makeIcon = <Glyphs: string>(
};

export const IconInbox = makeIcon(Feather, 'inbox');
export const IconStar = makeIcon(Feather, 'star');
export const IconMention = makeIcon(Feather, 'at-sign');
export const IconSearch = makeIcon(Feather, 'search');
export const IconDone = makeIcon(Feather, 'check');
export const IconCancel = makeIcon(Feather, 'slash');
export const IconTrash = makeIcon(Feather, 'trash-2');
export const IconWarning = makeIcon(Feather, 'alert-triangle');
export const IconSend = makeIcon(MaterialIcon, 'send');
export const IconMute = makeIcon(MaterialIcon, 'volume-off');
export const IconStream = makeIcon(Feather, 'hash');
export const IconPin = makeIcon(SimpleLineIcons, 'pin');
export const IconPrivate = makeIcon(Feather, 'lock');
export const IconPrivateChat = makeIcon(Feather, 'mail');
export const IconDownArrow = makeIcon(Feather, 'chevron-down');
export const IconGoogle = makeIcon(IoniconsIcon, 'logo-google');
export const IconGitHub = makeIcon(Feather, 'github');
export const IconWindows = makeIcon(IoniconsIcon, 'logo-windows');
export const IconCross = makeIcon(Feather, 'x');
export const IconDiagnostics = makeIcon(Feather, 'activity');
export const IconNotifications = makeIcon(Feather, 'bell');
export const IconLanguage = makeIcon(Feather, 'globe');
Expand Down

0 comments on commit 0d3447a

Please sign in to comment.