The idea is to correlate or regress your phenotypes against the WGCNA modules. You can use anything that you want. If, for example,
leaf is statistically significantly correlated to the pink module, then you would hypothesise that the genes in the
pink module are related somehow to
WGCNA is quite flexible and gives you, the user, much freedom to perform any analysis(es) that you please.