UNPKG

nice-ui

Version:

React design system, components, and utilities

24 lines (23 loc) 937 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.borderOpacity = exports.borderColor = exports.borderWidth = exports.pieceMargin = exports.squareWidth = exports.PIECES = void 0; const conf_1 = require("../../../../misc/conf"); exports.PIECES = { r: conf_1.CDN + '/chess/br.png', b: conf_1.CDN + '/chess/bb.png', k: conf_1.CDN + '/chess/bk.png', n: conf_1.CDN + '/chess/bn.png', p: conf_1.CDN + '/chess/bp.png', q: conf_1.CDN + '/chess/bq.png', R: conf_1.CDN + '/chess/wr.png', B: conf_1.CDN + '/chess/wb.png', K: conf_1.CDN + '/chess/wk.png', N: conf_1.CDN + '/chess/wn.png', P: conf_1.CDN + '/chess/wp.png', Q: conf_1.CDN + '/chess/wq.png', }; exports.squareWidth = 100 * (1 / 8); exports.pieceMargin = 0.0; // How far piece image is from square boundaries, in %. exports.borderWidth = 0.07; exports.borderColor = '#000'; exports.borderOpacity = 0.65;