An alternative that could be considered is to remove the "No theme" option internally completely, and allow consumers to define it as 'No theme': null, as one of the options. But I suspect in most cases when defaultTheme is suggested, a no theme option is not expected.
The rest of the whitespace changes came from prettier (I have autoformat on save enabled in my editor) - I can revert those, if necessary, but maybe there should be some enforcement of the prettier code style instead.
Resolves #16.
An alternative that could be considered is to remove the "No theme" option internally completely, and allow consumers to define it as
'No theme': null,
as one of the options. But I suspect in most cases when defaultTheme is suggested, a no theme option is not expected.The rest of the whitespace changes came from prettier (I have autoformat on save enabled in my editor) - I can revert those, if necessary, but maybe there should be some enforcement of the prettier code style instead.