LavaUI docs

struct EnvironmentValues

Swift

struct EnvironmentValues

Values that flow down the view tree, defaulting to Theme.current / FontStore.default at the root and overridable for a subtree via .theme(_:) / .font(_:) — those globals are the environment's defaults now, not the only way to set a value.

Sources/LavaUI/Environment.swift:5

Properties

var font: UIFont?

Not documented.

Sources/LavaUI/Environment.swift:7

var theme: Theme

Not documented.

Sources/LavaUI/Environment.swift:6