Skip to content

Commit

Permalink
feat(icon): add four icons for settings menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mt-kenny committed Jan 27, 2020
1 parent 8273905 commit 254f5c9
Show file tree
Hide file tree
Showing 37 changed files with 2,291 additions and 2,138 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,18 @@ make sure replace these folder & files
- replace the folder `/icomoon` with unzip folder
- replace the folder `/fonts` with unzip folder `/fonts`
- replace the file `/css/style.css` with unzip file `/style.css`
- replace the file `/style.css` with unzip file `/style.css`
- replace the file `/selection.json` with unzip file `/selection.json`
10. In `package.json` increment the version
11. create a release in github
11. Follow the steps below to test locally
12. Create a release in github

### Test the new icon it's work on local.
1. Under the mt-web-icon run
- `yarn`
- `yarn build`
2. Under your project, install the local mt-web-icon package
- `rm -rf ./node_modules/mt-web-icons`
- `rm -rf ./node_modules/mt-web-icons`
- `yarn add file:../mt-web-icons` (path the folder mt-web-icons)
3. Test it

Expand Down
316 changes: 164 additions & 152 deletions css/style.css
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@font-face {
font-family: 'mt-web-icons';
src: url('fonts/mt-web-icons.eot?5ui6l3');
src: url('fonts/mt-web-icons.eot?5ui6l3#iefix') format('embedded-opentype'),
url('fonts/mt-web-icons.ttf?5ui6l3') format('truetype'),
url('fonts/mt-web-icons.woff?5ui6l3') format('woff'),
url('fonts/mt-web-icons.svg?5ui6l3#mt-web-icons') format('svg');
src: url('fonts/mt-web-icons.eot?6tvbez');
src: url('fonts/mt-web-icons.eot?6tvbez#iefix') format('embedded-opentype'),
url('fonts/mt-web-icons.ttf?6tvbez') format('truetype'),
url('fonts/mt-web-icons.woff?6tvbez') format('woff'),
url('fonts/mt-web-icons.svg?6tvbez#mt-web-icons') format('svg');
font-weight: normal;
font-style: normal;
font-display: block;
Expand All @@ -25,6 +25,165 @@
-moz-osx-font-smoothing: grayscale;
}

