From: Benjamin Auder Date: Thu, 21 Jan 2021 20:11:53 +0000 (+0100) Subject: Bigger digits for Emergo and Avalam X-Git-Url: https://git.auder.net/game/current/%7B%7B%20asset%28%27mixstore/css/user/common.css%27%29%20%7D%7D?a=commitdiff_plain;h=2afc4e191af82b4fc7bcd5015bad05fddedc673a;p=vchess.git Bigger digits for Emergo and Avalam --- diff --git a/client/public/images/pieces/Avalam/generateSVG.py b/client/public/images/pieces/Avalam/generateSVG.py index d400d79b..8d526787 100755 --- a/client/public/images/pieces/Avalam/generateSVG.py +++ b/client/public/images/pieces/Avalam/generateSVG.py @@ -8,20 +8,20 @@ preamble = """ """ -black = '' -white = '' +black = '' +white = '' digits = [ # 1 - '') + f.write(digits[number] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if color == "white" else 'stroke="yellow"') + '/>') f.write("\n") f.write(final) f.close() diff --git a/client/public/images/pieces/Emergo/generateSVG_composite.py b/client/public/images/pieces/Emergo/generateSVG_composite.py index 915404b6..aaae1898 100755 --- a/client/public/images/pieces/Emergo/generateSVG_composite.py +++ b/client/public/images/pieces/Emergo/generateSVG_composite.py @@ -22,55 +22,55 @@ black_right = '' digits = { "left": [ # 1 - '') + f.write(digits["left"][left] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if colorLeft == "white" else 'stroke="orange"') + '/>') f.write("\n") - f.write(digits["right"][right] + ' fill="none" stroke-width="4" ' + ('stroke="red"' if colorLeft == "black" else 'stroke="orange"') + '/>') + f.write(digits["right"][right] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if colorLeft == "black" else 'stroke="orange"') + '/>') f.write("\n") f.write(final) f.close() diff --git a/client/public/images/pieces/Emergo/generateSVG_simple.py b/client/public/images/pieces/Emergo/generateSVG_simple.py index 64533624..301c2796 100755 --- a/client/public/images/pieces/Emergo/generateSVG_simple.py +++ b/client/public/images/pieces/Emergo/generateSVG_simple.py @@ -13,29 +13,29 @@ white = '' digits = [ # 1 - '') + f.write(digits[number] + ' fill="none" stroke-width="5" ' + ('stroke="red"' if color == "white" else 'stroke="orange"') + '/>') f.write("\n") f.write(final) f.close()