only use theme when in window-system mode