/*
 * © 2024 AxonOps Limited. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/*
* Inter font
* https://fonts.google.com/specimen/Inter
* Font name: 'Main'
*/
$mainWeights: 'thin', 'extralight', 'light', 'regular', 'medium', 'semibold', 'bold', 'extrabold', 'black';
@for $i from 1 through length($mainWeights) {
  $weight: nth($mainWeights, $i);
  @font-face {
    @include fontface('Main', 'inter', $weight, 'otf', normal, $i * 100)
  }
}
/*
* Vazirmatn
* https://fonts.google.com/specimen/Vazirmatn
* Font name: 'Minor'
*/
$minorWeights: 'thin', 'extralight', 'light', 'regular', 'medium', 'semibold', 'bold', 'extrabold', 'black';
@for $i from 1 through length($minorWeights) {
  $weight: nth($minorWeights, $i);
  @font-face {
    @include fontface('Minor', 'vazirmatn', $weight, 'ttf', normal, $i * 100)
  }
}
/*
* Space Grotesk
* https://fonts.google.com/specimen/Space+Grotesk
* Font name: 'Brand'
*/
@font-face {
  @include fontface('Brand', 'space_grotesk', 'medium', 'ttf', normal, 500)
}
/*
* Noto Sans Simplified Chinese
* https://fonts.google.com/noto/specimen/Noto+Sans+SC?subset=chinese-simplified
* Font name: 'SimplifiedChinese'
*/
@font-face {
  @include fontface('SimplifiedChinese', 'noto_sans_sc', 'regular', 'ttf', normal, 400)
}
/*
* JetBrains Mono font
* https://www.jetbrains.com/lp/mono
* Font name: 'Terminal'
*/
$terminalWeights: ('regular', 400), ('medium', 500), ('bold', 700);
@each $weight in $terminalWeights {
  $name: nth($weight, 1);
  $num: nth($weight, 2);
  @font-face {
    @include fontface('Terminal', 'jetbrains_mono', $name, 'ttf', normal, $num)
  }
}
