From afa28d1f64812688fe9d38807f0f3c2ab742bc55 Mon Sep 17 00:00:00 2001 From: robines Date: Tue, 23 Sep 2025 20:56:04 +0200 Subject: [PATCH 1/2] Add new font via adobe fonts --- frontend/index.html | 1 + frontend/src/_constants.scss | 3 +++ frontend/src/global.scss | 3 +-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 2887e8058..50f126739 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,6 +4,7 @@ + Samfundet diff --git a/frontend/src/_constants.scss b/frontend/src/_constants.scss index e8b282e22..9278ab66c 100644 --- a/frontend/src/_constants.scss +++ b/frontend/src/_constants.scss @@ -92,6 +92,9 @@ $rejected_this_offer: #dee73e; $accepted_this_offer: #4f49eb; $withdrawn_application: #7f7f7f; +// Typography +$primary-font-family: "obviously-variable", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + /* Screen sizes, breakpoint (bp) */ $large-desktop-bp-lower: 1201px; $desktop-bp-upper: 1200px; diff --git a/frontend/src/global.scss b/frontend/src/global.scss index 34bc3f824..7c7521bf0 100644 --- a/frontend/src/global.scss +++ b/frontend/src/global.scss @@ -51,8 +51,7 @@ html { body { margin: 0; - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', - 'Droid Sans', 'Helvetica Neue', sans-serif; + font-family: $primary-font-family; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; width: 100%; From 00fcb7fff9ca07b03099fa7938cfa169c9f01c3b Mon Sep 17 00:00:00 2001 From: robines Date: Tue, 23 Sep 2025 21:05:57 +0200 Subject: [PATCH 2/2] biome --- frontend/src/_constants.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/_constants.scss b/frontend/src/_constants.scss index 9278ab66c..6b95125ba 100644 --- a/frontend/src/_constants.scss +++ b/frontend/src/_constants.scss @@ -93,7 +93,7 @@ $accepted_this_offer: #4f49eb; $withdrawn_application: #7f7f7f; // Typography -$primary-font-family: "obviously-variable", -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; +$primary-font-family: "obviously-variable", -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, oxygen, ubuntu, cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; /* Screen sizes, breakpoint (bp) */ $large-desktop-bp-lower: 1201px;