abstract class
UI::DesignTokens::Brand
- UI::DesignTokens::Brand
- Reference
- Object
Overview
Override surface. A consumer subclasses Brand, sets any subset of the
override_* hooks, and passes the instance to
Tokens.default.with_brand(...). Unset fields fall through to defaults.
Phase 3 (SwiftUI bridge), Phase 5 (Glass material tokens), and Phase 6 (Side-by-side demo app) all inherit the shape of this interface. Changing it after Phase 1 ships requires a coordinated cross-phase update.
Defined in:
ui/design_tokens.crInstance Method Summary
-
#apply(base : Tokens) : Tokens
Compose all override hooks into a new
Tokens.
Instance Method Detail
Compose all override hooks into a new Tokens. Returns a NEW object;
never mutates base.