Changing main pallette colour breaks dark mode

Product: PowerShell Universal
Version: 4.4.0

I tried changing just the main colour setting but when I do the switch to dark mode no longer works

I’ve added the following to the $theme variable in the app - which kinda works - the colour gets applied; but switch to activate dark mode no longer works :frowning:

    palette = @{
        primary = @{
            main = '#b39c4d'
        }
    }