Mixins / foldkit-mixins/theme
schemeChanges
function · packages/mixins/src/theme/scheme.ts:61
function schemeChanges(key?: string): Stream.Stream<Scheme>The scheme another tab chose, each time it does: what its chooseScheme
kept under key, with a removed key or anything else read as 'system',
as schemeScript reads it. For a Subscription whose Message the
application's update stores and answers with chooseScheme: this tab's
Model owns the choice, so the stream applies nothing itself.