Readonly
keyThe unique key for the node. It is unique from all other nodes in the ThemeBuilder
Readonly
nameThe name of the mode: "lm" or "dm"
Readonly
shadesThe 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.
Optional
eventTypes: 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.