// Copyright 2019 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only

$is-storybook: false !default;
$protocol: 'asset://';
@if $is-storybook {
  $protocol: '..';
}

@font-face {
  font-family: 'Inter';
  src: url('#{$protocol}/fonts/inter-v3.19/Inter-BoldItalic.woff2');
  font-weight: bolder;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('#{$protocol}/fonts/inter-v3.19/Inter-Bold.woff2');
  font-weight: bolder;
}

@font-face {
  font-family: 'Inter';
  src: url('#{$protocol}/fonts/inter-v3.19/Inter-SemiBoldItalic.woff2');
  font-weight: bold;
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('#{$protocol}/fonts/inter-v3.19/Inter-Italic.woff2');
  font-style: italic;
}
@font-face {
  font-family: 'Inter';
  src: url('#{$protocol}/fonts/inter-v3.19/Inter-SemiBold.woff2');
  font-weight: bold;
}
@font-face {
  font-family: 'Inter';
  src: url('#{$protocol}/fonts/inter-v3.19/Inter-Medium.woff2');
  font-weight: 500;
}

@font-face {
  font-family: 'Inter';
  src: url('#{$protocol}/fonts/inter-v3.19/Inter-Regular.woff2');
}

@font-face {
  font-family: 'Parisienne';
  src: url('#{$protocol}/fonts/stories/Parisienne-Regular.ttf');
}

@font-face {
  font-family: 'Barlow Condensed';
  src: url('#{$protocol}/fonts/stories/BarlowCondensed-Medium.ttf');
}

@font-face {
  font-family: 'EB Garamond';
  src: url('#{$protocol}/fonts/stories/EBGaramond-Regular.ttf');
}

@font-face {
  font-family: 'Hatsuishi';
  src: url('#{$protocol}/fonts/stories/Hatsuishi-Regular.woff2');
}

@font-face {
  font-family: 'SignalSymbols';
  font-style: normal;
  font-weight: 300 400 700;
  font-display: block;
  src: url('#{$protocol}/fonts/signal-symbols/SignalSymbolsVariable.woff2');
}
