set voted card colors to avg of current & previous

This commit is contained in:
QuickMythril 2025-01-30 00:01:33 -05:00
parent ae8a61e127
commit b8d4af4237

View File

@ -1352,9 +1352,9 @@ const createEncryptedCardHTML = async (cardData, pollResults, cardIdentifier, co
showRemoveHtml = removeActionsHtml
if (userVote === 0) {
cardColorCode = "rgba(1, 65, 39, 0.41)"; // or any green you want
cardColorCode = "rgba(1, 128, 20, 0.35)"; // or any green you want
} else if (userVote === 1) {
cardColorCode = "rgba(55, 12, 12, 0.61)"; // or any red you want
cardColorCode = "rgba(124, 6, 6, 0.45)"; // or any red you want
}
const confirmedKick = finalKickTxs.some(