


So in that case, rather than the code in the Github PR, the Scripts section of your composer. This example removes the 'Custom Cyan' theme that was used in the previous examples for the Add-SPOTheme and Get-SPOTheme cmdlets. The Remove-SPOTheme cmdlet removes a theme from your tenant store.
PS, if you want to also remove them from sites that already have them downloaded, then you would need to use not the post-root-install-package callback, but also the post-update-cmd. Remove-SPOTheme -Identity