Elucidating the structure-property relationships of donor-π-acceptor dyes for dye-sensitized solar cells (DSSCs) through rapid library synthesis by a one-pot procedure.