simplify usage of dark class

Simplifies usage of 'dark' to apply only to map parent element. Fixes a problem where map errors were shown as dark text against dark background.