ggorlen / prettybt

simple binary tree visualizer
https://ggorlen.github.io/prettybt/
11 stars 3 forks source link

add light/dark color modes for the canvas instead of just CSS in the preview (for export purposes) #3

Closed ggorlen closed 1 year ago

ggorlen commented 2 years ago

Thinking about this more, I'd prefer to expose an options object that allows the user to sepecify the background and stroke colors, rather than bake presets like a "night mode" into the PBT itself.