feat(theme): add four Claude-branded chess piece sets#170
Open
jhonnold wants to merge 1 commit into
Open
Conversation
Adds Claude, Claude Minimal, Claude Glyph, and Claude Playful to the piece-set selector. All four are authored in-repo (no upstream source), share a coral accent (#D97757), and use the classic 45x45 SVG canvas so they scale identically to the existing sets.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds four new in-repo chess piece sets to the Theme → Pieces selector:
All 48 SVGs are hand-written (no upstream source), share the coral accent
#D97757, and use the classic45×45viewBoxso they scale identically to the existing sets — no meridian-style scaling shim needed.Registry:
public/js/components/theme/piece-sets.tsPieceSetIdunion andPIECE_SETSarray extended with the four new entries. Every consumer (board/, theme modal,pieceSrc()) already reads from this registry, so no other code changes were required.DEFAULT_PIECE_SETstays'classic', so the pre-JS fallback path inviews/pages/broadcasts.ejsis unaffected.public/img/pieces/CREDITS.mdupdated with attribution.Test plan
npm run build(TypeScript + webpack) clean16065withdev-server+dev-publiclocalStorage.tlcv.pieceSetpersists across reloadsclassic,livius,meridian,meridian_shaded) unchanged