Created
May 1, 2019 20:58
-
-
Save chrisgriffith/e394ef377f8ea5e14cbcb9d697760ab3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ion-header> | |
<ion-toolbar> | |
<ion-buttons slot="secondary"> | |
<ion-button fill="outline"> | |
<ion-icon slot="start" name="star"></ion-icon> | |
Star | |
</ion-button> | |
</ion-buttons> | |
<ion-title>Theme Demo</ion-title> | |
<ion-buttons slot="primary"> | |
<ion-button color="danger" fill="outline"> | |
Edit | |
<ion-icon slot="end" name="create"></ion-icon> | |
</ion-button> | |
</ion-buttons> | |
</ion-toolbar> | |
</ion-header> | |
<ion-content> | |
<ion-button (click)="colorIt()">Color Theme</ion-button> | |
<ion-button (click)="setTheme('dark')">Dark Theme</ion-button> | |
<ion-button (click)="setTheme('light')">Light Theme</ion-button> | |
</ion-content> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment