| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-05-12 13:26:48 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-05-12 13:36:16 UTC |
| parent | 0ccd0c7909a77582238bf9baf59f59a9fdc5e7be |
| snikket/Color.hx | +1 | -1 |
diff --git a/snikket/Color.hx b/snikket/Color.hx index 4c9b522..1d498b4 100644 --- a/snikket/Color.hx +++ b/snikket/Color.hx @@ -26,7 +26,7 @@ class Color { return 'data:image/svg+xml,<svg%20xmlns="http://www.w3.org/2000/svg"%20version="1.1"%20width="15"%20height="15"%20viewBox="0%200%2015%2015">' + '<rect%20style="fill:%23' + hex + ';"%20width="15"%20height="15"%20x="0"%20y="0"%20/>' + - '<text%20style="fill:%23ffffff;font-size:8px;font-family:sans-serif;"%20text-anchor="middle"%20dominant-baseline="central"%20x="50%25"%20y="50%25">' + encodedLetter + '</text>' + + '<text%20style="fill:%23ffffff;font-size:8px;font-family:sans-serif;"%20text-anchor="middle"%20x="7.5"%20y="10">' + encodedLetter + '</text>' + '</svg>'; } }