daledesilva / obsidian_ink

Other
265 stars 6 forks source link

Dark mode inversion #38

Closed bjornfiles closed 1 month ago

bjornfiles commented 2 months ago

Color inversion when dark mode is active in Obsidian, so a drawing or handwriting section matches the rest of an Obsidian note when dark mode is active in Obsidian..

Nice plugin!

daledesilva commented 1 month ago

Thanks for the comment 🙂

Currently, this occurs on edit but not dynamically after that.

When you edit or re- edit a section, it will adjust the colours to match your theme at the time. It will then take a screenshot which will then be locked to those colours when displayed in the markdown file.

If you want to refresh the colours, then edit the section and it will re screenshot.

This isn't ideal but it will take some further work to get to a state where it can always be dynamic even without editing - which is the intention.

daledesilva commented 1 month ago

Colour changes now happen automatically without needing to re-edit. You can try this out in version 0.1.192 by installing through BRAT.

Lemme know if you have any issues.