Dark Mode

The Recommends control supports dark mode through the darkMode property. The property supports forcing dark styling, forcing light styling or using the system dark mode setting.

// Set darkMode on the control. When true force dark styling, false force light styling and nil uses the system setting.
recommendsControl.darkMode = true | false | null
// Set darkMode on the control. When true force dark styling, false force light styling and nil uses the system setting.
recommendsControl.darkMode = true | false | nil