Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
44 changes: 44 additions & 0 deletions packages/admin-ui/src/fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
@font-face {
font-family: "Montserrat";
src: url("/fonts/montserrat/Montserrat-VariableFont_wght.ttf") format("truetype");
font-weight: 100 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Montserrat";
src: url("/fonts/montserrat/Montserrat-Italic-VariableFont_wght.ttf") format("truetype");
font-weight: 100 900;
font-style: italic;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/fonts/inter/Inter-VariableFont_opsz,wght.ttf") format("truetype");
font-weight: 100 900;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/fonts/inter/Inter-Italic-VariableFont_opsz,wght.ttf") format("truetype");
font-weight: 100 900;
font-style: italic;
font-display: swap;
}

.section-title,
.section-subtitle,
.sidenav-item,
.horizontal-navbar,
.pkgs-back-btn {
font-family: "Montserrat", sans-serif;
}

// Body text style
body {
font-family: "Inter", sans-serif;
}
1 change: 1 addition & 0 deletions packages/admin-ui/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import "./dappnode_styles.scss";
import "./dappnode_colors.scss";
import "./light_dark.scss";
import "./layout.scss";
import "./fonts.scss";
import { PwaInstallProvider } from "pages/system/components/App/PwaInstallContext";

// This process.env. vars will be substituted at build time
Expand Down
7 changes: 0 additions & 7 deletions packages/admin-ui/src/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@
--z-index-topbar: 1000;
}

/*
TEXT STYLES
*/
body {
font-family: overpass, sans-serif !important;
}

/* Reset margins and underlying sizes.
The height 100% is necessary so child elements have a reference to be full width
*/
Expand Down
Loading