If you find any errors, typos or have general feedback, select the text and click CTRL+ALT+ENTER.

Using default themes

Initially, Appery.io apps come with only one predefined flat-ui theme:
1Theme

All other default themes are available via plug-ins. To import themes, click CREATE NEW > From Plug-in:
CreateFromPlugIn

This will open a window with the list of available themes for importing:ImportPlugIn

Mind, that every theme is presented in two versions (for older and newer libraries) to choose from.

Select the theme(s) to import and click “Import selected plug-ins”:ImportSelectedPlugIns

As a result, you will see the newly imported themes under the Themes folder in Project view:
NewThemes

To apply a theme to all the pages in the app, go to Project > App settings. Select a Theme and then select a Swatch:ThemeSwatch

Another way to get new themes is to click “Add more Themes” from App settings > General:AddMoreThemes

In this way, you will also get to the Catalog of Appery.io plug-ins window.

Note: All themes in Appery.io, including custom themes, are based on jQuery Mobile themes.

Learn more about themes and swatches via the link.

Beginning with the default flat-ui Theme/Swatch B:
003-DefaultTheme

In Project > App settings, changing the theme to Gelato will result in:
004-GelatoTheme

Changing the theme will update all the pages. The swatch will be set to Inherit. To change a swatch within a page, select the page name in breadcrumbs, and then change its swatch in PROPERTIES:
005-ChangeSwatch

The theme is set to Gelato and the swatch to A.

Appery.io default themes

Every default theme comes with a number of swatches.

Examples of pages with different themes and swatches:

Cappuccino

Swatch A Swatch B Swatch C
006-Cappuccino-A 007-Cappuccino-B 008-Cappuccino-C

Dendrite

Swatch A Swatch B Swatch C
009-Dendrite-A 010-Dendrite-B 011-Dendrite-C
Swatch D Swatch E
012-Dendrite-D 013-Dendrite-E

Flat-ui

Swatch A Swatch B Swatch C
014-Flat-UI-A 015-Flat-UI-B 016-Flat-UI-C
Swatch D Swatch E Swatch F
017-Flat-UI-D 018-Flat-UI-EEE 019-Flat-UI-F
Swatch G
020-Flat-UI-G

Gelato

Swatch A Swatch B Swatch C
021-Gelato-A 022-Gelato-B 023-Gelato-C
Swatch D Swatch E Swatch F
024-Gelato-D 025-Gelato-E 026-Gelato-F
Swatch G
027-Gelato-G

iOS-like

Swatch B Swatch C
028-iOS-like-B 029-iOS-like-C

iOS7

Swatch A Swatch B Swatch C
030-iOS7-A 031-iOS7-B 032-iOS7-C
Swatch D Swatch E Swatch F
033-iOS7-DD 034-iOS7-EE 035-iOS7-FF
Swatch G Swatch H
036-iOS7-GGG 037-iOS7-H

Jqm

Swatch A Swatch B
038-jqm-A 039-jqm-B

Jqm-Classic

Swatch A Swatch B Swatch C
040-jqm-clasic-AA 041-jqm-clasic-B 042-jqm-clasic-C
Swatch D Swatch E
043-jqm-clasic-DD 044-jqm-clasic-E

Olive

Swatch A Swatch B Swatch C
045-olive-A 046-olive-B 047-olive-C
Swatch D Swatch E
048-olive-D 049-olive-E

Pastel

Swatch A Swatch B Swatch C
050-pastel-A 051-pastel-B 052-pastel-C
Swatch D Swatch E
053-pastel-D 054-pastel-E

Twitter-bootstrap

Swatch A Swatch B Swatch C
055-twitter-bootstrap-A 056-twitter-bootstrap-B 057-twitter-bootstrap-C
Swatch D Swatch E Swatch F
058-twitter-bootstrap-D 059-twitter-bootstrap-E 060-twitter-bootstrap-F

Winter

Swatch A Swatch B Swatch C
061-winter-A 062-winter-B 063-winter-C
Swatch D Swatch E Swatch F
064-winter-D 065-winter-E 066-winter-F

jQuery Mobile ThemeRoller

You can easily create as many custom themes as you need by using the jQuery Mobile ThemeRoller tool, and then uploading them to your app in Appery.io:
067-ThemeRollerInterface

  • Swatches A, B, C are shown in the upper-left corner. You can also add a new swatch (D, E, F…) by clicking “+.”
  • The menu on the left allows you to edit the current swatch. The changes will be instantly shown in the center.
  • When done creating a custom theme, click “Download” (top menu) to download the theme.

Creating custom themes

1. Create a custom theme with any number of swatches in the ThemeRoller.

2. Click “Download.” You will be prompted to enter a name (for example: MyTheme). Then click “Download Zip.”

3. Unzip the download file, and find the file called MyTheme.css.

4. In Appery.io, Project > CREATE NEW > Theme. For the name, enter: NewTheme. Click “Create Theme.”

5. Open MyTheme.css, copy all its contents and paste it into the “create theme” in Appery.io:
068-CreateTheme

6. Click “Add Image,” and upload all the images from theme/images folder from the download zip file. You can select multiple images to upload.

7. All the images need to be added to the theme one by one. Select each image (currently, they must be selected one at a time) and click “Select”.

Once all the images are added to the theme, it will look like:
069-ImagesAdded

8. Save.

9. Go to Project > App settings and select the newly created theme.

10. Open the page and select one of the swatches from your new theme.

The result will look like (Swatch A):

Selection_999

Adding custom icons to a theme

Note: Custom icons cannot be added to an iOS7 theme due to a changed CSS structure.

You may go away from inserting the predefined themeAppery icons and use custom ones*. To do this:

  • CREATE NEW > Theme, name it and copy the code of the theme you want to make changes to into the space provided.
  • Upload images of the the icons you’d like to insert into the builder using “Add image” button on custom theme page :

AddingMonoRotate

  • Find the code positions and apply background-image for the icons, set correct background position for each icon. URL format is “images/<filename>”. Correct file names can be found on the list to the right:

insertedCode

Mind the size of your images – if it exceeds 22 px, you need to set the background size to 100%.

Test the application to see the icons:
NewIconScreen

Note: All manipulations can be made for Libraries v2.0 and higher.

Scalable graphic icons

Default JQM themes support vector icons in .svg format. To use vector icons in the .css, open the .svg file with the text editor and copy the source code. The copied source code must be passed through the JavaScript escape() method. The returned result must be complemented with additional meta-data, and it looks like:

Note: Not every .svg format can be used in JQM themes.