v0.8.0
What's Changed
- add web target for demo and deploy to gh pages by @dmackdev in #26
- Automatic dark/light theming by @dmackdev in #30
- Make sidebar collapsible for demo by @dmackdev in #31
- Refactor
JsonTreeStyle
by @dmackdev in #34
Full Changelog: v0.7.1...v0.8.0
🧳 Migration
- Colour fields have been moved within
JsonTreeStyle
into aOption<JsonTreeVisuals>
field. abbreviate_root
andtoggle_buttons_state
fields have been moved intoJsonTreeStyle
. There are no longer corresponding builder methods onJsonTree
.- Set the
JsonTreeStyle::visuals
field to use a desired colour scheme. Otherwise a default dark or light theme will be used based on theegui::Visuals::dark_mode
field.
⭐ Added
- Builder methods to
JsonTreeStyle
for more fluent construction.