added some switchign behaviour for windows/mac environments for colour and font