You can change the default colors used in the application by setting de primary and secondary colors via URL parameters.
You can customize the color for the main background by setting the "backgroundColor" attribute via URL parameters.
Color Value in URL Encoding
Beware that color values have to be passed using the hexadecimal code I.e. “#FF00BB”, but since we are setting the value in the URL string, we are required to change the “#” character to its URL Encoding (UTF-8) which is the “%23” symbol I.e “%23FF00BB”.
Specific configuration parameters
Parameter | Description |
---|---|
primaryColor | Used to change the primary color of the content. Color in hexadecimal representation, but using URL Encoding. Color value : #003865 URL query string value: “%23003865” |
secondaryColor | Used to change the secondary color of the content. Color in hexadecimal representation, but using URL Encoding. Color value : #EF5B0C URL query string value: “%23EF5B0C” |
backgroundColor | Used to change the background color of the main content. Color in hexadecimal representation, but using URL Encoding. Default : #F0F2F5 Color value : #EF5B0C URL query string value: “%23EF5B0C” |
Usage Example
https://xandar-lsw-v3.instaleap.io/?job=myJob&token=myToken&primaryColor=%23003865&secondaryColor=%23EF5B0C&backgroundColor=%23FFFF05