Light and dark themes are supported out-of-the-box. See this post for steps how to toggle light and dark themes. Or see WebAssembly or Server samples.
Code block theme-switching is not supported out-of-the-box.
See Server or WebAssembly for examples.