Every theme includes a set of color swatches that can be changed anywhere in a webapp. A color swatch is defined by a letter, from a to z. The default theme includes swatches from a to e with the ability to add more letters of your own.

a – Highest level of visual priority (default on toolbars) – default colour: black
b – Secondary level of visual priority – default colour: blue
c – Baseline level (default swatch for most situations) – default colour: silver
d – Alternate secondary level – default colour: gray
e – Accent – default colour:  yellow

To define a colour swatch on a jQuery Mobiel element use data-theme and the letter to assign, e.g. data-theme="e".  Colour swatches cascade so child elements will use a parents data-theme unless they have one set themselves.

 

UK Electronic Designer
USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.

Comments

Your email address will not be published.