Fonts

Estimated reading: 1 minute 174 views

Gulp+HBS font change with variable file.

  • Go to src/assets/scss/helper/_fonts.scss and change google fonts
    @import url(‘https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&display=swap’);
    @import url(‘https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700;800;900&display=swap’);
  • Go to src/assets/scss/_variable.scss
    $font-family-base: ‘Nunito’, sans-serif;
    $font-family-title: ‘Roboto’, sans-serif;

Leave a Comment

Share this Doc

Fonts

Or copy link

CONTENTS