Fixed: "Name Isn't Valid. 'Content' Isn't Recognized" on a Power Apps Badge
You want a badge's color to follow its text, so you write Switch(Self.Content, ...) in its Intent. Studio underlines Content and says Name isn't valid. 'Content' isn't recognized. The modern Badge's text can't be read that way. Base the color on the same value the text comes from.
