Themes are already working on static pages (with no_layout). Example:
no_layout
Default Dark theme:
Discourse Vincent theme: