Docs
Sign in
Browse the docs

Using Alara Code

Choose the look and add the brand

Pick a design system and palette for the prototype, add the client's logo, colour and fonts, and change your mind without losing a version.

8 min read7 sections

The prototype looks the way you tell it to. Before the first build you choose a design system, a palette and a few finer settings. If the client has a brand, you can add their logo, colour and fonts once, and every prototype run uses them. This page covers both, and how to change your mind later.

To see the whole route in motion, from the brand card to the file you send the client, play the prototype walkthrough.

Flow
  • Look dialog: system, palette, backdrop, mode, fonts to Theme from the look
  • Theme from the look to Brand styles added after it: colour, font, logo, photos
  • Brand kit in the project to Brand styles added after it: colour, font, logo, photos
  • Brand kit in the project to Agent writes the screens, tone, notes, which files exist
  • Brand styles added after it: colour, font, logo, photos to Prototype
  • Agent writes the screens to Prototype

The first time you run the prototype

The first /proto in a project walks you through three things, in this order:

  1. Pick a design direction. The model reads the approved documents and proposes two or three directions, each with its own character, colours and fonts. Select Continue with this direction, or Use a ready-made kit to open the look dialog instead. Nothing asks you for a kit first: the model's own look comes first. If the client has a brand, save it before this step (see below).
  2. Read the plan, sometimes. A product that is not a plain app, or a plan the agent is unsure of, stops after planning and shows a Prototype plan card: a short brief, the screens with the reason for each, and a Suggested build stack. Select Build in the model's look to build straight away in the colours, fonts and layout the model proposed, or Use a ready-made kit to open the look dialog, with the plan's suggestion badged Plan's pick. A confident plain app skips this card.
  3. Watch it build. The agent writes up to four screens at once, and each appears on the prototype board as it finishes.

The look you choose becomes the project's. Later runs, Request changes and Rebuild failed screens use it without asking.

The look dialog

SettingWhat it does
Mood chips: All, Clean, Playful, Bold, Luxury, Technical, CalmNarrow the design systems to the ones that feel like that.
Design systemA full style guideline: typography, colour, spacing, corners, shadows, motion, form elements and layout. Each card has a small preview in its own style. The three that suit the project best carry a Suggested badge and come first.
PaletteThe colours. Each system has its own five, under <System> palettes, then More palettes shared by all of them (vivid, soft and neutral). If the project has a brand colour, From your brand colour is added.
BackdropFlat or Soft gradient.
Colour modeLight, Dark or Both. Both keeps a light and dark switch in the prototype; one mode locks it.
FontsA font pairing. It starts on the brand kit's pairing, if the brand names one, and otherwise on the design system's own.
Screens: up to NHow many screens to build, from 1 to 20, with a rough time estimate. Shown only when you build. The agent may use fewer.

A Preview on the right updates as you choose, with its own Light and Dark switch. The button at the foot says exactly what will happen, for example Build with the system · the palette, or Apply the new look.

Every palette is checked for contrast in light and dark. A brand colour is nudged a little when it has to be, so white text stays readable on it, and a note in the dialog says so.

The design systems

There are 25, each with its own style:

  • Clean Corporate (the default), Glassmorphism, Liquid Glass / Aurora, Neumorphism, Claymorphism, Bento Grid, Minimalism & Swiss, Neobrutalism, Skeuomorphism, Material, Dark Neon / Cyber and Editorial / Magazine.
  • Mono, Lucid, Workspace, Canvas, Haven, Kinetic Studio, Retro Pop, Organic Earth, Noir Luxe, Terminal, Precision, Gradient Bloom and Zen Minimal.

Change the look later

On the board's toolbar, the button reads Look: system · palette. Before a look is chosen it reads Choose a design system. It is available on the latest version, and needs the Run permission.

Flow
  • What do you want to change? to Restyle in place, no agent call, Palette, backdrop, mode or fonts
  • What do you want to change? to Regenerate every screen in the new style, The design system
  • What do you want to change? to Apply brand, a restyle with no agent call, Brand colour or font
  • What do you want to change? to Ask the agent to place it, A logo or photo added after the build
