themes/marquee.ts

view source

Declarations
#

marquee_theme
#

themes/marquee.ts view source

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

type Theme

import {marquee_theme} from '@fuzdev/fuz_css/themes/marquee.js';

An exemplar theme: the theater marquee at night. Color is the content - a magenta accent over a deep purple-cast dark, shadows turned to cyan and magenta glows, corners rounded onto a common floor like tube bends. Vivid past the gamut caps on purpose - lightness holds through the clipping, so check_theme reports gamut failures and baking it through the build-time theme option warns with them. Dark-only via the scheme stance: a lit sign has no daytime appearance, so it renders through resolve_theme_stance, which computes the stance mirror beside it.

The one palette-tier exemplar: it rotates the yellow slot to the amber of incandescent bulbs, so a letter hue itself moves - the move that keeps a theme out of the semantic-tier registry.

Depends on
#