/**
 * Copyright (c) OpenLens Authors. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */

// Custom fonts
@import "~typeface-roboto/index.css";

// Material Design Icons, used primarily in icon.tsx
// Latest: https://github.com/google/material-design-icons/tree/master/font
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("./fonts/MaterialIcons-Regular.ttf") format("truetype");
}

// Patched RobotoMono font with icons
// RobotoMono Windows Compatible for using in terminal
// https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/RobotoMono
@font-face {
  font-family: 'RobotoMono';
  font-display: block;
  src: local('RobotoMono'), url('./fonts/roboto-mono-nerd.ttf') format('truetype');
}

#fonts-preloading {
  > .icons {
    @include font-preload("Material Icons");
  }

  > .terminal {
    @include font-preload("RobotoMono");
  }
}
