add style api for smart tips