Forum Discussion

Clint Lechner's avatar
Clint Lechner
Steel Contributor
Jun 07, 2017

Group Colors -- please make them more consistent... see examples in screenshot

It's been far too long here.  Don't let me change the color, that's fine, I will deal with it.  Shoot, take away my customizations from lists for a while until you get a clear path to give us.... ok, I'll deal with that, but please PLEASE give us some consistent colors for Groups across the board.  I know there were some bugs here and there but give us a consistent color palette and I'll go quietly into the night......

5 Replies

  • I'm not really sure if you're talking about the color scheme of the outlook group, or the associated SharePoint teamsite, but here's how we manage both.

     

    The outlook group's theme is set based on the group image. We make sure this is a colourful tile in the right colour (tip: metro studio). Group appearance changes, usually a little darker colour of the same palette is chosen for background/lines etc.

     

    The group image is synchronized to the associated teamsite (this is ootb). In a provisioning scenario, you may manage the themefile of your modern teamsite using the following pnp powershell commands:

     

    $themefile = 'path-to-your-teamfile'

    Connect-PnPOnline $url -Credentials $credentials Add-PnPFile -Path $themefile -Folder SiteAssets $web = Get-PnPWeb $palette = $web.ServerRelativeUrl + "/SiteAssets/" + $themefile $web.ApplyTheme($palette, [NullString]::Value, [NullString]::Value, $false) $web.Update() # Set timeout as high as possible and execute $web.Context.RequestTimeout = [System.Threading.Timeout]::Infinite $web.Context.ExecuteQuery()

    Note that only the ContentAccent1 value of your themefile dicates the appearance of the modern teamsite. Other content values only play a role in things like calendar overlays in different colours.

     

     

    • Clint Lechner's avatar
      Clint Lechner
      Steel Contributor

      Thanks Deleted -- adding a colored icon to the Outlook piece that matches my Modern Group actually fixed a few places but then the Sharepoint Home page didn't update the background color, just the icon.  It's a give and take I guess....

    • Annie Wong's avatar
      Annie Wong
      Copper Contributor

      In regards to run this code, I tried running the same lines of code to apply theme for o365 sp team site.  Everything looks great except for the last line.  Update the last line of code as Execute-PnPQuery and it works.

      • Deleted's avatar
        Deleted

        Thanks Annie Wong, that command is more stable in terms of timeout too i guess!

    • Clint Lechner's avatar
      Clint Lechner
      Steel Contributor

      Here's an example.......... this group's theme/icon has not been edited in any place but you never know what you're going to get when/where it shows up.  Perhaps setting it in powershell would cause things to resync and get some consistency.  The point is, this is a little (or more than a little) inconsistent.  We've got........... red, green, blue, orange..........