/*
 * Self-hosted fonts (replaces Google Fonts <link> tags).
 * Font files live in app/assets/fonts and are served/fingerprinted by Propshaft.
 */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/inter/Inter-Variable-1f021a24.woff2") format("woff2");
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/jetbrains-mono/JetBrainsMono-Variable-8a992d39.woff2") format("woff2");
}

/* Only the icons the app uses, FILL 0 / weight 400 (about 10 KB instead of 1.1 MB for the full variable font
 * in vendor/fonts). After using a new icon run bin/subset-icons, otherwise its name shows as text.
 * block: no flash of icon names as text while the (small) font loads */
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/assets/material-symbols-outlined/MaterialSymbolsOutlined-1eda13cc.woff2") format("woff2");
}

.material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
