Skip to content

Commit

Permalink
- Revert back to ion-icons citing performance issues
Browse files Browse the repository at this point in the history
  • Loading branch information
VarunS2002 committed Nov 4, 2020
1 parent df64537 commit 54ddb59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
2 changes: 1 addition & 1 deletion tic-tac-toe/src/app/about/about.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ion-toolbar>
<ion-buttons slot="start">
<ion-button id="back" (click)="goHome()">
<span class="material-icons">arrow_back</span>
<ion-icon name="arrow-back"></ion-icon>
</ion-button>
</ion-buttons>
<ion-title style="margin-left: -50px">About</ion-title>
Expand Down
6 changes: 3 additions & 3 deletions tic-tac-toe/src/app/home/home.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@
<ion-content>
<ion-item (click)="setTheme(false)" class="ion-activatable" style="margin-left: -15px">
&nbsp;&nbsp;&nbsp;&nbsp;
<span class="material-icons">brightness_6</span>
<ion-icon name="contrast-sharp"></ion-icon>
<ion-label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Switch Theme</ion-label>
<ion-ripple-effect></ion-ripple-effect>
</ion-item>
<ion-item (click)="goTo('about')" class="ion-activatable" style="margin-left: -15px">
&nbsp;&nbsp;&nbsp;&nbsp;
<span class="material-icons">info</span>
<ion-icon name="help-outline"></ion-icon>
<ion-label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;About</ion-label>
<ion-ripple-effect></ion-ripple-effect>
</ion-item>
<ion-item *ngIf="!isBrowser" (click)="alertExit()" class="ion-activatable" style="margin-left: -15px">
&nbsp;&nbsp;&nbsp;&nbsp;
<span class="material-icons">arrow_back</span>
<ion-icon name="arrow-back"></ion-icon>
<ion-label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exit</ion-label>
<ion-ripple-effect></ion-ripple-effect>
</ion-item>
Expand Down
Binary file not shown.
26 changes: 0 additions & 26 deletions tic-tac-toe/src/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,3 @@
@import "~@ionic/angular/css/text-alignment.css";
@import "~@ionic/angular/css/text-transformation.css";
@import "~@ionic/angular/css/flex-utils.css";

/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
//noinspection CssUnknownTarget
src: url('assets/font/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2') format('woff2');
}

.material-icons {
//noinspection CssNoGenericFontName
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}

0 comments on commit 54ddb59

Please sign in to comment.