ReadonlykeyThe unique key for the node. It is unique from all other nodes in the ThemeBuilder
ReadonlynameThe name of the mode: "lm" or "dm"
ReadonlyshadesThe generated shades associated with this color and mode
Add a dependency to another node in the tree
Set a listener on this node
The name of the listener.
The callback to call when an event occurs.
OptionaleventTypes: EventType[]The types of events to wait for. If none are specified, listen for all events.
The ListenerSubscription which should be canceled to stop listening.
A color mode (light or dark) with all related shades.