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-icon color="primary" name="add-circle"></ion-icon>
|
||||||
</ion-button>
|
</ion-button>
|
||||||
<ion-button fill="outline" color="light">
|
<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>
|
||||||
<ion-button fill="outline" color="light">
|
<ion-button fill="outline" color="light">
|
||||||
<ion-icon color="danger" name="trash"></ion-icon>
|
<ion-icon color="danger" name="trash"></ion-icon>
|
||||||
|
@ -2,25 +2,7 @@
|
|||||||
max-width: 20em !important;
|
max-width: 20em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: no-preference) {
|
//text portion of buttons
|
||||||
ion-toolbar {
|
.button-text {
|
||||||
--background: black;
|
color: var(--ion-color-medium-shade);
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,6 @@ export class AppComponent implements OnInit {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
public darkMode = false;
|
public darkMode = false;
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
|
Loading…
Reference in New Issue
Block a user