check `window-system' before running color theme code