add color and dashed-style support