Design system

Every page on askto.it is built from the tokens and parts below. A test reads the stylesheets on each change and fails when a rule on this page is broken.

Direction

The reference is the Probability Machine that Charles and Ray Eames built for Mathematica: A World of Numbers… and Beyond in 1961: a Galton board shown as a museum object, with marbles falling into a bell curve. Ask To It draws the same kind of board, so the site takes the manners of an exhibit. Paper and ink, ruled lines, a serif with some weight to it, and one warm colour for the answer.

Each choice below is made for this product. When something could be decoration or information, it is information: the only things that move are marbles and bars that show a result.

Colour

Warm means a decision, verdigris means there is not enough to decide, amber means too close to call. Every state is also written in words and numbers, and doubt is drawn hatched or hollow, so no meaning rests on hue alone.

Paper and ink

Meaning

Night

Type

Two families, both under the SIL Open Font License and self-hosted with Latin Extended, so Turkish, German, French, Spanish and Italian letters stay in the brand fonts.

Besley 800, --display. Headings, prices, big numbers.

Zor kararı sayılarla tart.

Libre Franklin 400 to 700, --body. Text, labels, controls, small numbers.

Write your question, list the options and add what you know. Jev gives each option a probability, and says so when your facts are too thin to call it. Größe, çağrı, élan, señal.

Numbers use lining, tabular figures so columns line up.

84% · 16% · $0.16

Shape and lines

Panels are square. Controls are softened by 3px so they read as pressable. Only marbles and option keys are round, because they stand for marbles. Structure comes from 1.5px ink rules and a change of surface; there are no drop shadows.

--radius 0
--radius-s 3px
--round

Components

Buttons

One signal button per screen, for the main action.

Chips and segmented control

Focus draws a signal outline.

Marbles

Lead, other options, and undecided. Undecided marbles are hollow.

Context sufficiency41%

Below the 55% line the fill is hatched.

Context sufficiency78%

Above it the fill is solid.

Pocket

$5

20 stress tests

100 credits$0.25 a test

Studio

$15

80 stress tests

400 credits$0.19 a test

Prices read as a ruled price list. No tier is dressed up as the one to pick; the price per test shows the difference.

Motion

The marble machine drops about 140 marbles in three to four seconds. Result bars grow once when they come into view. Pages cross-fade. Buttons change colour on hover and press down 1px; nothing lifts, bounces or glows. With reduced motion turned on, the machine shows its final pile and everything else is still.

What the site never does

These are the defaults that make a page look generated. Most are checked automatically by scripts/design-lint.mjs and scripts/slop.mjs.

Sources