Fix rank c color

This commit is contained in:
ryo-ma 2020-08-29 02:37:24 +09:00
parent 2153e390c9
commit 2d2b414469

View file

@ -100,7 +100,11 @@ export const getTrophyIcon = (rank = RANK.UNKNOWN) => {
let color = "currentColor"; let color = "currentColor";
let rankColor = "#333"; let rankColor = "#333";
let backgroundIcon = ""; let backgroundIcon = "";
let gradationColor = ""; let gradationColor = `
<stop offset="0%" stop-color="#333"/>
<stop offset="50%" stop-color="#333"/>
<stop offset="100%" stop-color="#000"/>
`;
if (rank === RANK.SECRET) { if (rank === RANK.SECRET) {
rankColor = "fuchsia"; rankColor = "fuchsia";
gradationColor = ` gradationColor = `