function loadTheme
loadTheme(): Promise<string>

Load theme from settings into sync-accessible state. Called once per request in routes/index.ts before templates render. Settings are already cached so this is cheap on repeat calls.

Return Type

Promise<string>

Usage

import { loadTheme } from "doc.ts";