move date colours to classes, so they can be changed in css.