Skip to content

Automatic light/dark theming #27

Closed
@dmackdev

Description

@dmackdev

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 the egui theme preference.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions