Skip to content

Commit

Permalink
Updating compass icons to replcae mattermost icons (mattermost#5496)
Browse files Browse the repository at this point in the history
  • Loading branch information
asaadmahmood committed May 14, 2020
1 parent 5241d56 commit 46e8e65
Show file tree
Hide file tree
Showing 11 changed files with 393 additions and 339 deletions.
Binary file added fonts/compass-icons.eot
Binary file not shown.
360 changes: 360 additions & 0 deletions fonts/compass-icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fonts/compass-icons.ttf
Binary file not shown.
Binary file added fonts/compass-icons.woff
Binary file not shown.
Binary file added fonts/compass-icons.woff2
Binary file not shown.
Binary file removed fonts/mattermosticons/mattermosticons.eot
Binary file not shown.
324 changes: 0 additions & 324 deletions fonts/mattermosticons/mattermosticons.svg

This file was deleted.

Binary file removed fonts/mattermosticons/mattermosticons.ttf
Binary file not shown.
Binary file removed fonts/mattermosticons/mattermosticons.woff
Binary file not shown.
Binary file removed fonts/mattermosticons/mattermosticons.woff2
Binary file not shown.
48 changes: 33 additions & 15 deletions sass/base/_mattermost-icons.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@charset "UTF-8";

@font-face {
font-family: 'mattermosticons';
src: url('../fonts/mattermosticons/mattermosticons.eot?16343536');
src: url('../fonts/mattermosticons/mattermosticons.eot?16343536#iefix') format('embedded-opentype'),
url('../fonts/mattermosticons/mattermosticons.woff2?16343536') format('woff2'),
url('../fonts/mattermosticons/mattermosticons.woff?16343536') format('woff'),
url('../fonts/mattermosticons/mattermosticons.ttf?16343536') format('truetype'),
url('../fonts/mattermosticons/mattermosticons.svg?16343536#mattermosticons') format('svg');
font-family: 'compass-icons';
src: url('../fonts/compass-icons.eot?55514104');
src: url('../fonts/compass-icons.eot?55514104#iefix') format('embedded-opentype'),
url('../fonts/compass-icons.woff2?55514104') format('woff2'),
url('../fonts/compass-icons.woff?55514104') format('woff'),
url('../fonts/compass-icons.ttf?55514104') format('truetype'),
url('../fonts/compass-icons.svg?55514104#compass-icons') format('svg');
font-weight: normal;
font-style: normal;
}
Expand All @@ -16,14 +16,14 @@
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'mattermosticons';
src: url('../font/mattermosticons.svg?16343536#mattermosticons') format('svg');
font-family: 'compass-icons';
src: url('../font/compass-icons.svg?55514104#compass-icons') format('svg');
}
}
*/

[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "mattermosticons";
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "compass-icons";
font-style: normal;
font-weight: normal;
speak: none;
Expand Down Expand Up @@ -73,10 +73,22 @@
.icon-webhook-outgoing:before { content: '\e80d'; } /* '' */
.icon-image-area-outline:before { content: '\e80e'; } /* '' */
.icon-emoticon-plus-outline:before { content: '\e80f'; } /* '' */
.icon-arrow-back-ios:before { content: '\e810'; } /* '' */
.icon-arrow-forward-ios:before { content: '\e811'; } /* '' */
.icon-mark-as-unread:before { content: '\e812'; } /* '' */
.icon-brand-zoom:before { content: '\e897'; } /* '' */
.icon-mark-as-unread:before { content: '\e810'; } /* '' */
.icon-arrow-back-ios:before { content: '\e811'; } /* '' */
.icon-arrow-forward-ios:before { content: '\e812'; } /* '' */
.icon-brand-zoom:before { content: '\e813'; } /* '' */
.icon-jumbo-attachment-text:before { content: '\e900'; } /* '' */
.icon-jumbo-attachment-word:before { content: '\e901'; } /* '' */
.icon-jumbo-attachment-excel:before { content: '\e902'; } /* '' */
.icon-jumbo-attachment-powerpoint:before { content: '\e903'; } /* '' */
.icon-jumbo-attachment-pdf:before { content: '\e904'; } /* '' */
.icon-jumbo-attachment-image:before { content: '\e905'; } /* '' */
.icon-jumbo-attachment-video:before { content: '\e906'; } /* '' */
.icon-jumbo-attachment-audio:before { content: '\e907'; } /* '' */
.icon-jumbo-attachment-generic:before { content: '\e908'; } /* '' */
.icon-jumbo-attachment-patch:before { content: '\e909'; } /* '' */
.icon-jumbo-attachment-zip:before { content: '\e90a'; } /* '' */
.icon-jumbo-attachment-code:before { content: '\e90b'; } /* '' */
.icon-account-multiple-outline:before { content: '\f00f'; } /* '' */
.icon-account-outline:before { content: '\f013'; } /* '' */
.icon-airplane:before { content: '\f01d'; } /* '' */
Expand Down Expand Up @@ -132,6 +144,7 @@
.icon-lightbulb-outline:before { content: '\f336'; } /* '' */
.icon-link-variant:before { content: '\f339'; } /* '' */
.icon-link-variant-off:before { content: '\f33a'; } /* '' */
.icon-lock:before { content: '\f33e'; } /* '' */
.icon-lock-outline:before { content: '\f341'; } /* '' */
.icon-magnify:before { content: '\f349'; } /* '' */
.icon-menu:before { content: '\f35c'; } /* '' */
Expand Down Expand Up @@ -199,6 +212,7 @@
.icon-chevron-up:before { content: '󰅃'; } /* '\f0143' */
.icon-close-circle:before { content: '󰅙'; } /* '\f0159' */
.icon-content-copy:before { content: '󰆏'; } /* '\f018f' */
.icon-send-outline:before { content: '󰆐'; } /* '\f0190' */
.icon-view-grid-outline:before { content: '󰈄'; } /* '\f0204' */
.icon-file-outline:before { content: '󰈤'; } /* '\f0224' */
.icon-folder-outline:before { content: '󰉖'; } /* '\f0256' */
Expand All @@ -210,7 +224,11 @@
.icon-minus-circle-outline:before { content: '󰍷'; } /* '\f0377' */
.icon-sort-alphabetical-ascending:before { content: '󰖽'; } /* '\f05bd' */
.icon-trash-can-outline:before { content: '󰩺'; } /* '\f0a7a' */
.icon-account-minus-outline:before { content: '󰫬'; } /* '\f0aec' */
.icon-calendar-outline:before { content: '󰭧'; } /* '\f0b67' */
.icon-folder-plus-outline:before { content: '󰮝'; } /* '\f0b9d' */
.icon-calendar-check-outline:before { content: '󰱄'; } /* '\f0c44' */
.icon-hand-right:before { content: '󰹇'; } /* '\f0e47' */
.icon-notebook-outline:before { content: '󰺿'; } /* '\f0ebf' */
.icon-shield-alert-outline:before { content: '󰻍'; } /* '\f0ecd' */
.icon-folder-move-outline:before { content: '󱉆'; } /* '\f1246' */

0 comments on commit 46e8e65

Please sign in to comment.