You should explicitly add element to the args for this function instead of grabbing it from styles.  Did lint.sh complain here?