Skip to content

Conversation

dmackdev
Copy link
Owner

@dmackdev dmackdev commented Oct 17, 2024

Closes #27.

  • Breaking: Moves colours from JsonTreeStyle into Option<JsonTreeVisuals>.
  • Exposes default light colour scheme JsonTreeVisuals::LIGHT.
  • Resolves default colour scheme to use based on egui::Visuals::dark_mode if JsonTreeStyle::visuals is not set.
  • Updates demo with theme preference radio buttons.
Screen.Recording.2024-10-17.at.19.28.42.mov

@dmackdev dmackdev marked this pull request as ready for review October 17, 2024 18:32
@dmackdev dmackdev merged commit 1d4c9ce into master Oct 18, 2024
2 checks passed
@dmackdev dmackdev deleted the auto-dark-light-theming branch October 18, 2024 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic light/dark theming
1 participant