Sometimes theme colors are very light. This commit fixes the problem of white text being shown on light backgrounds.