This utilizes Anki's theme_manager to determine if the default light version of a card should be used in the Editor Live Preview or if the night mode version should be used.
Anki 2.1.44 and prior used a different set of javascript in the
reviewer. There is no easy way to obtain those programmatically, so this
is a crude fix.
Fixes#2
Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>