Skip to content
Spaka
Download

Guides · 7 of 11

Change the theme

Change the colors, fonts and shapes of your website or app in one place, and give it a light and a dark mode.

The theme is the set of colors, fonts and shapes that gives your website or app its look. Every page draws from it, so one change in the theme restyles them all at once. You change it in the Theme tab, beside Conversation (⌘3 on a Mac, Ctrl+3 on Windows), and the preview follows each change as you make it.

The tab has five groups, from top to bottom: Modes, Palettes, Colors, Shape and Fonts.

The Theme tab, beside the previewThe Theme tab, beside the preview

A palette is a set of colors. Click one to apply it.

  • The palettes under Yours come first. Original holds the colors the agent first chose for your website or app; click it to go back to them. Palettes the agent makes afterward follow, the latest first. They are offered nowhere else.
  • Spaka’s twelve ready-made palettes follow. A moon marks the dark ones.

A palette changes the colors only: the shape and the fonts stay as they are.

The Colors group lists the theme’s twelve colors: Primary, Secondary, Accent and Neutral, each with the color of the text written on it, then Background, Alternate background, Borders and Text. Click a color to change it.

When a text color reads poorly on its background, Spaka warns you under it: “Hard to read on its background”, with the contrast ratio. Change one of the two colors until the warning goes.

Changing a color of one of the palettes under Yours changes that palette. Starting from one of Spaka’s palettes, keep your changes with Save as a palette, beside the Colors title: they join the palettes under Yours, named after the palette they came from, for example “Forest, edited”. If you choose another palette before saving them, your changes are replaced, with an Undo in the note that follows.

  • Roundness: how round corners are across the website or app.
  • Buttons: the corners of buttons, form fields and badges: Square, Like the rest or Pill.
  • Relief: Flat, or Raised with a slight shadow and shine on buttons and fields.
  • Density: the size of buttons, fields and checkboxes: Compact, Normal or Spacious.
  • Borders: the width of the borders of buttons, fields and cards: Fine or Bold.

Choose a font for Headings and one for Text. The list offers fonts that are On every computer, and twenty open fonts Shipped with Spaka, copied into your website or app. A shipped font is copied into the folder of your website or app when you choose it, so the published version loads it from itself, without a font service.

A website or app has one mode, light or dark, unless you give it both.

With one mode, the Modes group says “Your website or app has one mode.” Under the palettes, Ask for a light palette and Ask for a dark palette ask the agent for a new palette in that mode, in the character of your website or app. It replaces the current one, and joins the palettes under Yours.

To give your website or app both modes:

  1. Click Add light & dark.
  2. The agent keeps your palette for its own mode and makes the other one, with the same character, every text easy to read.
  3. It then asks you how visitors get one mode or the other: as their device is set, or with a switch or a menu, in the header or the footer. A visitor’s choice is kept in their browser.

With light & dark, the Modes group has a Light and Dark selector: it chooses the mode you are setting, and the preview shows that mode. The palettes and colors below are that mode’s, and under the palettes a single button, Ask for a light palette or Ask for a dark palette, asks for a new one in that mode. Under Both modes, the shape and the fonts apply to both. To go back to one mode, ask in the conversation.

You can also ask in words: “warmer colors”, “a more serious font for the headings”, “rounder buttons”. The agent changes the same theme, and the Theme tab shows what it chose.

A website or app started from a template keeps the template’s own layouts and effects, but takes its colors, fonts and roundness from the theme: the Theme tab changes it like any other.

The theme cannot be changed while the agent works. Each change is saved in the history of your website or app, so you can undo it (see Edit by hand and comment).