Something went wrong. Try again.
Local-first knowledge base made for Typst and the Atmosphere. typbase.at
Something went wrong. Try again.
12345678910111213import { restoreCachedTheme } from "~/lib/themes";
/** * Pre-paint theme restore. The workspace doc is loaded asynchronously, so * waiting for it means one frame (or more) of the default theme. The last * applied settings are cached in localStorage by applyTheme. Restoring them * here paints the correct palette before the first app frame, and the * workspace refresh refines it once the doc is open. */export default defineNuxtPlugin(() => { restoreCachedTheme();});