add font-weight-var for legend