A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi @Anonymous ,
You should use $themepalette = @{ } instead of $palette = @{ }.
For example:
$themepalette = @{
"themePrimary" = "#00a2d1";
"themeLighterAlt" = "#f3fbfd";
"themeLighter" = "#d0eff8";
"themeLight" = "#a9e2f1";
"themeTertiary" = "#5bc6e3";
"themeSecondary" = "#1aaed7";
"themeDarkAlt" = "#0093bc";
"themeDark" = "#007c9f";
"themeDarker" = "#005c75";
"neutralLighterAlt" = "#faf9f8";
"neutralLighter" = "#f3f2f1";
"neutralLight" = "#edebe9";
"neutralQuaternaryAlt" = "#e1dfdd";
"neutralQuaternary" = "#d0d0d0";
"neutralTertiaryAlt" = "#c8c6c4";
"neutralTertiary" = "#a19f9d";
"neutralSecondary" = "#605e5c";
"neutralPrimaryAlt" = "#3b3a39";
"neutralPrimary" = "#323130";
"neutralDark" = "#201f1e";
"black" = "#000000";
"white" = "#ffffff";
}
Add-SPOTheme -Name "Theme name" -Palette $themepallette -IsInverted $false
For Reference: Add-SPOTheme
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.