Board styles - crated script for chesscom board styles, changed moves indicator type to handle different targets
This commit is contained in:
16
public/stylus/chesscom/boards/avocado.user.css
Normal file
16
public/stylus/chesscom/boards/avocado.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/azure.user.css
Normal file
16
public/stylus/chesscom/boards/azure.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/botez.user.css
Normal file
16
public/stylus/chesscom/boards/botez.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/clay.user.css
Normal file
16
public/stylus/chesscom/boards/clay.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/contrast_a.user.css
Normal file
16
public/stylus/chesscom/boards/contrast_a.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/contrast_b.user.css
Normal file
16
public/stylus/chesscom/boards/contrast_b.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/contrast_c.user.css
Normal file
16
public/stylus/chesscom/boards/contrast_c.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/contrast_d.user.css
Normal file
16
public/stylus/chesscom/boards/contrast_d.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny.user.css
Normal file
16
public/stylus/chesscom/boards/danny.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny_blue.user.css
Normal file
16
public/stylus/chesscom/boards/danny_blue.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny_cyan.user.css
Normal file
16
public/stylus/chesscom/boards/danny_cyan.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny_green.user.css
Normal file
16
public/stylus/chesscom/boards/danny_green.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny_pink.user.css
Normal file
16
public/stylus/chesscom/boards/danny_pink.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny_purple.user.css
Normal file
16
public/stylus/chesscom/boards/danny_purple.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny_red.user.css
Normal file
16
public/stylus/chesscom/boards/danny_red.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danny_yellow.user.css
Normal file
16
public/stylus/chesscom/boards/danny_yellow.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/danya.user.css
Normal file
16
public/stylus/chesscom/boards/danya.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/leko.user.css
Normal file
16
public/stylus/chesscom/boards/leko.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/lichess.user.css
Normal file
16
public/stylus/chesscom/boards/lichess.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/lila.user.css
Normal file
16
public/stylus/chesscom/boards/lila.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/lines_alabaster.user.css
Normal file
16
public/stylus/chesscom/boards/lines_alabaster.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/lines_cardboard.user.css
Normal file
16
public/stylus/chesscom/boards/lines_cardboard.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/lines_paper.user.css
Normal file
16
public/stylus/chesscom/boards/lines_paper.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/lines_parchment.user.css
Normal file
16
public/stylus/chesscom/boards/lines_parchment.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_blue.user.css
Normal file
16
public/stylus/chesscom/boards/mono_blue.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_chico.user.css
Normal file
16
public/stylus/chesscom/boards/mono_chico.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_contessa.user.css
Normal file
16
public/stylus/chesscom/boards/mono_contessa.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_coper.user.css
Normal file
16
public/stylus/chesscom/boards/mono_coper.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_coral.user.css
Normal file
16
public/stylus/chesscom/boards/mono_coral.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_cornflower.user.css
Normal file
16
public/stylus/chesscom/boards/mono_cornflower.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_dodger.user.css
Normal file
16
public/stylus/chesscom/boards/mono_dodger.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_flamingo.user.css
Normal file
16
public/stylus/chesscom/boards/mono_flamingo.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_goblin.user.css
Normal file
16
public/stylus/chesscom/boards/mono_goblin.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_harvest.user.css
Normal file
16
public/stylus/chesscom/boards/mono_harvest.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_heliotrope.user.css
Normal file
16
public/stylus/chesscom/boards/mono_heliotrope.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_mahogany.user.css
Normal file
16
public/stylus/chesscom/boards/mono_mahogany.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_mantis.user.css
Normal file
16
public/stylus/chesscom/boards/mono_mantis.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_meadow.user.css
Normal file
16
public/stylus/chesscom/boards/mono_meadow.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_mojo.user.css
Normal file
16
public/stylus/chesscom/boards/mono_mojo.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_mulberry.user.css
Normal file
16
public/stylus/chesscom/boards/mono_mulberry.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_rose.user.css
Normal file
16
public/stylus/chesscom/boards/mono_rose.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_sycamore.user.css
Normal file
16
public/stylus/chesscom/boards/mono_sycamore.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_teal.user.css
Normal file
16
public/stylus/chesscom/boards/mono_teal.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mono_terracotta.user.css
Normal file
16
public/stylus/chesscom/boards/mono_terracotta.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/mud.user.css
Normal file
16
public/stylus/chesscom/boards/mud.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/patina.user.css
Normal file
16
public/stylus/chesscom/boards/patina.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/peach.user.css
Normal file
16
public/stylus/chesscom/boards/peach.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/rock.user.css
Normal file
16
public/stylus/chesscom/boards/rock.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/rose.user.css
Normal file
16
public/stylus/chesscom/boards/rose.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_forest.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_forest.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_laguna.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_laguna.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_mono.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_mono.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_sea.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_sea.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_spring.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_spring.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_summer.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_summer.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_sunset.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_sunset.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/smooth_violet.user.css
Normal file
16
public/stylus/chesscom/boards/smooth_violet.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/spring.user.css
Normal file
16
public/stylus/chesscom/boards/spring.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/standard.user.css
Normal file
16
public/stylus/chesscom/boards/standard.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/violet.user.css
Normal file
16
public/stylus/chesscom/boards/violet.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood1.user.css
Normal file
16
public/stylus/chesscom/boards/wood1.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood2.user.css
Normal file
16
public/stylus/chesscom/boards/wood2.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood3.user.css
Normal file
16
public/stylus/chesscom/boards/wood3.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood4.user.css
Normal file
16
public/stylus/chesscom/boards/wood4.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood5.user.css
Normal file
16
public/stylus/chesscom/boards/wood5.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood6.user.css
Normal file
16
public/stylus/chesscom/boards/wood6.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood7.user.css
Normal file
16
public/stylus/chesscom/boards/wood7.user.css
Normal file
File diff suppressed because one or more lines are too long
16
public/stylus/chesscom/boards/wood8.user.css
Normal file
16
public/stylus/chesscom/boards/wood8.user.css
Normal file
File diff suppressed because one or more lines are too long
@@ -1,19 +1,57 @@
|
|||||||
import { BoardStyle } from "./../src/types";
|
import { BoardStyle, Style } from "./../src/types";
|
||||||
import { loadImage, createCanvas } from "canvas";
|
import { loadImage, createCanvas } from "canvas";
|
||||||
import Board from "../src/board/Board";
|
import Board from "../src/board/Board";
|
||||||
import { CreateCanvas, LoadImage } from "../src/types";
|
import { CreateCanvas, LoadImage } from "../src/types";
|
||||||
import boardStyles from "../src/board/styles-board/boardStyles";
|
import boardStyles from "../src/board/styles-board/boardStyles";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
|
|
||||||
const size = 128;
|
const size = 1200;
|
||||||
const OUT_DIR = "public/boards";
|
// const OUT_DIR = "public/boards";
|
||||||
|
const OUT_DIR_LICHESS = "public/stylus/lichess/boards";
|
||||||
|
const OUT_DIR_CHESSCOM = "public/stylus/chesscom/boards";
|
||||||
|
|
||||||
|
const ChesscomStylesheet = (
|
||||||
|
dataURL: string,
|
||||||
|
boardName: string,
|
||||||
|
style: Style
|
||||||
|
) => {
|
||||||
|
return `
|
||||||
|
/* ==UserStyle==
|
||||||
|
@name ${boardName} chess set
|
||||||
|
@namespace chess.com
|
||||||
|
@version 1.0.0
|
||||||
|
@description Chess set for chess.com
|
||||||
|
@author sharechess.github.io
|
||||||
|
==/UserStyle== */
|
||||||
|
|
||||||
|
@-moz-document domain("chess.com") {
|
||||||
|
.board {background-image: url(${dataURL}) !important}
|
||||||
|
.coordinate-light {fill: ${style.coords.onLight} !important}
|
||||||
|
.coordinate-dark {fill: ${style.coords.onDark} !important}
|
||||||
|
.highlight {opacity: 1 !important; background-color: ${style.moveIndicator.color} !important}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
};
|
||||||
|
|
||||||
const main = async () => {
|
const main = async () => {
|
||||||
|
if (!fs.existsSync(OUT_DIR_CHESSCOM)) {
|
||||||
|
fs.mkdirSync(OUT_DIR_CHESSCOM, { recursive: true });
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!fs.existsSync(OUT_DIR_LICHESS)) {
|
||||||
|
fs.mkdirSync(OUT_DIR_LICHESS, { recursive: true });
|
||||||
|
}
|
||||||
|
|
||||||
const create = () => createCanvas(size, size);
|
const create = () => createCanvas(size, size);
|
||||||
const load = (src: string) => loadImage(`public${src}`);
|
const load = (src: string) => loadImage(`public${src}`);
|
||||||
|
|
||||||
for (const boardStyle of Object.keys(boardStyles)) {
|
for (const boardStyle of Object.keys(boardStyles)) {
|
||||||
console.log(`Generating image for board ${boardStyle}...`);
|
console.log(`Generating stylesheets for board: ${boardStyle}...`);
|
||||||
|
|
||||||
|
const boardNamePretty = boardStyle
|
||||||
|
.split(/[-_]/)
|
||||||
|
.map((chunk) => chunk[0].toUpperCase() + chunk.substring(1))
|
||||||
|
.join(" ");
|
||||||
|
|
||||||
const board = new Board(
|
const board = new Board(
|
||||||
{
|
{
|
||||||
@@ -29,13 +67,18 @@ const main = async () => {
|
|||||||
|
|
||||||
await board.renderStatic();
|
await board.renderStatic();
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
const image = board.canvas.toBuffer();
|
// const image = board.canvas.toBuffer();
|
||||||
|
|
||||||
if (!fs.existsSync(OUT_DIR)) {
|
const chesscomStylesheet = ChesscomStylesheet(
|
||||||
fs.mkdirSync(OUT_DIR, { recursive: true });
|
board.toImgUrl(),
|
||||||
}
|
boardNamePretty,
|
||||||
|
boardStyles[boardStyle as BoardStyle]
|
||||||
|
);
|
||||||
|
|
||||||
fs.writeFileSync(`${OUT_DIR}/${boardStyle}.png`, image);
|
fs.writeFileSync(
|
||||||
|
`${OUT_DIR_CHESSCOM}/${boardStyle}.user.css`,
|
||||||
|
chesscomStylesheet
|
||||||
|
);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -34,12 +34,12 @@ const drawMoveIndicators = async (
|
|||||||
let fromStyle;
|
let fromStyle;
|
||||||
let toStyle;
|
let toStyle;
|
||||||
|
|
||||||
if (moveIndicator.type === "hueShift") {
|
if (moveIndicator.hueShift !== 0) {
|
||||||
const newLight: Solid = {
|
const newLight: Solid = {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
data: {
|
data: {
|
||||||
color: light.data.color
|
color: light.data.color
|
||||||
? changeHSL(light.data.color, moveIndicator.data)
|
? changeHSL(light.data.color, moveIndicator.hueShift)
|
||||||
: "#00ff0055",
|
: "#00ff0055",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -48,7 +48,7 @@ const drawMoveIndicators = async (
|
|||||||
type: "solid",
|
type: "solid",
|
||||||
data: {
|
data: {
|
||||||
color: dark.data.color
|
color: dark.data.color
|
||||||
? changeHSL(dark.data.color, moveIndicator.data)
|
? changeHSL(dark.data.color, moveIndicator.hueShift)
|
||||||
: "#00ff0055",
|
: "#00ff0055",
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -58,7 +58,7 @@ const drawMoveIndicators = async (
|
|||||||
} else {
|
} else {
|
||||||
fromStyle = {
|
fromStyle = {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
data: { color: moveIndicator.data },
|
data: { color: moveIndicator.color },
|
||||||
} as SquareStyle;
|
} as SquareStyle;
|
||||||
toStyle = fromStyle;
|
toStyle = fromStyle;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#3cff0055",
|
color: "#3cff0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ffaa0055",
|
color: "#ffaa0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#00ffff55",
|
color: "#00ffff55",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ffaa0055",
|
color: "#ffaa0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ffff0055",
|
color: "#ffff0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#3cff0055",
|
color: "#3cff0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#3cff0055",
|
color: "#3cff0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ff00ff55",
|
color: "#ff00ff55",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#00ffff55",
|
color: "#00ffff55",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#00ffee55",
|
color: "#00ffee55",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#00ffee55",
|
color: "#00ffee55",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -22,8 +22,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ffaa0055",
|
color: "#ffaa0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "gradient",
|
type: "gradient",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ff007733",
|
color: "#ff007733",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ff007733",
|
color: "#ff007733",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#55ff0022",
|
color: "#55ff0022",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "image",
|
type: "image",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "hueShift",
|
hueShift: 70,
|
||||||
data: 70,
|
color: "#",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ff000044",
|
color: "#ff000044",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#7dacc97f",
|
color: "#7dacc97f",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ffff0055",
|
color: "#ffff0055",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#ffff007f",
|
color: "#ffff007f",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ const style: Style = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
moveIndicator: {
|
moveIndicator: {
|
||||||
type: "color",
|
hueShift: 0,
|
||||||
data: "#00bfff7f",
|
color: "#00bfff7f",
|
||||||
},
|
},
|
||||||
border: {
|
border: {
|
||||||
type: "solid",
|
type: "solid",
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user