System Style
systemStyle.isDark()
Syntax
var darkMode = systemStyle.isDark();
Return value
A Boolean
representing the status of dark mode
systemStyle.toggle()
Syntax
systemStyle.toggle();
Learn about how to utilize MK1's JavaScript API to create your own scripts.
var darkMode = systemStyle.isDark();
A Boolean
representing the status of dark mode
systemStyle.toggle();