mysticsymbolic.github.io/lib/colors.ts

20 wiersze
478 B
TypeScript

import type { AttachmentPointType } from "./specs";
export const DEFAULT_BG_COLOR = "#858585";
export const STROKE_REPLACEMENT_COLOR = "#000000";
export const FILL_REPLACEMENT_COLOR = "#ffffff";
export const ATTACHMENT_POINT_COLORS: {
[key in AttachmentPointType]: string;
} = {
anchor: "#ff0000",
tail: "#be0027",
leg: "#ffff00",
arm: "#00ff00",
horn: "#00ffff",
crown: "#0000ff",
wildcard: "#000000",
};
export const NESTING_BOUNDING_BOX_COLOR = "#ff00ff";