Skip to content

Releases: unicolored/chessfield

v1.4.6 New feature: inject your own theme

24 Mar 16:04
Compare
Choose a tag to compare

What's Changed

Inject your own theme with colors for light and dark squares, plus the highlighted color of the last move.

import { Chessfield } from 'chessfield';

// Add and use a custom theme
const config = {
  plugins: {
    themes: {
      mytheme: {
        light: '#e3dbc9',
        dark: '#cb4444',
        highlight: '#c99a39',
      },
    },
  },
  theme: 'mytheme',
  camera: 'white',
  angle: 'right',
};

const field = Chessfield(document.body, config);

Full Changelog: v1.4.5...v1.4.6

New api to update config partially

13 Mar 17:44
Compare
Choose a tag to compare

Some config items have now effects when updated via api: mode, theme, camera, angle.

Full Changelog: 1.2.1...1.3.0

Chessfield is public!

12 Mar 21:27
Compare
Choose a tag to compare

I’m thrilled to announce that Chessfield 1.2.0 is out as of March 12, 2025! 🎉 This isn’t just any update—it’s the moment Chessfield goes public! 😊

With 1.2.0, we’ve opened up the GitHub repo for everyone to explore and contribute to. Plus, the npm package is now live and (fingers crossed 🤞) working smoothly. This is the first public release, so rather than a laundry list of features, it’s all about getting Chessfield out into the world and into your hands. 🚀

Want to dive in? Head over to the official project page on our blog at https://unicolo.red/chessfield. That’s where you’ll find more info, links to the repo and package, and a chance to join the chess fun! ♟️

Big thanks to everyone who’s been cheering this on—let’s build something awesome together! 🙌