Skip to the content

Jarajaraジャラジャラ

Draw mahjong tiles, arrange racks and stacked boards, and play seeded Awase alone or at a shared table.

Jarajara is the Japanese sound of mahjong tiles rattling together. About the name

Contents

Reference · SVG faces and looks

JARAJARA_CLOTHSconstant

THE CLOTHS A TABLE MAY BE LAID IN: the same five the whole family offers, and itsutsu.com's boards: green (the family's own), blue, red, black, and wood. Each is the felt's colour, its deep edge and the ink written on it. An element's cloth attribute and a drawing's cloth option take the name, and a page that draws its own takes clothVars for the custom properties.

Import it

import { JARAJARA_CLOTHS } from "@johnmorrisdotca/jarajara/faces";

Definition

const JARAJARA_CLOTHS: { readonly green: { readonly felt: "#2f5d4a"; readonly deep: "#1f4135"; readonly ink: "#f3efe4"; }; readonly blue: { readonly felt: "#2865a6"; readonly deep: "#1a4677"; readonly ink: "#f3efe4"; }; readonly red: { readonly felt: "#a3342e"; readonly deep: "#7a231f"; readonly ink: "#f3efe4"; }; readonly black: { readonly felt: "#2f3236"; readonly deep: "#1b1d20"; readonly ink: "#ece8dc"; }; readonly wood: { readonly felt: "#e2ba7a"; readonly deep: "#c4954f"; readonly ink: "#2b1d0e"; }; } = {
    green: { felt: "#2f5d4a", deep: "#1f4135", ink: "#f3efe4" },
    blue: { felt: "#2865a6", deep: "#1a4677", ink: "#f3efe4" },
    red: { felt: "#a3342e", deep: "#7a231f", ink: "#f3efe4" },
    black: { felt: "#2f3236", deep: "#1b1d20", ink: "#ece8dc" },
    wood: { felt: "#e2ba7a", deep: "#c4954f", ink: "#2b1d0e" },
} as const

Members

NameTypeDescription
green{ readonly felt: "#2f5d4a"; readonly deep: "#1f4135"; readonly ink: "#f3efe4"; }
blue{ readonly felt: "#2865a6"; readonly deep: "#1a4677"; readonly ink: "#f3efe4"; }
red{ readonly felt: "#a3342e"; readonly deep: "#7a231f"; readonly ink: "#f3efe4"; }
black{ readonly felt: "#2f3236"; readonly deep: "#1b1d20"; readonly ink: "#ece8dc"; }
wood{ readonly felt: "#e2ba7a"; readonly deep: "#c4954f"; readonly ink: "#2b1d0e"; }

Examples

import { JARAJARA_CLOTHS } from "@johnmorrisdotca/jarajara/faces";
console.log(JARAJARA_CLOTHS);
{
  green: { felt: '#2f5d4a', deep: '#1f4135', ink: '#f3efe4' },
  blue: { felt: '#2865a6', deep: '#1a4677', ink: '#f3efe4' },
  red: { felt: '#a3342e', deep: '#7a231f', ink: '#f3efe4' },
  black: { felt: '#2f3236', deep: '#1b1d20', ink: '#ece8dc' },
  wood: { felt: '#e2ba7a', deep: '#c4954f', ink: '#2b1d0e' }
}

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jarajara 1.7.0.