random css changes

This commit is contained in:
zyqunix 2025-05-09 18:40:10 +02:00
parent 4fe7a03796
commit 148ce28c45
No known key found for this signature in database
GPG key ID: 134A8DEEA83B80E6
3 changed files with 20 additions and 6 deletions

View file

@ -12,14 +12,10 @@ lanyard({
offline: "#80848e"
};
const borderColor = statusColors[data.discord_status] || offline;
status.style.background = `${borderColor}`;
if (customStatus) {
nameDiv.setAttribute("data-tooltip", customStatus.state);
} else {
nameDiv.setAttribute("data-tooltip", "No custom status");
}
status.setAttribute("data-tooltip", data.discord_status);
})
})