Skip to content

Conversation

@reezpatel
Copy link

Added ability to add custom images using pieceTheme property, which accepts a string.

Usage:

const board = Chessboard2('chess-board', {
        pieceTheme: `/assests/chess/{piece}.svg`,
});

Note: I haven't used Clojurescript before, did my best to come up with the solution.

@ernes
Copy link

ernes commented Feb 10, 2025

Please @oakmac , it would be great if you merge this. Thanks!

@ernes
Copy link

ernes commented Feb 13, 2025

Couldn't this actually close #26 ?

@SC0d3r
Copy link

SC0d3r commented Mar 17, 2025

I tried this, and this works can we merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants