Skip to content

Commit ea1e3a1

Browse files
Merge pull request #1068 from MicrosoftDocs/main
[AutoPublish] main to live - 10/30 22:33 PDT | 10/31 11:03 IST
2 parents a015312 + 866ccca commit ea1e3a1

File tree

1 file changed

+38
-31
lines changed
  • sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell

1 file changed

+38
-31
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOTheme.md

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,18 @@ Get-SPOTheme [[-Name] <String>] [<CommonParameters>]
2222

2323
## DESCRIPTION
2424

25-
The **Get-SPOTheme** cmdlet returns the settings for a named existing theme, or for all uploaded themes if no name is provided.
25+
This cmdlet returns the settings for a named existing theme, or for all uploaded themes if no name is provided.
26+
27+
> [!NOTE]
28+
> To support consistent branding and simplify governance, theme management is transitioning to a centralized model.
29+
> - The **primary geo** will act as the central location for **organization-wide theme creation and management**. Themes created here will be visible and applicable across satellite geos.
30+
> - The satellite **Geo Administrators** will be able to view and apply themes from the primary geo to their own sites by using `Get-SPOTheme` and `Set-SPOWebTheme` cmdlet. Themes previously created within satellite geos will remain available for use. However, **creating new themes in satellite geos will no longer be supported** going forward.
2631
2732
## EXAMPLES
2833

2934
### Example 1
3035

31-
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.
36+
This example shows how to use the [**Get-SPOTheme**](./Get-SPOTheme.md) cmdlet to return the settings for the `"Custom Cyan"` theme created in the example for the [**Add-SPOTheme**](./Add-SPOTheme.md) cmdlet. Note that this example uses the PowerShell `ConvertTo-Json` filter to display the theme in JSON format.
3237

3338
```powershell
3439
Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json -Depth 4
@@ -44,7 +49,8 @@ Get-SPOTheme -Name "Custom Cyan" | ConvertTo-Json -Depth 4
4449
{"accentColor": "#FFFFFF", "backgroundColor": "#0078D4"}
4550
]
4651
},
47-
"IsInverted": false
52+
"IsInverted": false,
53+
"Editable": true
4854
}
4955
```
5056

@@ -54,39 +60,40 @@ If the theme is in legacy format, the output will be:
5460
{
5561
"Name": "Custom Cyan",
5662
"Palette": {
57-
"themeLight": "#affefe",
58-
"themeTertiary": "#76ffff",
59-
"black": "#000000",
60-
"neutralSecondary": "#666666",
61-
"neutralTertiaryAlt": "#c8c8c8",
62-
"themeSecondary": "#39ffff",
63-
"themeDarker": "#005252",
64-
"primaryBackground": "#fff",
65-
"neutralQuaternary": "#d0d0d0",
66-
"neutralPrimaryAlt": "#3c3c3c",
67-
"neutralPrimary": "#333",
68-
"themeDark": "#009090",
69-
"themeLighter": "#daffff",
70-
"neutralTertiary": "#a6a6a6",
71-
"neutralQuaternaryAlt": "#dadada",
72-
"themeLighterAlt": "#f3fcfc",
73-
"white": "#fff",
74-
"neutralSecondaryAlt": "#767676",
75-
"neutralLighter": "#f4f4f4",
76-
"neutralLight": "#eaeaea",
77-
"neutralDark": "#212121",
78-
"themeDarkAlt": "#00c4c4",
79-
"neutralLighterAlt": "#f8f8f8",
80-
"primaryText": "#333",
81-
"themePrimary": "#00ffff"
82-
},
83-
"IsInverted": false
63+
"themeLight": "#affefe",
64+
"themeTertiary": "#76ffff",
65+
"black": "#000000",
66+
"neutralSecondary": "#666666",
67+
"neutralTertiaryAlt": "#c8c8c8",
68+
"themeSecondary": "#39ffff",
69+
"themeDarker": "#005252",
70+
"primaryBackground": "#fff",
71+
"neutralQuaternary": "#d0d0d0",
72+
"neutralPrimaryAlt": "#3c3c3c",
73+
"neutralPrimary": "#333",
74+
"themeDark": "#009090",
75+
"themeLighter": "#daffff",
76+
"neutralTertiary": "#a6a6a6",
77+
"neutralQuaternaryAlt": "#dadada",
78+
"themeLighterAlt": "#f3fcfc",
79+
"white": "#fff",
80+
"neutralSecondaryAlt": "#767676",
81+
"neutralLighter": "#f4f4f4",
82+
"neutralLight": "#eaeaea",
83+
"neutralDark": "#212121",
84+
"themeDarkAlt": "#00c4c4",
85+
"neutralLighterAlt": "#f8f8f8",
86+
"primaryText": "#333",
87+
"themePrimary": "#00ffff"
88+
},
89+
"IsInverted": false,
90+
"Editable": true
8491
}
8592
```
8693

8794
### Example 2
8895

89-
To return all uploaded themes, use the **Get-SPOTheme** command with no arguments.
96+
To return all uploaded themes, use the [**Get-SPOTheme**](./Get-SPOTheme.md) command with no arguments.
9097

9198
```powershell
9299
Get-SPOTheme

0 commit comments

Comments
 (0)