Design Measurer — UI/UX

Measure the village's screens at Mbak Asri's Kios Rupa: hierarchy, spacing, colour, radius, forms. 16 levels, right in the browser.

What you learn in this game

At Kios Rupa a screen is not judged by taste. Every design token (size, weight, gap, colour, radius) is picked from a chip, the villager's real screen changes at once, and Measure has the browser measure what it really drew: type sizes, gaps between boxes, colour contrast, left edges. Every line of the measuring sheet is a published rule you can check: WCAG 2.2, a scale in the Buku Token, a formula. When a line fails, Ms. Asri shows you where and what it measured.

Until yesterday the measuring sheet measured boxes. But an icon's box is almost always bigger than its drawing: a 24 px icon usually has 2 to 4 px of room around it. The eye does not see the box; the eye sees the ink. Today the browser measures ink through SVG: the real box of the ink (getBBox) and, for a triangle, its centroid. A triangle whose box is centred always seems to lean toward its base.

Dark mode is not inverting the colours. Pure black makes white text glare and cards lose their depth, because shadows do not show in the dark: elevation is shown with lightness, a higher surface a little lighter. An accent that is crisp on white often fails contrast on dark, so the accent is made lighter.

A box inside a box has corners that share a centre of curvature. For the gap between them to be as wide at the corners as along the sides, the inner radius must be smaller than the outer radius by the inset. That is why a "consistent" radius (the same everywhere) looks wrong on nested boxes.

A modal dialog stops everything else until it is answered. The Dialog (Modal) pattern of the WAI-ARIA Authoring Practices asks for four things: focus moves into the dialog when it opens, the page behind cannot be reached, Esc closes it, and once closed the focus returns to the button that opened it. The browser's own <dialog> element can be opened in two ways, and only one of them gives all four.