~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0
main
19 lines · 675 B Raw History
import type { Appearance } from '#lib/appearance.ts';
import type { Brand } from '#lib/brand.ts';

declare global {
  namespace App {
    /** What a request carries from the root layout's server load to the page drawn: the host's palette, for `<html data-palette>`, none for the console's own. */
    interface Locals {
      palette?: string | null;
    }
    /** What every page has, from the root layout: how the host shows itself; whether the page stands alone, without the site's header and footer; and whether the reader chose light or dark. */
    interface PageData {
      brand?: Brand;
      alone?: boolean;
      appearance?: Appearance;
    }
  }
}

export {};