created snippet for set favorites styles