The test should be foregroundColorMode == ColorModeAlternate (otherwise it could be Normal and the test for foregroundColor would incorrectly pick up non-default colors)