Lighter shadow for flat style

pull/3/head
Amio 2018-07-15 17:30:36 +08:00
rodzic 4e4b7972b4
commit dfe21740a1
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -18,9 +18,9 @@ module.exports = function ({subject, status, color}, opts = {}) {
<rect x="${sbRectWidth}" width="${stRectWidth}" height="20" fill="#${color}"/>
</g>
<g fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="11">
<text x="7" y="14.8" fill="#000" opacity="0.15">${subject}</text>
<text x="7" y="14.8" fill="#000" opacity="0.1">${subject}</text>
<text x="6" y="13.8">${subject}</text>
<text x="${sbRectWidth + 5.5}" y="14.8" fill="#000" opacity="0.15">${status}</text>
<text x="${sbRectWidth + 5.5}" y="14.8" fill="#000" opacity="0.1">${status}</text>
<text x="${sbRectWidth + 4.5}" y="13.8">${status}</text>
</g>
</svg>