Skip to content

Documentation

jbjjbjjbj edited this page Dec 20, 2016 · 3 revisions

Documentation

Theming

PlusPlusOpject

PlusPlusObject(selector, applyFunction, properties, flags);

Apply Functions

applyCssRule

Apply the selector as an CssRule, where css is appended to style.

If css rule should be importans flags.important should be true

applyImgRule

Apply the selector as and image. The value should be a link to a file on the internet.

If elements that should be transparent should the defined as an string array in the flags.elements.

If the image is the main background, the flags.backImg should be true, if not false.

Value

Define the value of the selector

Apply()

Activate the selector

Custom themes

The Custom template

The normal theme construction system can be really confusing with the amount off selectors used. A solution to this is to break the selectors into groups like "navbar" and "accent".

The customTemplate is where the different groups are defined.

The themeConvert object

A requested feature is to base a custom theme from one of the static themes, and that's what the themeConvert is for. It defines which selectors represent a custom theme template best.