1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/src/renderer/components/fonts.scss
Roman 875972e1ee
Better handling loading terminal fonts (#6913)
* 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>
2023-01-13 09:14:07 -05:00

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");
}