import { noop } from '@/shared/helpers/noop' export type Theme = 'light' | 'dark' const storageKey = 'kuizer-theme' /** * @name themeScript * @description Inline script for the document head that restores a saved light * theme before first paint, so the page never flashes dark. Dark also sets a * `dark` class, which the docs stylesheet keys on. * * @example *