mysticsymbolic.github.io/lib/colors.ts

19 wiersze
455 B
TypeScript
Czysty Zwykły widok Historia

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