While the iOS dark mode applies a dark-gray theme on most visual elements by default, it leaves certain visual elements light. If you're not okay with that, iOS 18 has two hidden appearance settings ...
To do so, just tap on the icon until it turns gray and you're good to go. You can also open the Settings app on your iPhone, and then tap the Do Not Disturb tab. Simply tap the green lever to ...