Reference · SVG faces and looks
TileBackOptionstype
How a back is drawn. Every field may be left out.
Import it
import type { TileBackOptions } from "@johnmorrisdotca/jarajara/faces";
Definition
type TileBackOptions = {
colour?: string;
mark?: string;
title?: string;
design?: TileDesign;
};
Members
| Name | Type | Description |
|---|---|---|
colour (optional) | string | undefined | The back's colour as |
mark (optional) | string | undefined | A few letters written across the middle of it, a site's name: at most 8 are drawn. |
title (optional) | string | undefined | What a screen reader says. Unless said, "tile, face down". An empty string makes the picture decoration. |
design (optional) | TileDesign | undefined | A design whose own back is drawn, for the names a design brings ( |
Examples
import type { TileBackOptions } from "@johnmorrisdotca/jarajara/faces";
const value: TileBackOptions = {colour:"#2f5d4a",mark:"中",title:"Tile back"};
console.log(value);{ colour: '#2f5d4a', mark: '中', title: 'Tile back' }What it prints (run when this page was built)