From c242082081ca2992dc7a4bd40b23e8a706640fcc Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Thu, 2 Nov 2023 18:56:32 +0100 Subject: [PATCH] No need to use calc inside clamp. --- 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 7865104..49911ef 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(1.80rem, 1.37rem + 2.17vw, 3.05rem), + xxxl: clamp(1.60rem, 1.31rem + 1.46vw, 2.44rem), + xxl: clamp(1.42rem, 1.24rem + 0.92vw, 1.95rem), + xl: clamp(1.27rem, 1.16rem + 0.52vw, 1.56rem), + l: clamp(1.13rem, 1.08rem + 0.22vw, 1.25rem), m: 1rem, s: 0.889rem, xs: 0.778rem,