change sitewide color, smoother loading of images on homepage

This commit is contained in:
AlecM33
2023-08-18 17:37:15 -04:00
parent aa41267514
commit 76bbd847d9
10 changed files with 54 additions and 51 deletions

View File

@@ -254,6 +254,9 @@ export class DeckStateManager {
}
function populateRoleElementInfo (roleEl, sortedDeck, i) {
roleEl.classList.remove(ALIGNMENT.GOOD);
roleEl.classList.remove(ALIGNMENT.EVIL);
roleEl.classList.add(sortedDeck[i].team);
roleEl.querySelector('.role-name').innerHTML =
`<span class="role-quantity"></span>
<span class="name"></span>`;