Automatic light/dark theming
Closed this issue · 0 comments
dmackdev commented
As per egui, egui_json_tree should support automatic switching of its theme/colours according to the current egui theme preference (dark/light/system).
egui_json_tree currently uses a dark theme by default, and provides the option to override the theme.
egui_json_tree should:
- Expose a default light theme,
- If a style is set on the
JsonTree, render colours according to that theme, - If no style is set on the
JsonTree, use a default dark/light theme based on theeguitheme preference.