Right, but with modern theming and things like light and dark themes that's an easy thing to miss. The text inside the button itself may be overridden by some custom style somewhere and someone forgot to modify it for a theme. I don't see anything here that couldn't be just a minor oversight by a dev.