WebRobot

Designing an app · Lesson 4

Appearance and languages

Two apps with the same data and the same agents can feel like different products. The look comes from a few lines of branding — a palette, two fonts, a button shape, a dark version — and the header; the languages from one list and texts written once per language. The runtime does the rest, and keeps it safe: only colours, plain font names and safe links reach the page.

Use Next, or the ← → keys. Change the colours, switch the device to dark, change the visitor’s language: the preview is styled by the same function the runtime’s layout calls.

Everything branding can say

What the runtime refuses

Colours other than #rrggbb, font names with anything but letters, digits and spaces, links that are not /…, #… or https://…, SVG with scripts: they never reach the page, whatever the manifest says.

What to take away

Next

Lesson 5 is about the agents: the task they receive, the tools the app gives them, and how their result becomes a record.

Lesson 5: Agents, task, tools, result →

← The whole path