Fade/hide obsidian interface while typing

For long form writers who usually keep there side panels open this could be a great plugin for an auto distraction free writing mode. The interface should fade back up after a few seconds of not typing.

There are many plugins to hide interface elements and/or close side panes, but none that do it this way.