-
Notifications
You must be signed in to change notification settings - Fork 699
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Visual Style manager #2181
Comments
Assume an app runs. The settings will be applied using the following precedence: Priority descends in this order:
The style manager first uses the settings from any copy of the (Up for debate/discussion) |
This is fixed by #2181 |
With
Button
and other views #2144 / Fixes 2144. Add half-height bottom shadow for Effect3D. #2166) that may cause apps to break when enabledTreeStyle
)ColorScheme
scheme and requests like User configurable Color Themes #29I suggest we invest in a Visual Style manager.
Basic idea:
static
"default" style properties (similar to what I did in my PR to Fixes 2144. Add half-height bottom shadow for Effect3D. #2166 that enabled UI Catalog to set theButton
style globally.visualstyle.json
file that gets built into the app's assembly.~/.tui
folder for global settings.~/.tui/UICatalogApp.visualstyle.json
would set the visual style of any app with a main class name ofUICatalogApp
. Unless..../.tui
folder for local settings../.tui/UICatalogApp.visualstyle.json
would set the visual style of any app with a main class name ofUICatalogApp
launched from anywhere under./
../.tui/visualstyle.json
would set the default visual style of any app launched from anywhere under./
.I'm sure this has been invented before and we can plagiarize.
Let the debate begin! :-)
The text was updated successfully, but these errors were encountered: