mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 21:37:24 +00:00
fix(login): fix avatar.js (#3614)
This commit is contained in:
parent
d431ccb965
commit
00e042ea44
@ -184,7 +184,7 @@ for (let i = 0; i < avatars.length; i++) {
|
||||
const colorPalette = this.getColor(displayName);
|
||||
|
||||
const isDark =
|
||||
document.documentElement.classList.includes("lgn-dark-theme");
|
||||
document.documentElement.classList.contains("lgn-dark-theme");
|
||||
|
||||
const backgroundShade = isDark ? 900 : 300;
|
||||
const foregroundShade = isDark ? 200 : 900;
|
||||
|
Loading…
x
Reference in New Issue
Block a user