/* The Wordbud app's fonts, served from its assets folder under /assets/.

   Line heights are set on every text style (AppText), so these faces keep
   their own vertical metrics: the extra height of a line is shared above and
   below the glyphs, as Flutter shares it. */

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("/assets/fonts/Roboto-Black.ttf") format("truetype");
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans Pro";
  src: url("/assets/fonts/SourceSansPro-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

/* Blocks rather than swaps, so an icon never shows as its private-use
   character while the font loads. */
@font-face {
  font-family: "WordbudIcons";
  src: url("/assets/fonts/WordbudIcons.ttf") format("truetype");
  font-display: block;
}
