Appboard/2.4/builder/themes/editor controls

Revision as of 11:53, 30 July 2014 by imported>Jason.nicholls (Created page with '{{DISPLAYTITLE:Theme Editor Controls}} Category:AppBoard 2.4 == Overview == The AppBoard Theme Editor provides a variety of controls for configurable theme options. These op…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

The AppBoard Theme Editor provides a variety of controls for configurable theme options. These options are grouped into different categories for convenience (see the Theme Editor Categories for more information).

This page details the types of controls and the effects of the controls on themes.

Layered Gradients

AppBoard's look and feel distills down to a series of layered gradients. AppBoard's Theme Editor allows you to adjust the color of those gradients, and in many cases, the alpha values as well. The combination of color and alpha gives you a wide range of options when building your own theme.

Example of layered gradients

Theme Controls

Theme Editor uses several different types of inputs when customizing a theme.

Alpha

AppBoard uses a specialized spinner control for entering Alpha values. The Alpha control differs from a Number in that it increments/decrements by 0.1, and its values are constrained between:

  • 0.0 - Completely transparent
  • 1.0 - Completely opaque
Alpha Range

Color

AppBoard uses a color picker control for selecting colors. Colors values can appear as the following:

  • Flat Color - A single color picker
  • Gradient Color - Two color pickers side by side, which represent top and bottom colors of the gradient
  • Color States - An array of color pickers representing specific states (Default, Hovered, Pressed, etc)
Color Picker Example


File

AppBoard uses a special text entry field with a file browser for selecting background images. The file picker points to the following directory on the Appboard Server: [INSTALL_HOME]/server/webapps/enportal/visualizer/assets/

File Chooser Example

Fill & Gradient Fill

Fill is the primary input control AppBoard uses inside of Theme Editor. A Fill combines a color picker with an alpha control to conserve real estate. Fills can appear as:

  • Flat Fill - A single fill control
  • Gradient Fill - Two fill controls side by side, which represent top and bottom colors of the gradient
  • Fill States - An array of fill controls representing specific states
Fill Example
Gradient Fill Example


Number

AppBoard uses a spinner control for entering numbers.

  • The increment/decrement value will vary based on the attribute.
  • The min/max constraints also vary between attributes.
Spinner Control Example

Examples

  1. Animation Duration: This determines the length of chart animations in milliseconds. It's values are constrained between 0 and 3000, and it's increment/decrement is set to 100.
  2. Panel Outer Radius: This setting determines whether panels have rounded corners. It's values are constrained between 0 and 20, and it's increment/decrement is set to 1.

Stroke

AppBoard occasionally uses the stroke control for borders. A stroke combines the standard fill, with an additional control for line weight. You end up with the following block of inputs (Color, Alpha, Weight).

Stroke Example