Fixed buttom text color
This commit is contained in:
parent
63fa78684c
commit
116db0d092
@ -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> <span style="color: #666;">Child</span>
|
||||
<ion-icon color="primary" name="add-circle"></ion-icon> <span class="button-text">Child</span>
|
||||
</ion-button>
|
||||
<ion-button fill="outline" color="light">
|
||||
<ion-icon color="danger" name="trash"></ion-icon>
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -29,7 +29,6 @@ export class AppComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
public darkMode = false;
|
||||
|
||||
constructor(
|
||||
|
Loading…
Reference in New Issue
Block a user