diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md index db1ffda9f..277d04186 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md @@ -31,10 +31,29 @@ The **Get-SPOTheme** cmdlet returns the settings for a named existing theme, or This example shows how to use the **Get-SPOTheme** cmdlet to return the settings for the `"Custom Cyan"` theme created in the example for the **Add-SPOTheme** cmdlet. Note that this example uses the PowerShell `ConvertTo-Json` filter to display the theme in JSON format. ```powershell -Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json +Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json 4 ``` -```Output +#### Return Value Examples +Theme in new format + +``` +{ + "Name": "Custom Cyan", + "Palette": null, + "ColorPairs": { + "light": [ + {"accentColor": "#0078D4", "backgroundColor": "#FFFFFF"}, + {"accentColor": "#FFFFFF", "backgroundColor": "#0078D4"} + ] + }, + "IsInverted": false +} +``` + +Theme in legacy format + +``` { "Name": "Custom Cyan", "Palette": { @@ -64,6 +83,7 @@ Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json "primaryText": "#333", "themePrimary": "#00ffff" }, + "ColorPairs": null, "IsInverted": false } ```