Theme Module
Required Permissions: none
The Theme Module can be used to fetch information about the visual theme currently being used in Streamlabs Desktop. This is useful for creating a more stylistically cohesive experience when the streamer is viewing your app.
Minimum Version
This was module was added in Build 4
of the Streamlabs Desktop App Developer build.
themeChanged event
event
This event will be emitted when the current theme is changed. Your callback will be called with either day
or night
representing the new theme.
getTheme method
method
getTheme(): string
Fetch the current user theme. The return value will be either day
or night
.
Updated 11 months ago