mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
38 lines
995 B
SCSS
38 lines
995 B
SCSS
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
// Custom fonts
|
|
@import "~typeface-roboto";
|
|
@import "./mixins";
|
|
|
|
// 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");
|
|
}
|
|
}
|