Skip to content
Docs
Reference

Interface: HostThemeSource

Interface: HostThemeSource in @ticketlayer/live.

@ticketlayer/live


@ticketlayer/live / index / HostThemeSource

Defined in: state/hostTheme.ts:42

Where the host's values are read from; injectable for tests.

Properties#

body#

body: StyleReader | null;

Defined in: state/hostTheme.ts:46

Computed style of document.body, where a page-level override lives.


root#

root: StyleReader | null;

Defined in: state/hostTheme.ts:44

Computed style of document.documentElement.