fix splash themeing
This commit is contained in:
@@ -151,11 +151,4 @@
|
|||||||
>section {
|
>section {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.vcd-screen-picker-hint-description {
|
|
||||||
color: var(--header-secondary);
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 20px;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
}
|
||||||
@@ -60,7 +60,7 @@ const updateSplashColors = () => {
|
|||||||
const bodyStyles = document.body.computedStyleMap();
|
const bodyStyles = document.body.computedStyleMap();
|
||||||
|
|
||||||
const color = bodyStyles.get("--text-default");
|
const color = bodyStyles.get("--text-default");
|
||||||
const backgroundColor = bodyStyles.get("--background-primary");
|
const backgroundColor = bodyStyles.get("--background-base-lowest");
|
||||||
|
|
||||||
if (isValidColor(color)) {
|
if (isValidColor(color)) {
|
||||||
Settings.store.splashColor = resolveColor(color[0]);
|
Settings.store.splashColor = resolveColor(color[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user