From 9ab95bbb0dd2f6f8b87010cb7e6c1e71d2be5d7e Mon Sep 17 00:00:00 2001
From: shamalainen <sebastian@hamse.fi>
Date: Wed, 10 Mar 2021 14:26:12 +0200
Subject: [PATCH] Update hero text sizes

---
 src/components/hy-hero/hy-hero.scss | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/components/hy-hero/hy-hero.scss b/src/components/hy-hero/hy-hero.scss
index c5f3955c..b7223500 100644
--- a/src/components/hy-hero/hy-hero.scss
+++ b/src/components/hy-hero/hy-hero.scss
@@ -379,6 +379,7 @@
       color: var(--grayscale-black);
 
       @include breakpoint($extrawide) {
+        @include font-size(17px, 26px);
         max-width: 34%;
       }
     }
@@ -587,7 +588,7 @@
 }
 
 .hy-hero__description {
-  @include font-size(16px, 24px);
+  @include font-size(15px, 22px);
   color: var(--grayscale-black);
   font-family: var(--main-font-family);
   margin: 0;
@@ -595,7 +596,7 @@
   position: relative;
 
   @include breakpoint($narrow) {
-    @include font-size(18px, 28px);
+    @include font-size(16px, 24px);
   }
 
   @include breakpoint($wide) {
@@ -605,10 +606,13 @@
   }
 
   @include breakpoint($extrawide) {
-    @include font-size(18px, 32px);
     max-width: 37%;
     padding: 28px 20px 32px 0;
   }
+
+  @include breakpoint($xlarge) {
+    @include font-size(17px, 26px);
+  }
 }
 
 .hy-hero__actions {
-- 
GitLab