Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

29 nuxt add fonts #55

Merged
merged 1 commit into from
Mar 25, 2024
Merged
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
45 changes: 45 additions & 0 deletions frontend/assets/styles/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/* Inter */

@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Regular.woff2") format("woff");
font-weight: 400;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Bold.woff2") format("woff");
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/fonts/Inter-SemiBold.woff2") format("woff");
font-weight: 600;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Medium.woff2") format("woff");
font-weight: 500;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: "Inter";
src: url("/fonts/Inter-Light.woff2") format("woff");
font-weight: 300;
font-style: normal;
font-display: swap;
}

html {
font-family: -apple-system, "Inter", 'Arial', sans-serif;
}
Binary file added frontend/public/fonts/Inter-Bold.woff2
Binary file not shown.
Binary file added frontend/public/fonts/Inter-Light.woff2
Binary file not shown.
Binary file added frontend/public/fonts/Inter-Medium.woff2
Binary file not shown.
Binary file added frontend/public/fonts/Inter-Regular.woff2
Binary file not shown.
Binary file added frontend/public/fonts/Inter-SemiBold.woff2
Binary file not shown.
Loading