Where is the best documentation for UI Themes? In particular ALL available settings (controls, properties, etc) that can be coded within the Theme.json file.
Where is the best documentation for UI Themes? In particular ALL available settings (controls, properties, etc) that can be coded within the Theme.json file.
Can the font-face be specified in the Theme.JSON file? I see the font color can be specified.
Hi Jeff,
Using the "datawindow" - "dwo-compute" example you mentioned, you can search for "dwo-compute" in themes.json file and find the supported sub-settings (with default values) for "dwo-compute" as below.
"dwo-compute":
{
"drawing":true,
"border":0,
"border-color":"#CCCCCC",
"background-color":"#FFFFFF",
"text-font":{"color":"#000000"}
},
Only supported settings are listed.
The supported settings are named literally so it can be understood easily, but with a few exceptions such as "drawing", "border". Therefore, it is recommended that you read the following sections first to understand the theme.json file:
https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Understanding_the_theme_json_file, and https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Understanding_what_can_and_cannot_be_set_by_the_theme
If you have any questions about a specific setting in the theme.json file, please let me know, I will try to help clarify and improve the documentation.
Regards
Tracy
Thanks, that helps some. But I still cannot find anywhere that outlines all available theme settings (ie: controls, properties, etc). For example, from looking a the samples I know that there is a setting for "datawindow" - "dwo-compute". But I cannot find any documentation on it which would indicate any sub-settings. It would be nice to have a 'dummy' file that at least indicates all possible/available settings.
Hi Jeff,
I recommend you read these 2 documents:
User Guide: https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Specifying_the_UI_theme_for_the_application
Best regards,
Armeen
https://docs.appeon.com/pb2019r3/pbug/ch02s01.html#Understanding_what_can_and_cannot_be_set_by_the_theme
Under "What cannot be set by the theme" it says "Font related properties (except font color)"