Synthesis and Electrochromic Properties of Aromatic Polyamides with Pendent Triphenylamine Units