From 116db0d09280702e83c982cd3bb38c36e0cb7a14 Mon Sep 17 00:00:00 2001 From: Thomas Atkins Date: Sat, 8 Feb 2020 15:37:05 -0600 Subject: [PATCH] Fixed buttom text color --- src/app/app.component.html | 2 +- src/app/app.component.scss | 24 +++--------------------- src/app/app.component.ts | 1 - 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 77853f2..50c566a 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -16,7 +16,7 @@ -  Child +  Child diff --git a/src/app/app.component.scss b/src/app/app.component.scss index a439a25..5a0076b 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -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); } diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 2fefa53..e277233 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -29,7 +29,6 @@ export class AppComponent implements OnInit { } } }; - public darkMode = false; constructor(