The contextual menu now follows the light/dark appearance setting. You could set your phone to always use Dark (Settings > Display & Brightness). I’m not sure if there’s any other way to get the pop-up contextual menu to change back to its old look. But it’s worth also having a look in the Accessibility settings to see if there’s an increased contrast option that would help.