static void SetElementColor(UIVisual visual, UIColor colorCategory)

This allows you to override the color category that a UI element is assigned to.

UIVisual visual The UI element type to set the color category of.
UIColor colorCategory The category of color to assign to this UI element. Use UI.SetThemeColor in combination with this to assign a specific color.

Found an issue with these docs, or have some additional questions? Create an Issue on Github!