Merge pull request #8111 from ornicar/horsey-pieces

Horsey piece set
pull/8123/head
Thibault Duplessis 2021-02-08 22:08:29 +01:00 committed by GitHub
commit c24946e923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
27 changed files with 58 additions and 5 deletions

View File

@ -38,7 +38,7 @@ public/font/lichess.chess.{sfd,woff,woff2} | the [pgn4web](http://pgn4web.casasc
Noto Sans in public/font | [Google](https://fonts.google.com/specimen/Noto+Sans) | [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
Roboto in public/font | [Christian Robertson](https://fonts.google.com/specimen/Roboto) | [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
Segment7 in public/font | [Cedders](https://www.fontspace.com/cedders) | [SIL Open Font License](https://www.fontspace.com/help#license-17)
public/images/emoji/horsey.png | cham | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/piece/horsey, public/images/emoji/horsey.png | cham, michael1241 | [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
public/images/staunton | [James Clarke](https://github.com/clarkerubber/Staunton-Pieces) | [MIT](https://github.com/clarkerubber/Staunton-Pieces/blob/master/LICENSE)
public/images/staunton/piece/CubesAndPi | CubesAndPi | AGPLv3+
public/images/trophy | [James Clarke](https://github.com/clarkerubber/Staunton-Pieces/tree/master/Trophies) | [MIT](https://github.com/clarkerubber/Staunton-Pieces/blob/master/LICENSE)

View File

@ -35,7 +35,8 @@ themes = [
['governor', 'svg'],
['libra', 'svg'],
['dubrovny', 'svg'],
['icpieces', 'svg']
['icpieces', 'svg'],
['horsey', 'svg']
]
types = {
'svg' => 'svg+xml;base64,',

View File

@ -52,7 +52,8 @@ object PieceSet extends PieceSetObject {
"dubrovny",
"icpieces",
"shapes",
"letter"
"letter",
"horsey"
) map { name =>
new PieceSet(name)
}

View File

@ -37,7 +37,8 @@ object Theme extends ThemeObject {
"brown" -> (HexColor("f0d9b5") -> HexColor("b58863")),
"green" -> (HexColor("ffffdd") -> HexColor("86a666")),
"purple" -> (HexColor("9f90b0") -> HexColor("7d4a8d")),
"ic" -> (HexColor("ececec") -> HexColor("c1c18e"))
"ic" -> (HexColor("ececec") -> HexColor("c1c18e")),
"horsey" -> (HexColor("f1d9b6") -> HexColor("8e6547"))
)
val all = List(
@ -64,7 +65,8 @@ object Theme extends ThemeObject {
"purple",
"purple-diag",
"pink",
"ic"
"ic",
"horsey"
) map { name =>
new Theme(name, colors.getOrElse(name, defaultHexColors))
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 146 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,12 @@
.is2d .pawn.white {background-image:url('/assets/piece/horsey/wP.svg')}
.is2d .knight.white {background-image:url('/assets/piece/horsey/wN.svg')}
.is2d .bishop.white {background-image:url('/assets/piece/horsey/wB.svg')}
.is2d .rook.white {background-image:url('/assets/piece/horsey/wR.svg')}
.is2d .queen.white {background-image:url('/assets/piece/horsey/wQ.svg')}
.is2d .king.white {background-image:url('/assets/piece/horsey/wK.svg')}
.is2d .pawn.black {background-image:url('/assets/piece/horsey/bP.svg')}
.is2d .knight.black {background-image:url('/assets/piece/horsey/bN.svg')}
.is2d .bishop.black {background-image:url('/assets/piece/horsey/bB.svg')}
.is2d .rook.black {background-image:url('/assets/piece/horsey/bR.svg')}
.is2d .queen.black {background-image:url('/assets/piece/horsey/bQ.svg')}
.is2d .king.black {background-image:url('/assets/piece/horsey/bK.svg')}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><path d="M153.71 357.852c-4.7-.86-15.17-3.28-23.265-5.378-13.736-3.56-14.869-4.213-16.99-9.803-6.342-16.717.018-62.736 11.026-79.78 13.733-21.265 18.818-35.649 20.119-56.911l.563-9.205-12.345-.788c-13.012-.83-15.542-1.595-11.93-3.606 2.527-1.408 11.93-13.52 11.93-15.369 0-.676-1.923-1.99-4.274-2.918-5.275-2.086-15.817-16.014-18.534-24.488-9.07-28.29.224-53.911 25.166-69.373 16.691-10.347 29.61-13.526 51.772-12.737 16.533.589 20.591 1.373 31.338 6.055 23.16 10.091 36.667 27.15 40.52 51.177 1.822 11.352 1.583 13.26-3.376 26.996-2.935 8.13-7.106 16.806-9.268 19.283-4.432 5.077-5 4.342 10.097 13.08 10.716 6.201 9.721 9-4.157 11.697-11.864 2.304-11.976 2.38-12.142 8.296-.387 13.721 6.026 32.068 15.99 45.752 15.685 21.54 20.406 37.791 18.305 63.028-.737 8.867-2.489 30.827-3.428 30.827-.98 0-.806-22.542-.104-33.102 1.071-16.105.694-19.993-3.029-31.23-2.547-7.689-8-17.978-13.6-25.668-11.592-15.915-16.815-30.514-16.815-47V194.27l9.754-1.04c5.365-.573 10.151-1.399 10.636-1.836 1.715-1.545-1.744-4.535-9.216-7.97-9.728-4.471-10.5-6.676-4.926-14.075 2.512-3.335 6.522-11.542 8.911-18.238 8.167-22.882 1.841-46.66-16.906-63.55-14.47-13.037-27.367-17.545-50.484-17.646-20.794-.09-29.422 2.058-44.363 11.047-13.537 8.145-23.274 19.395-27.954 32.297-2.938 8.1-3.096 11.023-1.225 22.592 3.12 19.287 11.422 32.722 23.807 38.526l5.343 2.505-6.916 6.897c-3.803 3.793-6.386 7.374-5.738 7.957.647.583 5.2 1.477 10.119 1.987 8.935.925 8.942.932 9.516 8.017 1.429 17.652-7.541 45.193-19.64 60.301-2.55 3.184-5.523 8.574-6.606 11.979-4.245 13.334-7.864 40.937-7.077 53.968.738 12.207 1.324 13.916 5.905 17.206 6.285 4.516 32.786 10.93 50.477 12.219 28.866 2.101 79.038-4.866 94.74-13.157 5.851-3.088 6.271-3.112 5.699-.321-.803 3.912-25.633 11.493-45.864 14.004-17.585 2.181-59.442 2.13-71.56-.088z" transform="matrix(.83059 0 0 .8634 32.307 41.652)" stroke="#000" stroke-width="9.7"/><path d="M173.6 349.974c-11.858-.958-30.95-5.369-38.033-8.787-3.885-1.875-5.31-3.02-6.319-5.077-4.126-8.408-.29-49.133 5.807-61.643.932-1.911 3.137-5.56 4.9-8.11 6.835-9.876 12.299-24.099 14.49-37.719 1.027-6.388.8-16.673-.399-18.05-.776-.892-2.575-1.327-8.977-2.17a62.999 62.999 0 0 1-4.34-.756l-2.11-.462.72-1.449c.397-.796 2.814-3.679 5.371-6.405l4.65-4.956-4.558-2.478c-5.35-2.909-9.053-6.374-12.171-11.392-6.897-11.097-10.21-29.824-6.99-39.513 4.62-13.903 14.28-24.558 29.575-32.62 7.893-4.16 13.431-5.514 24.848-6.074 7.093-.349 17.207.284 22.387 1.401 9.764 2.105 16.672 5.838 24.967 13.494 14.707 13.573 20.35 32.172 15.482 51.023-1.338 5.18-5.315 14.282-8.413 19.253-4.469 7.172-4.088 8.337 4.155 12.721 4.948 2.632 7.846 4.82 7.846 5.925 0 .37-.935.813-2.34 1.11-2.185.463-13.165 1.887-14.55 1.887-.88 0-.397 17.776.616 22.707 1.967 9.576 5.252 17.034 12.354 28.053 5.945 9.222 10.05 17.327 12.141 23.972 2.585 8.212 2.7 9.766 2.176 29.627-.257 9.762-.377 18.936-.266 20.386l.201 2.638-3.049 1.596c-15.004 7.85-55.564 13.855-80.171 11.868z" fill="gray"/><g stroke="#000" stroke-width="2.8"><path d="M192.68 176.999c-2.497-2.25-.243-3.341 8.987-4.347 5.485-.598 12.322-1.565 15.195-2.15 6.412-1.306 7.187 2.183.95 4.278-5.322 1.787-23.8 3.418-25.132 2.219zM190.719 152.647c-1.587-4.503 1.851-8.375 4.954-5.58 2.521 2.272 1.614 7.689-1.442 8.605-1.217.365-2.797-.996-3.512-3.025zM216.707 147.334c.35-2.214 2.175-4.251 4.108-4.583 2.692-.463 3.335.302 2.848 3.388-.349 2.213-2.174 4.25-4.107 4.582-2.692.463-3.336-.302-2.849-3.387z" transform="matrix(.83059 0 0 .8634 27.324 41.652)"/></g></svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><path d="M137.156 359.726c0-.645-2-5.127-4.443-9.959-13.026-25.758-27.484-69.962-34.498-105.477-9.604-48.633-12.636-88.757-9.314-123.272 1.478-15.353 1.79-28.509.773-32.565-.361-1.438-1.484-4.202-2.496-6.141-1.012-1.94-1.84-3.821-1.84-4.182 0-1.335 2.47-2.91 6.08-3.876 5.144-1.378 17.239-3.391 20.37-3.391 3.718 0 4.985 1.344 6.06 6.428.44 2.086 1.275 5.29 1.854 7.12l1.053 3.329 5.705-.079c3.137-.043 8.593-.514 12.122-1.047 8.488-1.281 8.35-1.124 7.792-8.858-.587-8.138-.478-12.513.333-13.302.433-.422 2.856-.831 6.85-1.157 7.363-.6 36.868-2.08 37.079-1.859.081.085.395 4.22.697 9.187.303 4.968.64 9.48.75 10.026.186.927.703 1.032 7.679 1.568 12.523.962 21.013 1.157 25.096.574 4.14-.59 7.29-1.87 8.195-3.329.318-.513.797-3.568 1.064-6.788.584-7.038 1.06-8.89 2.672-10.406 2.022-1.9 6.9-1.805 24.247.473 8.127 1.067 15.026 1.94 15.332 1.94.413 0 .557 4.005.56 15.569.006 15.832.575 32.744 1.421 42.192 1.126 12.572 6.817 70.302 8.318 84.383 3.288 30.837 4.162 45.892 4.166 71.785.005 27.105-1.522 46.409-4.932 62.328l-.47 2.189-7.938.28c-5.413.192-10.736.74-16.733 1.723-20.867 3.422-74.233 9.787-101.973 12.163-9.77.837-13.081 1.308-16.002 2.279-1.135.377-2.866.829-3.846 1.005-1.665.3-1.783.243-1.783-.853z" fill="none" stroke="#000" stroke-width="10.479"/><path d="M136.667 345.072c-30.068-63.296-47.682-155.17-42.374-221.024.67-8.32 1.233-19.968 1.25-25.885.03-10.24-.054-10.94-1.741-14.579l-1.772-3.822 3.416-.733c4.836-1.037 16.094-2.817 16.314-2.579.1.11.948 3.073 1.882 6.586.934 3.513 2.017 7.22 2.408 8.236l.71 1.849 7.58-.013c4.169-.007 10.454-.423 13.967-.924 12.522-1.784 13.792-3.22 13.54-15.301l-.162-7.835 6.253-.44c10.705-.752 27.084-1.554 27.327-1.337.128.113.503 3.57.833 7.68.67 8.332 1.136 9.641 3.95 11.097 4.479 2.316 33.14 3.241 39.74 1.283 7.081-2.101 8.872-4.458 9.65-12.699.245-2.588.612-5.559.817-6.602l.371-1.895 4.475.438c6.554.641 20.889 2.294 23.803 2.745l2.522.39.012 14.564c.022 24.756.757 34.234 9.05 116.756 3.232 32.17 4.119 44.456 4.73 65.55.647 22.328-1.2 55.915-3.72 67.669l-.73 3.4-6.801.445c-3.742.246-11.668 1.183-17.614 2.084-21.729 3.292-66.116 8.596-93.17 11.133-8.32.78-16.338 1.693-17.817 2.028-1.479.335-3.09.617-3.578.626-.489.01-2.793-3.992-5.12-8.891z" fill="gray" stroke="#000" stroke-width="2.112"/><g stroke="#000" stroke-width="1.779"><path d="M214.746 186.151c-3.08-1.855-1.409-3.385 2.814-2.578 4.487.859 18.968-2.473 26.035-5.989 4.378-2.179 7.757-1.347 5.09 1.253-2.037 1.986-23.8 8.203-28.783 8.221-1.996.007-4.316-.4-5.156-.907zM114.11 169.712c-5.255-1.718-6.302-2.978-6.302-7.584 0-16.562 24.493-29.756 44.576-24.014 10.29 2.942 15.677 8.025 14.57 13.745-.634 3.267-.06 4.332 2.07 3.84 4.192-.97 3.667.656-1.99 6.173-8.98 8.755-37.294 12.95-52.924 7.84z"/><path d="M151.593 166.763c1.766-1.063 1.756-2.292-.034-4.307-3.53-3.975-3.256-19.172.36-19.981 4.757-1.064-8.792-3.617-14.648-2.76-7.383 1.08-15.3 5.612-20.52 11.746-5.671 6.663-5.52 11.438.48 15.053 4.112 2.478 6.874 2.828 18.366 2.327 7.44-.324 14.638-1.26 15.996-2.078zM224.16 169.73c-7.146-2.337-15.558-10.034-10.995-10.034 1.538 0 7.615 3.71 10.217 5.163 7.758 4.332 15.6 4.259 24.897-.232 6.373-3.079 6.39-3.133 2.571-7.74-2.882-3.476-3.551-6.856-2.669-13.476 1.12-8.409.915-8.877-4.245-9.657-13.622-2.06-29.409 9-29.123 20.406.165 6.602-2.093 8.722-4.787 4.492-2.471-3.88-1.39-9.423 2.94-15.076 6.45-8.421 14.258-12.025 27.746-12.806 11.248-.65 11.891-.49 20.96 5.255 8.873 5.62 9.282 6.253 7.941 12.262-1.647 7.379-10.853 15.993-21.873 20.468-8.877 3.605-14.79 3.85-23.58.975z"/></g><path d="M124.138 167.824c-3.221-.373-6.215-1.71-8.415-3.757-2.71-2.52-2.721-5.473-.038-9.51 3.964-5.962 11.438-11.207 18.906-13.267 2.034-.561 2.65-.622 6.181-.607 2.896.013 4.664.15 6.758.524 1.56.279 2.878.549 2.93.6.051.052-.196.532-.55 1.068-1.095 1.654-1.56 3.78-1.703 7.78-.209 5.859.647 9.879 2.67 12.546.587.775 1.067 1.542 1.067 1.706 0 1.386-5.848 2.403-16.876 2.936-5.805.281-8.38.277-10.93-.019zM232.406 166.87c-3.13-.364-5.964-1.5-11.75-4.717l-5.284-2.937.161-.85c.09-.469.247-2.296.352-4.06.227-3.827.69-5.356 2.434-8.03 4.472-6.858 13.648-11.7 22.174-11.7 3.437 0 6.01.516 6.74 1.352.527.603.556.783.434 2.678-.071 1.117-.309 3.476-.528 5.24-.848 6.84-.091 9.924 3.55 14.47 1.864 2.325 1.984 2.62 1.296 3.168-.878.7-6.044 3.153-8.328 3.955-3.825 1.344-7.724 1.84-11.251 1.43z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.8 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.2 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><path d="M153.71 357.852c-4.7-.86-15.17-3.28-23.265-5.378-13.736-3.56-14.869-4.213-16.99-9.803-6.342-16.717.018-62.736 11.026-79.78 13.733-21.265 18.818-35.649 20.119-56.911l.563-9.205-12.345-.788c-13.012-.83-15.542-1.595-11.93-3.606 2.527-1.408 11.93-13.52 11.93-15.369 0-.676-1.923-1.99-4.274-2.918-5.275-2.086-15.817-16.014-18.534-24.488-9.07-28.29.224-53.911 25.166-69.373 16.691-10.347 29.61-13.526 51.772-12.737 16.533.589 20.591 1.373 31.338 6.055 23.16 10.091 36.667 27.15 40.52 51.177 1.822 11.352 1.583 13.26-3.376 26.996-2.935 8.13-7.106 16.806-9.268 19.283-4.432 5.077-5 4.342 10.097 13.08 10.716 6.201 9.721 9-4.157 11.697-11.864 2.304-11.976 2.38-12.142 8.296-.387 13.721 6.026 32.068 15.99 45.752 15.685 21.54 20.406 37.791 18.305 63.028-.737 8.867-2.489 30.827-3.428 30.827-.98 0-.806-22.542-.104-33.102 1.071-16.105.694-19.993-3.029-31.23-2.547-7.689-8-17.978-13.6-25.668-11.592-15.915-16.815-30.514-16.815-47V194.27l9.754-1.04c5.365-.573 10.151-1.399 10.636-1.836 1.715-1.545-1.744-4.535-9.216-7.97-9.728-4.471-10.5-6.676-4.926-14.075 2.512-3.335 6.522-11.542 8.911-18.238 8.167-22.882 1.841-46.66-16.906-63.55-14.47-13.037-27.367-17.545-50.484-17.646-20.794-.09-29.422 2.058-44.363 11.047-13.537 8.145-23.274 19.395-27.954 32.297-2.938 8.1-3.096 11.023-1.225 22.592 3.12 19.287 11.422 32.722 23.807 38.526l5.343 2.505-6.916 6.897c-3.803 3.793-6.386 7.374-5.738 7.957.647.583 5.2 1.477 10.119 1.987 8.935.925 8.942.932 9.516 8.017 1.429 17.652-7.541 45.193-19.64 60.301-2.55 3.184-5.523 8.574-6.606 11.979-4.245 13.334-7.864 40.937-7.077 53.968.738 12.207 1.324 13.916 5.905 17.206 6.285 4.516 32.786 10.93 50.477 12.219 28.866 2.101 79.038-4.866 94.74-13.157 5.851-3.088 6.271-3.112 5.699-.321-.803 3.912-25.633 11.493-45.864 14.004-17.585 2.181-59.442 2.13-71.56-.088z" transform="matrix(.83059 0 0 .8634 32.307 41.652)" stroke="#000" stroke-width="9.7"/><path d="M173.6 349.974c-11.858-.958-30.95-5.369-38.033-8.787-3.885-1.875-5.31-3.02-6.319-5.077-4.126-8.408-.29-49.133 5.807-61.643.932-1.911 3.137-5.56 4.9-8.11 6.835-9.876 12.299-24.099 14.49-37.719 1.027-6.388.8-16.673-.399-18.05-.776-.892-2.575-1.327-8.977-2.17a62.999 62.999 0 0 1-4.34-.756l-2.11-.462.72-1.449c.397-.796 2.814-3.679 5.371-6.405l4.65-4.956-4.558-2.478c-5.35-2.909-9.053-6.374-12.171-11.392-6.897-11.097-10.21-29.824-6.99-39.513 4.62-13.903 14.28-24.558 29.575-32.62 7.893-4.16 13.431-5.514 24.848-6.074 7.093-.349 17.207.284 22.387 1.401 9.764 2.105 16.672 5.838 24.967 13.494 14.707 13.573 20.35 32.172 15.482 51.023-1.338 5.18-5.315 14.282-8.413 19.253-4.469 7.172-4.088 8.337 4.155 12.721 4.948 2.632 7.846 4.82 7.846 5.925 0 .37-.935.813-2.34 1.11-2.185.463-13.165 1.887-14.55 1.887-.88 0-.397 17.776.616 22.707 1.967 9.576 5.252 17.034 12.354 28.053 5.945 9.222 10.05 17.327 12.141 23.972 2.585 8.212 2.7 9.766 2.176 29.627-.257 9.762-.377 18.936-.266 20.386l.201 2.638-3.049 1.596c-15.004 7.85-55.564 13.855-80.171 11.868z" fill="#fff"/><g stroke="#000" stroke-width="2.8"><path d="M192.68 176.999c-2.497-2.25-.243-3.341 8.987-4.347 5.485-.598 12.322-1.565 15.195-2.15 6.412-1.306 7.187 2.183.95 4.278-5.322 1.787-23.8 3.418-25.132 2.219zM190.719 152.647c-1.587-4.503 1.851-8.375 4.954-5.58 2.521 2.272 1.614 7.689-1.442 8.605-1.217.365-2.797-.996-3.512-3.025zM216.707 147.334c.35-2.214 2.175-4.251 4.108-4.583 2.692-.463 3.335.302 2.848 3.388-.349 2.213-2.174 4.25-4.107 4.582-2.692.463-3.336-.302-2.849-3.387z" transform="matrix(.83059 0 0 .8634 27.324 41.652)"/></g></svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400" viewBox="0 0 400 400"><path d="M137.156 359.726c0-.645-2-5.127-4.443-9.959-13.026-25.758-27.484-69.962-34.498-105.477-9.604-48.633-12.636-88.757-9.314-123.272 1.478-15.353 1.79-28.509.773-32.565-.361-1.438-1.484-4.202-2.496-6.141-1.012-1.94-1.84-3.821-1.84-4.182 0-1.335 2.47-2.91 6.08-3.876 5.144-1.378 17.239-3.391 20.37-3.391 3.718 0 4.985 1.344 6.06 6.428.44 2.086 1.275 5.29 1.854 7.12l1.053 3.329 5.705-.079c3.137-.043 8.593-.514 12.122-1.047 8.488-1.281 8.35-1.124 7.792-8.858-.587-8.138-.478-12.513.333-13.302.433-.422 2.856-.831 6.85-1.157 7.363-.6 36.868-2.08 37.079-1.859.081.085.395 4.22.697 9.187.303 4.968.64 9.48.75 10.026.186.927.703 1.032 7.679 1.568 12.523.962 21.013 1.157 25.096.574 4.14-.59 7.29-1.87 8.195-3.329.318-.513.797-3.568 1.064-6.788.584-7.038 1.06-8.89 2.672-10.406 2.022-1.9 6.9-1.805 24.247.473 8.127 1.067 15.026 1.94 15.332 1.94.413 0 .557 4.005.56 15.569.006 15.832.575 32.744 1.421 42.192 1.126 12.572 6.817 70.302 8.318 84.383 3.288 30.837 4.162 45.892 4.166 71.785.005 27.105-1.522 46.409-4.932 62.328l-.47 2.189-7.938.28c-5.413.192-10.736.74-16.733 1.723-20.867 3.422-74.233 9.787-101.973 12.163-9.77.837-13.081 1.308-16.002 2.279-1.135.377-2.866.829-3.846 1.005-1.665.3-1.783.243-1.783-.853z" fill="none" stroke="#000" stroke-width="10.479"/><path d="M136.667 345.072c-30.068-63.296-47.682-155.17-42.374-221.024.67-8.32 1.233-19.968 1.25-25.885.03-10.24-.054-10.94-1.741-14.579l-1.772-3.822 3.416-.733c4.836-1.037 16.094-2.817 16.314-2.579.1.11.948 3.073 1.882 6.586.934 3.513 2.017 7.22 2.408 8.236l.71 1.849 7.58-.013c4.169-.007 10.454-.423 13.967-.924 12.522-1.784 13.792-3.22 13.54-15.301l-.162-7.835 6.253-.44c10.705-.752 27.084-1.554 27.327-1.337.128.113.503 3.57.833 7.68.67 8.332 1.136 9.641 3.95 11.097 4.479 2.316 33.14 3.241 39.74 1.283 7.081-2.101 8.872-4.458 9.65-12.699.245-2.588.612-5.559.817-6.602l.371-1.895 4.475.438c6.554.641 20.889 2.294 23.803 2.745l2.522.39.012 14.564c.022 24.756.757 34.234 9.05 116.756 3.232 32.17 4.119 44.456 4.73 65.55.647 22.328-1.2 55.915-3.72 67.669l-.73 3.4-6.801.445c-3.742.246-11.668 1.183-17.614 2.084-21.729 3.292-66.116 8.596-93.17 11.133-8.32.78-16.338 1.693-17.817 2.028-1.479.335-3.09.617-3.578.626-.489.01-2.793-3.992-5.12-8.891z" fill="#fff" stroke="#000" stroke-width="2.112"/><g stroke="#000" stroke-width="1.779"><path d="M214.746 186.151c-3.08-1.855-1.409-3.385 2.814-2.578 4.487.859 18.968-2.473 26.035-5.989 4.378-2.179 7.757-1.347 5.09 1.253-2.037 1.986-23.8 8.203-28.783 8.221-1.996.007-4.316-.4-5.156-.907zM114.11 169.712c-5.255-1.718-6.302-2.978-6.302-7.584 0-16.562 24.493-29.756 44.576-24.014 10.29 2.942 15.677 8.025 14.57 13.745-.634 3.267-.06 4.332 2.07 3.84 4.192-.97 3.667.656-1.99 6.173-8.98 8.755-37.294 12.95-52.924 7.84z"/><path d="M151.593 166.763c1.766-1.063 1.756-2.292-.034-4.307-3.53-3.975-3.256-19.172.36-19.981 4.757-1.064-8.792-3.617-14.648-2.76-7.383 1.08-15.3 5.612-20.52 11.746-5.671 6.663-5.52 11.438.48 15.053 4.112 2.478 6.874 2.828 18.366 2.327 7.44-.324 14.638-1.26 15.996-2.078zM224.16 169.73c-7.146-2.337-15.558-10.034-10.995-10.034 1.538 0 7.615 3.71 10.217 5.163 7.758 4.332 15.6 4.259 24.897-.232 6.373-3.079 6.39-3.133 2.571-7.74-2.882-3.476-3.551-6.856-2.669-13.476 1.12-8.409.915-8.877-4.245-9.657-13.622-2.06-29.409 9-29.123 20.406.165 6.602-2.093 8.722-4.787 4.492-2.471-3.88-1.39-9.423 2.94-15.076 6.45-8.421 14.258-12.025 27.746-12.806 11.248-.65 11.891-.49 20.96 5.255 8.873 5.62 9.282 6.253 7.941 12.262-1.647 7.379-10.853 15.993-21.873 20.468-8.877 3.605-14.79 3.85-23.58.975z"/></g><path d="M124.138 167.824c-3.221-.373-6.215-1.71-8.415-3.757-2.71-2.52-2.721-5.473-.038-9.51 3.964-5.962 11.438-11.207 18.906-13.267 2.034-.561 2.65-.622 6.181-.607 2.896.013 4.664.15 6.758.524 1.56.279 2.878.549 2.93.6.051.052-.196.532-.55 1.068-1.095 1.654-1.56 3.78-1.703 7.78-.209 5.859.647 9.879 2.67 12.546.587.775 1.067 1.542 1.067 1.706 0 1.386-5.848 2.403-16.876 2.936-5.805.281-8.38.277-10.93-.019zM232.406 166.87c-3.13-.364-5.964-1.5-11.75-4.717l-5.284-2.937.161-.85c.09-.469.247-2.296.352-4.06.227-3.827.69-5.356 2.434-8.03 4.472-6.858 13.648-11.7 22.174-11.7 3.437 0 6.01.516 6.74 1.352.527.603.556.783.434 2.678-.071 1.117-.309 3.476-.528 5.24-.848 6.84-.091 9.924 3.55 14.47 1.864 2.325 1.984 2.62 1.296 3.168-.878.7-6.044 3.153-8.328 3.955-3.825 1.344-7.724 1.84-11.251 1.43z" fill="#fff"/></svg>

After

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -25,6 +25,7 @@ $board-files: (
'newspaper': 'newspaper.png',
'pink': 'pink-pyramid.png',
'ic': 'svg/ic.svg',
'horsey': 'horsey.jpg',
);
@each $color, $file in $board-files {

View File

@ -45,6 +45,11 @@ square {
background-color: rgba(0, 155, 199, 0.41);
}
body.horsey &.last-move {
background: url(../images/board/horsey.last-move.png);
background-size: cover;
}
&.last-move {
will-change: transform;
background-color: rgba(155, 199, 0, 0.41);

View File

@ -24,6 +24,7 @@ const changeColorHandle = (): void => {
purple: '#9f90b0 #7d4a8d',
'purple-diag': '#E5DAF0 #957AB0',
ic: '#ececec #c1c18e',
horsey: '#F0D9B5 #946f51',
};
for (const theme of document.body.className.split(' ')) {

View File

@ -140,6 +140,10 @@
background-image: url(../images/board/svg/ic.svg);
background-size: 256px;
}
.horsey {
background-image: url(../images/board/horsey.thumbnail.jpg);
}
}
&.d3 {

View File

@ -143,6 +143,7 @@ const themes = [
'purple-diag',
'pink',
'ic',
'horsey',
];
function configureSrc(url: string): string {

View File

@ -174,6 +174,7 @@ lichess.load.then(() => {
'purple-diag',
'pink',
'ic',
'horsey',
];
function configureSrc(url: string) {