update discord css variable name (#1164)
This commit is contained in:
@@ -59,7 +59,7 @@ function resolveColor(color: string) {
|
|||||||
const updateSplashColors = () => {
|
const updateSplashColors = () => {
|
||||||
const bodyStyles = document.body.computedStyleMap();
|
const bodyStyles = document.body.computedStyleMap();
|
||||||
|
|
||||||
const color = bodyStyles.get("--text-normal");
|
const color = bodyStyles.get("--text-default");
|
||||||
const backgroundColor = bodyStyles.get("--background-primary");
|
const backgroundColor = bodyStyles.get("--background-primary");
|
||||||
|
|
||||||
if (isValidColor(color)) {
|
if (isValidColor(color)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user