themes/guestbook.ts

view source

Declarations
#

guestbook_theme
#

themes/guestbook.ts view source

{ name: string; variables: { name: string; light?: string | undefined; dark?: string | undefined; summary?: string | undefined; }[]; summary?: string | undefined; scheme?: "dark" | "light" | "dual" | undefined; scheme_mirror?: { ...; }[] | undefined; }

type Theme

import {guestbook_theme} from '@fuzdev/fuz_css/themes/guestbook.js';

An exemplar theme: the guestbook of a 90s homepage. Structure comes from controls drawn as objects - sunken fields under raised buttons that press to inset, the bevel doing the work shadows do elsewhere. Colorless system chrome on a ground that sits off the paper-white extreme, one serif family for everything the way the browser default was, square corners, packed dense, and links underlined at rest. Sits between ledger's compact and phosphor's terminal density.

The proof that --button_border_style/--button_border_style_active express a raised/pressed pair. Dual-scheme: by night the same chrome in slate, the hi-color desktop after dark. Built from levers only - the palette letters keep their default hues, and nothing is pushed past the gamut caps.

Depends on
#