MeikyuuBoardLooktype
A board's colours: the paper, the walls, the frame, whether it is a dark board, and the line that shows on it when none is chosen.
Import it
import type { MeikyuuBoardLook } from "@johnmorrisdotca/meikyuu/draw";
Definition
type MeikyuuBoardLook = {
paper: string;
wall: string;
frame: string;
dark: boolean;
trail: string;
};
Members
| Name | Type | Description |
|---|---|---|
paper | string | |
wall | string | |
frame | string | |
dark | boolean | |
trail | string |
Examples
import type { MeikyuuBoardLook } from "@johnmorrisdotca/meikyuu/draw";
import { boardLookOf } from "@johnmorrisdotca/meikyuu/draw";
const value: MeikyuuBoardLook = boardLookOf("paper");
console.log(value);{
paper: '#fbf8f1',
wall: '#1f2320',
frame: '#a98954',
dark: false,
trail: '#2e8b57'
}What it prints (run when this page was built)