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?
The font text views use when they are not given one, or nil for
FontStore.default. Set with .font(_:).
Sources/LavaUI/Environment.swift:10
var theme: Theme
The colour theme views read their defaults from. Set with .theme(_:).
Sources/LavaUI/Environment.swift:7