Documentation
¶
Overview ¶
Package apply renders a theme variant against the port registry and installs the resulting files, running any reload hooks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResolvedProgram ¶
ResolvedProgram is a theme program rendered for a specific variant, with its destination path resolved to an absolute location.
func Render ¶
Render turns a theme's discovered program files into installable units for variant v: ${color.KEY} tokens are replaced from the variant palette, and each program's destination and reload hooks come from the registry (keyed by the program's port). A program whose port is not in the registry is an error, since lumos cannot know where its file belongs.
Click to show internal directories.
Click to hide internal directories.