mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
* better handling loading terminal fonts timing issues, fix #5019 Signed-off-by: Roman <ixrock@gmail.com> * refactoring, loading all terminal fonts to earliest stage app starting Signed-off-by: Roman <ixrock@gmail.com> * attempt to fix tests Signed-off-by: Roman <ixrock@gmail.com> Signed-off-by: Roman <ixrock@gmail.com>
47 lines
1.2 KiB
SCSS
47 lines
1.2 KiB
SCSS
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
// App's main font
|
|
// Downloaded from: https://fonts.google.com/specimen/Roboto
|
|
@font-face {
|
|
font-family: "Roboto";
|
|
src: url("../fonts/Roboto-Light.ttf") format("truetype");
|
|
font-display: swap;
|
|
font-weight: 300; // "light"
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Roboto";
|
|
src: url("../fonts/Roboto-LightItalic.ttf") format("truetype");
|
|
font-display: swap;
|
|
font-weight: 300; // "light" + italic
|
|
font-style: italic;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Roboto";
|
|
src: url("../fonts/Roboto-Regular.ttf") format("truetype");
|
|
font-display: swap;
|
|
font-weight: 400; // "normal"
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Roboto";
|
|
src: url("../fonts/Roboto-Bold.ttf") format("truetype");
|
|
font-display: swap;
|
|
font-weight: 700; // "bold"
|
|
}
|
|
|
|
|
|
// Icon fonts, see: `icon.tsx`
|
|
// Latest version for manual update: 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");
|
|
}
|