Giter VIP home page Giter VIP logo

chessboardjs-themes's Introduction

Chessboardjs Themes

A set of themes for chessboardjs by Chris Oakman. No images requiered.

Live Version

See the themes in this link.

Why this

In a project I was unable to use images so an alternative was turn image to a data-uri format (via R script, that was the fun part ;)).

Other reson was have more pieces and board themes.

How to use

  1. Load chessboard.js and chessboard.css as usual.
  2. Load chessboardjs-themes.js.
  3. Use them using pieceTheme and boardThemeconfiguration option.

Example Use

var board = ChessBoard('boardiv', {
  pieceTheme: chess24_theme,
  boardTheme: chess24_board_theme ,
  position: 'start'
});

var board2 = ChessBoard('boardiv2', {
  pieceTheme: metro_theme,
  boardTheme: metro_board_theme,
  position: 'r1bqkbnr/pppp1ppp/2n5/1B2p3/4P3/5N2/PPPP1PPP/RNBQK2R'
});

});

Pieces Themes

  1. Wikipedia wikipedia_theme.

  1. Chess24 chess24_theme. This is from chess24.com site.

  1. Alpha alpha_theme.

  1. USCF uscf_theme.

  1. Symbol symbol_theme.

  1. Dilena dilena_theme. This is a Chess Artwork for Pieces by Daniela Di Lena.

  1. Leipzig leipzig_theme. Source here.

  1. Metro metro_theme. Source here.

News

  • 2015-11-26: Adding the boardTheme option (this is nos supported via original chessboardjs, download this version instead).
  • 2015-11-25: Adding metro theme (source].

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.