SpecBuilder
class SpecBuilder
Builder for a top-level Spec: its style record, breakpoints, and root layout node.
Properties
Functions
Link copied to clipboard
Appends a responsive Breakpoint, built via BreakpointBuilder.
Link copied to clipboard
Sets the root layout from a prebuilt Node.
Sets the root layout from a LayoutScope body. The body must contribute exactly one top-level node (e.g. a single div { ... }).
Sets the root layout to a node of the given type, built via NodeBuilder.
Link copied to clipboard
Adds a style entry mapping a CSS selector (div, .class, #id) to a Style built via StyleBuilder.