Fixed buttom text color

This commit is contained in:
Thomas Atkins 2020-02-08 15:37:05 -06:00
parent 63fa78684c
commit 116db0d092
3 changed files with 4 additions and 23 deletions

View File

@ -16,7 +16,7 @@
<ion-icon color="primary" name="add-circle"></ion-icon>
</ion-button>
<ion-button fill="outline" color="light">
<ion-icon color="primary" name="add-circle"></ion-icon>&nbsp;<span style="color: #666;">Child</span>
<ion-icon color="primary" name="add-circle"></ion-icon>&nbsp;<span class="button-text">Child</span>
</ion-button>
<ion-button fill="outline" color="light">
<ion-icon color="danger" name="trash"></ion-icon>

View File

@ -2,25 +2,7 @@
max-width: 20em !important;
}
@media (prefers-color-scheme: no-preference) {
ion-toolbar {
--background: black;
color: white;
}
:root {
--background: black;
}
}
@media (prefers-color-scheme: dark) {
:root {
--background: black;
color: white;
}
}
/* Fallback for older browsers or manual mode */
.dark {
--background: black !important;
color: white !important;
//text portion of buttons
.button-text {
color: var(--ion-color-medium-shade);
}

View File

@ -29,7 +29,6 @@ export class AppComponent implements OnInit {
}
}
};
public darkMode = false;
constructor(