split slim style to a separate file