In-memory state of the theme mock.
service.mock.state().current?.title; // 'Mock Dark' Copy
service.mock.state().current?.title; // 'Mock Dark'
Number of setTheme() broadcasts since construction or reset.
setTheme()
Active theme, or undefined when no theme is active.
undefined
Windows that have talked to the mock and receive theme.changed.
theme.changed
In-memory state of the theme mock.
Example