diff --git a/src/renderStatsCard.js b/src/renderStatsCard.js index fcffeafc..af2951f2 100644 --- a/src/renderStatsCard.js +++ b/src/renderStatsCard.js @@ -83,7 +83,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => { const statItems = Object.keys(STATS) .filter((key) => !hide.includes(key)) .map((key, index) => - // create the text nodes, and pass index so that we can calculate the line spacing + // create the text nodes, and pass index so that we can calculate the line spacing createTextNode({ ...STATS[key], index, lineHeight: lheight }) ); @@ -113,6 +113,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => { : ` + { fill: ${iconColor}; display: ${!!show_icons ? "block" : "none"}; } + .rank-circle-rim { + stroke: ${titleColor}; + fill: none; + stroke-width: 6; + opacity: 0.2; + } .rank-circle { stroke-dashoffset: 30; stroke-dasharray: ${rankProgress};