Class ThemeUtility
Inheritance
System.Object
ThemeUtility
Namespace: PnP.Framework.Utilities.Themes
Assembly: PnP.Framework.dll
Syntax
public static class ThemeUtility : object
Methods
GetThemeAsJSON(String, String, String)
Apply three custom colors to the standard Office UI Fabric template and get back the JSON with the CSS rules
Declaration
public static String GetThemeAsJSON(String primaryColor, String bodyTextColor, String bodyBackgroundColor)
Parameters
String
primaryColor
Primary Color for the Theme |
String
bodyTextColor
Body Text Color for the Theme |
String
bodyBackgroundColor
Body Background Color for the Theme |
Returns
String
THe JSON representation of the Theme |