Issue of setting variable font

Currently to use variable font in Bricks:

  1. Uploading the font. But the font-weight setting is fixed with a dropdown menu. So we have to set it to 400.
  2. Set font style in the editor with font-variation-setting.

But according to the best practice,

  1. Defining the font should indicate the font-weight range to let the browser know it’s variable font like this:
    image

  2. Then we can simply use font-weight to style the font. Don’t need to use font-variation-setting: ‘wght’ xxx at all, which is for a more specific need and overrides the regular font-weight. Then we don’t need to worry about font-weight is different from font-variation-setting.
    image

7 Likes