Reference · SVG faces and looks
TILE_MARKSconstant
The marks a page may put on tiles: the one chosen, ones hinted, the matches Find lights, and a wash over the blocked.
Import it
import { TILE_MARKS } from "@johnmorrisdotca/jarajara/faces";
Definition
const TILE_MARKS: { readonly chosen: "#dbe8d3"; readonly chosenRing: "#52664b"; readonly hinted: "#9d6c1f"; readonly blockedWash: "rgba(34, 35, 31, 0.26)"; readonly shadow: "#2a1d0e"; readonly gold: "#d4a017"; readonly found: "#1c6e8c"; } = { chosen: "#dbe8d3", chosenRing: "#52664b", hinted: "#9d6c1f", blockedWash: "rgba(34, 35, 31, 0.26)", shadow: "#2a1d0e", gold: "#d4a017", found: "#1c6e8c" } as const
Members
| Name | Type | Description |
|---|---|---|
chosen | "#dbe8d3" | |
chosenRing | "#52664b" | |
hinted | "#9d6c1f" | |
blockedWash | "rgba(34, 35, 31, 0.26)" | |
shadow | "#2a1d0e" | |
gold | "#d4a017" | |
found | "#1c6e8c" |
Examples
import { TILE_MARKS } from "@johnmorrisdotca/jarajara/faces";
console.log(TILE_MARKS);{
chosen: '#dbe8d3',
chosenRing: '#52664b',
hinted: '#9d6c1f',
blockedWash: 'rgba(34, 35, 31, 0.26)',
shadow: '#2a1d0e',
gold: '#d4a017',
found: '#1c6e8c'
}What it prints (run when this page was built)