[feature] added variants to the layer declaration