]> git.sesse.net Git - remoteglot/commit
Use SVG pieces.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 20 Oct 2022 16:04:27 +0000 (18:04 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 20 Oct 2022 16:04:27 +0000 (18:04 +0200)
commit41a459bda32708980aec940f52abc70385a72211
tree72ef83eed679693f2d5f00a453a8fdee5a16bb05
parentbe479f2ad66f336dd705e0974de5a332a35af683
Use SVG pieces.

The PNG pieces don't look fantastic on hidpi, and the SVGs are a
bit smaller, too. This is the same Wikipedia set, just with some
(most) pieces in newer versions since they are smaller and sometimes
better aligned.

We put the SVGs directly into the .js file as base64, so that we
get zero HTTP requests for the pieces.
build.sh
www/js/remoteglot.js