on systemAppearanceChanged pMode, pWindowColor
set the backgroundColor of this stack to pWindowColor
end systemAppearanceChanged
You’ll notice a second parameter to the systemAppearanceChanged message. This holds the colour value of the window depending on what mode it is being changed to. This allows you to use the right colour in dark mode (it’s not black) and in light mode (it’s not white). Hope you’ll find this change handy - it’ll be available in 0.9.6