You changeWhat happens
The palette, backdrop, colour mode or fonts of the same systemThe screens are restyled in place. No agent call is made, and a new version is saved (listed as Palette changed).
The design system itselfA second dialog, Regenerate the screens?, asks "Are you sure you want to regenerate the proto screens with new selected design system?". The screens are written again in the new system, but the plan, the screen names and the sample data are kept.

Either way, the previous version is kept and the new one waits for your review (see Versions on the prototype board).

Add the client's brand

The brand kit belongs to the project, not to the organization, so each client can have their own. You find it in two places:

  • Project settings, in the Brand card.
  • The Brand step of the new-project wizard. It comes after the project is created, because the uploads need the project to exist. Skip for now leaves the project as created, and Continue moves to the repository step. The card saves itself.
FieldNotes
LogoPNG, JPEG, WebP or SVG, up to 512 KB.
Logo for dark backgroundsOptional, same types. Without it, the logo is used on dark too.
Photo 1 to Photo 4PNG, JPEG or WebP, up to 100 KB each. Photo 1 is the hero picture.
Brand colourA hex value, with a colour picker and Clear.
ToneUp to five words, separated by commas, 24 characters each.
FontsOne of 13 pairings, or Let the design system decide.
NotesUp to 1,000 characters of guidance for the agent.

Pictures upload the moment you choose them (Upload, Replace, Remove). The colour, tone, fonts and notes are saved with Save brand, which confirms with Saved. Applies from the next prototype run. You need the Projects › update permission, and the card is locked while a step is running.

The file type is read from the file's contents, not its name. The pictures plus an embedded font must stay under 600 KB in the prototype, and pictures count about a third larger than on disk. If the total is too big, the card names the file to shrink.

What the brand changes

Part of the kitWhere it showsWhat it does not do
Brand colourButtons, links, highlights, focus rings and the first chart colour, in light and dark. Alara Code applies it after the design system's theme, nudged if needed so text stays readable.Backgrounds, surfaces, other chart colours, spacing and corners still come from the palette and the system.
FontsThe heading and body faces, embedded in the prototype.Not a font you upload. Pick from the 13 pairings.
LogoThe browser tab icon, and every place the agent put the logo mark when it wrote the screen.It is not added to a screen the agent has not rewritten.
PhotosHero and product picture slots the agent filled with them.Other pictures stay placeholder art.
Tone and notesThe agent reads them as guidance for wording and layout.They are words, not exact instructions.

The agent is told only the tone, your notes, the mood of the fonts, and whether a logo and photos exist. It never receives colour values or image bytes.

Bring a brand to a prototype that exists

A new brand applies from the next run, and to Request changes runs. For a prototype already built:

  • Apply brand on the board's toolbar appears only when a brand is saved. It restyles the latest version without an agent call and saves a new version. Colour and fonts change. A logo or photo added after the build does not appear in the screens, because no screen is written.
  • To place a new logo or photo, ask for it in Request changes ("Show the logo in the header of every screen"), or approve the draft and Re-run /proto.

What re-running does

Re-run /proto is offered once the prototype is approved. It uses the saved look and brand, writes a new version as a draft, and keeps every earlier version, approved ones included. The plan is given the last plan so screen ids stay where they can.

The bridge keeps each finished stage and screen and reuses it when the input is the same: the requirements and documents it reads, the design system, the brand's tone, notes, font and which files exist, and the screen limit. So re-running with nothing changed gives the same screens again, while changing the TAD, the requirements or the brand words makes the agent write them anew. The same reuse is why Retry step after a failed run picks up where it stopped.

What the prototype is not

The prototype is a set of clickable HTML screens. Download saves the whole thing as one file and Download screen a single screen. It is not exported as a PDF, an image or an offline bundle.

Related pages

  • The prototype board: the route from TAD to a shareable prototype, Play, comments and versions.
  • UI Prototype: what the step produces and how it is checked.
  • Projects: the project settings, including the Brand card.