update title highlight for both light and dark theme