(This section is irrelevant to scripts and UDIXes because they have no user interface of their own. It is only applicable to widgets.)
The user can change the graphical theme of MyTrader - e.g. from dark to light - while it is running, without a restart. Therefore, the theme can change while your widget is running.
By including the framework's CSS and Javascript, your widget automatically responds to changes in the selected theme - for example, body background and text colour automatically change. However, you can get the ID of the current theme using the
| Property | Description |
| id | ID of the selected theme. Subject to change/extension, but currently one of "standard" (dark), "blue", or "light" |
The framework automatically sets (and changes, when applicable) a CSS class on the widget's