From 64b26680414aa456afae596a216ce9d85aac77c8 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Sat, 25 Nov 2023 20:10:26 +0100 Subject: [PATCH] Adjusting fluid font sizes. --- assets/sass/_variables.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/sass/_variables.scss b/assets/sass/_variables.scss index 15404e2..6a20a04 100644 --- a/assets/sass/_variables.scss +++ b/assets/sass/_variables.scss @@ -34,11 +34,11 @@ $font-size-fixed: ( // Size m is base. // Use like this: var(--fs-m) $font-size-fluid: ( - xxxxl: clamp(1.80rem, calc(1.37rem + 2.17vw), 3.05rem), - xxxl: clamp(1.60rem, calc(1.31rem + 1.46vw), 2.44rem), - xxl: clamp(1.42rem, calc(1.24rem + 0.92vw), 1.95rem), - xl: clamp(1.27rem, calc(1.16rem + 0.52vw), 1.56rem), - l: clamp(1.13rem, calc(1.08rem + 0.22vw), 1.25rem), + xxxxl: clamp(2.4881rem, calc(1.8896rem + 2.9924vw), 4.2088rem), + xxxl: clamp(2.0738rem, calc(1.6968rem + 1.8848vw), 3.1575rem), + xxl: clamp(1.7281rem, calc(1.5053rem + 1.1141vw), 2.3688rem), + xl: clamp(1.44rem, calc(1.3228rem + 0.5859vw), 1.7769rem), + l: clamp(1.2rem, calc(1.1537rem + 0.2315vw), 1.3331rem), m: 1rem, s: 0.889rem, xs: 0.778rem,