Update icons to have a transparnet OFF colour (#1360)

This commit is contained in:
Sam El-Husseini
2018-10-08 10:34:22 -07:00
committed by GitHub
parent fb8b1d927c
commit a069e6f46e
122 changed files with 2042 additions and 1041 deletions

View File

@@ -268,7 +268,8 @@ Object.keys(icons).forEach(icon => {
const x = j * (width / 5);
const y = i * (height / 5);
svg += `<rect y="5" x="5" width="30" height="30" rx="5" transform="translate(${x},${y})"
style="${hexItemVal ? 'fill:#fff;' : 'fill: #4BA6FF;'}"/>\n`; //#006CC2
fill="${hexItemVal ? '#fff' : '#000'}"
fill-opacity="${hexItemVal ? '1.0' : '0.2'}"/>\n`; //#006CC2
}
}
svg += `</svg>`;