.mt-documents:before {
content: "\e90f";
}
.mt-gear-box:before {
content: "\e910";
}
.mt-logout:before {
content: "\e911";
}
.mt-person-circle:before {
content: "\e912";
}
.mt-all-accounts:before {
content: "\e904";
}
.mt-application:before {
content: "\ea39";
}
.mt-back:before {
content: "\ea2b";
}
.mt-check:before {
content: "\ea40";
}
.mt-chevron-down:before {
content: "\ea45";
}
.mt-chevron-left:before {
content: "\ea41";
}
.mt-chevron-right:before {
content: "\ea42";
}
.mt-chevron-up:before {
content: "\ea44";
}
.mt-cross:before {
content: "\ea43";
}
.mt-error:before {
content: "\e903";
}
.mt-external-link:before {
content: "\e909";
}
.mt-forward:before {
content: "\ea2c";
}
.mt-institution-bank:before {
content: "\ea29";
}
.mt-institution-corporate:before {
content: "\ea28";
}
.mt-institution-credit-card:before {
content: "\ea27";
}
.mt-institution-manual:before {
content: "\ea26";
}
.mt-institution-point:before {
content: "\ea25";
}
.mt-institution-stock:before {
content: "\ea24";
}
.mt-institution-stored-value:before {
content: "\ea23";
}
.mt-logo:before {
content: "\ea3a";
}
.mt-logotype:before {
content: "\ea2a";
}
.mt-nub-down:before {
content: "\ea3e";
}
.mt-nub-left:before {
content: "\ea3b";
}
.mt-nub-right:before {
content: "\ea3c";
}
.mt-nub-up:before {
content: "\ea3d";
}
.mt-organization:before {
content: "\ea20";
}
.mt-plus:before {
content: "\e902";
}
.mt-question:before {
content: "\ea3f";
}
.mt-refresh:before {
content: "\e901";
}
.mt-scope-accounts-read:before {
content: "\ea37";
}
.mt-scope-categories-read:before {
content: "\ea34";
}
.mt-scope-categories-write:before {
content: "\ea33";
}
.mt-scope-expense-claims-read:before {
content: "\ea32";
}
.mt-scope-expense-claims-write:before {
content: "\ea31";
}
.mt-scope-guest-read:before {
content: "\ea38";
}
.mt-scope-investment-accounts-read:before {
content: "\ea22";
}
.mt-scope-investment-transactions-read:before {
content: "\ea21";
}
.mt-scope-life-insurance-read:before {
content: "\ea30";
}
.mt-scope-notifications-read:before {
content: "\ea2f";
}
.mt-scope-point-transactions-read:before {
content: "\ea1f";
}
.mt-scope-points-read:before {
content: "\ea2d";
}
.mt-scope-request-refresh:before {
content: "\ea2e";
}
.mt-scope-transactions-read:before {
content: "\ea36";
}
.mt-scope-transactions-write:before {
content: "\ea35";
}
.mt-search:before {
content: "\e905";
}
.mt-settings:before {
content: "\e900";
}
.mt-status-error:before {
content: "\e906";
}
.mt-status-refresh:before {
content: "\e908";
}
.mt-status-updated:before {
content: "\e907";
}
.mt-tick:before {
content: "\e90e";
}
Expand Down Expand Up @@ -763,150 +922,3 @@
.mt-workers_compensation_insurance_premium:before {
content: "\e9fb";
}
.mt-all-accounts:before {
content: "\e904";
}
.mt-application:before {
content: "\ea39";
}
.mt-back:before {
content: "\ea2b";
}
.mt-check:before {
content: "\ea40";
}
.mt-chevron-down:before {
content: "\ea45";
}
.mt-chevron-left:before {
content: "\ea41";
}
.mt-chevron-right:before {
content: "\ea42";
}
.mt-chevron-up:before {
content: "\ea44";
}
.mt-cross:before {
content: "\ea43";
}
.mt-error:before {
content: "\e903";
}
.mt-external-link:before {
content: "\e909";
}
.mt-forward:before {
content: "\ea2c";
}
.mt-institution-bank:before {
content: "\ea29";
}
.mt-institution-corporate:before {
content: "\ea28";
}
.mt-institution-credit-card:before {
content: "\ea27";
}
.mt-institution-manual:before {
content: "\ea26";
}
.mt-institution-point:before {
content: "\ea25";
}
.mt-institution-stock:before {
content: "\ea24";
}
.mt-institution-stored-value:before {
content: "\ea23";
}
.mt-logo:before {
content: "\ea3a";
}
.mt-logotype:before {
content: "\ea2a";
}
.mt-nub-down:before {
content: "\ea3e";
}
.mt-nub-left:before {
content: "\ea3b";
}
.mt-nub-right:before {
content: "\ea3c";
}
.mt-nub-up:before {
content: "\ea3d";
}
.mt-organization:before {
content: "\ea20";
}
.mt-plus:before {
content: "\e902";
}
.mt-question:before {
content: "\ea3f";
}
.mt-refresh:before {
content: "\e901";
}
.mt-scope-accounts-read:before {
content: "\ea37";
}
.mt-scope-categories-read:before {
content: "\ea34";
}
.mt-scope-categories-write:before {
content: "\ea33";
}
.mt-scope-expense-claims-read:before {
content: "\ea32";
}
.mt-scope-expense-claims-write:before {
content: "\ea31";
}
.mt-scope-guest-read:before {
content: "\ea38";
}
.mt-scope-investment-accounts-read:before {
content: "\ea22";
}
.mt-scope-investment-transactions-read:before {
content: "\ea21";
}
.mt-scope-life-insurance-read:before {
content: "\ea30";
}
.mt-scope-notifications-read:before {
content: "\ea2f";
}
.mt-scope-point-transactions-read:before {
content: "\ea1f";
}
.mt-scope-points-read:before {
content: "\ea2d";
}
.mt-scope-request-refresh:before {
content: "\ea2e";
}
.mt-scope-transactions-read:before {
content: "\ea36";
}
.mt-scope-transactions-write:before {
content: "\ea35";
}
.mt-search:before {
content: "\e905";
}
.mt-settings:before {
content: "\e900";
}
.mt-status-error:before {
content: "\e906";
}
.mt-status-refresh:before {
content: "\e908";
}
.mt-status-updated:before {
content: "\e907";
}
Binary file modified fonts/mt-web-icons.eot
100755 → 100644
Binary file not shown.
Loading

0 comments on commit 254f5c9

Please sign in to comment.