Hi,
Can I change theme elements in runtime?
I only need to change focus (current active control) indicator. It is too pale and thin (thin yellow box around text boxes, buttons, grid cells).
If yes, please publish some short demo code.
Thank you!
Should I do anything else in my code?
Where I can see full properties list and values in order to know how to set each property and value.
Thank you!
You can edit any of the theme, or simply add a mixin.theme file under the /Themes directory. Use this as an example. Name it Application.mixin.theme. It must be in /Themes.
{ "name": "Application", "colors": { "focusFrame": "red" }, "appearances": { "textbox": { "inherit": "textbox", "states": { "focused": { "styles": { "width": 3 } } } }, "button": { "inherit": "button", "states": { "focused": { "styles": { "width": 3 } } } }, "table-scroller/focus-indicator": { "states": { "default": { "styles": { "width": 3, "color": "focusFrame" } } } } } }
Please login first to submit.