Custom Theme

/Custom Theme
You are here:
< Back

Custom Theme

The app allows you to change the theme per server. A theme consists of a logo, which is shown on the login page, and the color scheme.

To create a custom theme, you need to place a file “Theme.json” next to the already existing “EndPoints.json” (as described on this page). The file is shown below. All of the elements are optional. Omitting a color or image results in the default color or image of K2 Business Apps.

{
   "Colors":
   {
      "Background": "#000000",
      "Shadow": "#909090",
      "Accent": "#008000",
      "Text1": "#808080",
      "Text2": "#101010",
      "Watermark": "#333333",
      "Highlight": "#BBBBBB"
   },
   "Images":
   {
      "Login": "Images/Logo.png"
   }
}

The “login” image in this case is located in a directory called “Images” located next to the Theme.json file.

Requirements

  • K2 Business Apps 1.3 or newer
2019-09-06T12:15:49+01:00