From 252c6851b518d48e3943aa0ec282b91837865da8 Mon Sep 17 00:00:00 2001 From: Rongqi Zhou Date: Tue, 21 Oct 2025 15:36:44 +0800 Subject: [PATCH 1/2] update Add-SPOTheme colorpairs --- .../Add-SPOTheme.md | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOTheme.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOTheme.md index 592c1f480..e8fcc0808 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOTheme.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Add-SPOTheme.md @@ -54,20 +54,20 @@ Choose the appropriate parameter set based on whether you're working with a lega ```powershell $colorPairs = @{ light = @( - @{ "accentColor": "#03787C"; "backgroundColor": "#FFFFFF" } - @{ "accentColor": "#FFFFFF"; "backgroundColor": "#03787C" } - @{ "accentColor": "#E3FFFD"; "backgroundColor": "#03787C" } - @{ "accentColor": "#03787C"; "backgroundColor": "#E3FFFD" } - @{ "accentColor": "#FFF9E3"; "backgroundColor": "#03787C" } - @{ "accentColor": "#03787C"; "backgroundColor": "#FFF9E3" } - @{ "accentColor": "#03787C"; "backgroundColor": "#F5F5F5" } - @{ "accentColor": "#242424"; "backgroundColor": "#F5F5F5" } - @{ "accentColor": "#155473"; "backgroundColor": "#FFFFFF" } - @{ "accentColor": "#FFFFFF"; "backgroundColor": "#155473" } - @{ "accentColor": "#155473"; "backgroundColor": "#E3FFFD" } - @{ "accentColor": "#E3FFFD"; "backgroundColor": "#155473" } - @{ "accentColor": "#FFF9E3"; "backgroundColor": "#155473" } - @{ "accentColor": "#155473"; "backgroundColor": "#FFF9E3" } + @{ "accentColor" = "#03787C"; "backgroundColor" = "#FFFFFF" } + @{ "accentColor" = "#FFFFFF"; "backgroundColor" = "#03787C" } + @{ "accentColor" = "#E3FFFD"; "backgroundColor" = "#03787C" } + @{ "accentColor" = "#03787C"; "backgroundColor" = "#E3FFFD" } + @{ "accentColor" = "#FFF9E3"; "backgroundColor" = "#03787C" } + @{ "accentColor" = "#03787C"; "backgroundColor" = "#FFF9E3" } + @{ "accentColor" = "#03787C"; "backgroundColor" = "#F5F5F5" } + @{ "accentColor" = "#242424"; "backgroundColor" = "#F5F5F5" } + @{ "accentColor" = "#155473"; "backgroundColor" = "#FFFFFF" } + @{ "accentColor" = "#FFFFFF"; "backgroundColor" = "#155473" } + @{ "accentColor" = "#155473"; "backgroundColor" = "#E3FFFD" } + @{ "accentColor" = "#E3FFFD"; "backgroundColor" = "#155473" } + @{ "accentColor" = "#FFF9E3"; "backgroundColor" = "#155473" } + @{ "accentColor" = "#155473"; "backgroundColor" = "#FFF9E3" } ) } From 6071bad7abe249df9ffb4a304f8ea692e414c3cb Mon Sep 17 00:00:00 2001 From: Rongqi Zhou Date: Tue, 21 Oct 2025 16:44:07 +0800 Subject: [PATCH 2/2] update get-spotheme command doc --- .../Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e8dd5e7b7..44e07e7a9 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md @@ -31,7 +31,7 @@ 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 4 +Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json -Depth 4 ``` ```Output