fix tooltip for inverted color schemes

Text color may not always be black on users system, making tooltips unreadable. This change makes sure everyone can read tooltips.