SharePoint online Theme Generator updating using PowerShell

PeelOut7 1 Reputation point
2022-04-13T13:08:45.97+00:00

192696-image.png

Microsoft 365 and Office SharePoint For business Windows
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,461 Reputation points
    2022-04-14T09:16:51.24+00:00

    Hi @PeelOut7 ,

    You have to delete following commands: 193093-1.jpg. They are not parameters in Add-SPOTheme PowerShell commands. For reference: Add-SPOTheme

    PowerShell commands:

    $themepallette = @{   
      
    "themePrimary" = "#517b96"    
      
    "themeLighterAlt" = "ff8200";   
      
    "themeLighter" = "#f0ebe1";    
      
    "themeLight" = "#58595b";   
      
    "themeTertiary" = "#006c93";   
      
    "themeSecondary" = "#006c93";    
      
    "themeDarkAlt" = "#ff8200";   
      
    "themeDark" = "#006c93";   
      
    "themeDarker" = "#f7941d";   
      
    "neutralLighterAlt" = "#f0ede3";   
      
    "neutralLighter" = "#f0ede3";    
      
    "neutralLight" = "#a7a9ac";   
      
    "neutralQuaternaryAlt" = "#333333";    
      
    "neutralQuaternary" = "#333333";   
      
    "neutralTertiaryAlt" = "#333333";    
      
    "neutralTertiary" = "#333333";  
      
    "neutralSecondaryAlt" = "#767676";    
      
    "neutralSecondary" = "#333333";   
      
    "neutralPrimaryAlt" = "#517b96";    
      
    "neutralPrimary" = "#333333";   
      
    "neutralDark" = "#333333";   
      
    "black" = "#58595b";    
      
    "white" = "#ffffff";    
      
    "primaryBackground" = "#f0ebe1";   
      
    "primaryText" = "#333333";    
      
    }   
      
    Add-SPOTheme -Name "TY" -Palette $themepallette -IsInverted $false  
    

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.