2 min read

Foundation elements

Before configuring the style of the components in your app, you should establish the foundation elements. These are your colours, fonts and brand logos.

Foundation elements are the most visible and constant design elements in your app. Once you have edited these elements, you will be able to choose how they are used in each component.

Colours

Your app uses a hierarchy of colours to create an intuitive visual structure to your screens. Primary colours are used for more prominent features, such as primary buttons. Secondary colours are more often used for secondary actions.

editing colour

To set the primary and secondary colours in your app:

  1. From the Poq App Manager home page, select App Styler.
  2. Click Foundation in the left hand menu. A list of editable Foundation elements is displayed.
  3. Click Colours. A screen is displayed with Primary, Secondary and System colours.
  4. Click on the Primary colour. The menu on the right shows the elements you can change under the heading Editable attributes.
  5. Click the colour picker and enter a hexadecimal colour value.
  6. Click Save.
  7. Click on the Secondary colour, and edit in the same way.

The hexadecimal colour format can be a 6-character value like #E3485C or an 8-character AARRGGBB value like #FFE3485C, which supports an alpha channel using the first two digits.

You have edited the foundation colours in your app.

Typefaces

Each text element in your app uses a specific typeface. You can upload any .ttf or .otf font file for Headers, Body copy and Pricing text. For each main category of text, your chosen font will be used in the following elements:

  • Headers:
    • Large title
    • Title 1
    • Title 2
    • Title 3
    • Headline
  • Body copy
    • Body
    • Callout
    • Subheading
    • Footnote
    • Caption 1
    • Caption 2
  • Pricing
    • Regular price
    • Previous price (strikethrough)
    • Offer price

The size and weighting for each text element is selected automatically by the Poq platform.

typefaces

To edit the foundation font in your app:

  1. From the Poq App Manager home page, select App Styler.
  2. Click Foundation in the left hand menu. A list of editable Foundation elements is displayed.
  3. Click Fonts. The default or currently selected typefaces in use are displayed in the central column.
  4. Click Header to add the typeface for your Headers.
  5. In the right column, add the .tiff or .otf file for Regular, Semibold, and Bold text.
  6. Repeat the above steps for Body and Pricing typefaces.
You have edited the typefaces in your Poq app.

Other assets

As well as icons, you can change other visual assets in your app, including your company logo.

To edit other assets:

  1. From the Poq App Manager home page, select App Styler.

  2. Click Foundation in the left hand menu. A list of editable Foundation elements is displayed.

  3. Click Assets.

    The icon assets that you can change are displayed in the central column.

  4. Scroll down through the icons until you reach the heading Other.

  5. Click on the asset you wish to edit, for example Brand logo.

  6. In the right column, click the dropdown list to select or upload .svg icon file to use for this icon.

  7. Click Save.

  8. Repeat these steps for any other assets you wish to change.

You have edited the other assets in your Poq app.