diff options
| author | Joe Carstairs <65492573+joeacarstairs@users.noreply.github.com> | 2024-10-05 17:27:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-05 17:27:40 +0100 |
| commit | 2febffe5e3036c4b35dff4a8b274f42a7f8fef42 (patch) | |
| tree | 7287800600f340871620631b8431cef37fc58891 /scss/values/typography | |
| parent | 285023b7c6bac87e049df0d8040ecd8f4a16ae78 (diff) | |
| parent | fdf28cb097596159a002326823f374a64e95c23c (diff) | |
Merge pull request #103 from joeacarstairs/staging
Update prod
Diffstat (limited to 'scss/values/typography')
| -rw-r--r-- | scss/values/typography/_constants.scss | 3 | ||||
| -rw-r--r-- | scss/values/typography/_index.scss | 10 |
2 files changed, 4 insertions, 9 deletions
diff --git a/scss/values/typography/_constants.scss b/scss/values/typography/_constants.scss index 4ea0117..4921059 100644 --- a/scss/values/typography/_constants.scss +++ b/scss/values/typography/_constants.scss @@ -15,6 +15,5 @@ $font-size-factor: ( '3': 2, '4': 2.5, '5': 3, - '6': 3.5 + '6': 3.5, ); - diff --git a/scss/values/typography/_index.scss b/scss/values/typography/_index.scss index 3aa4384..cacadcf 100644 --- a/scss/values/typography/_index.scss +++ b/scss/values/typography/_index.scss @@ -4,15 +4,11 @@ @function font-size($font-size-grade, $breakpoint: initial) { @return calc( - map.get(constants.$base-font-size, $breakpoint) - * map.get(constants.$font-size-factor, $font-size-grade) + map.get(constants.$base-font-size, $breakpoint) * + map.get(constants.$font-size-factor, $font-size-grade) ); } @function border-width($breakpoint: initial) { - @return calc( - map.get(constants.$base-font-size, $breakpoint) - / 8 - ); + @return calc(map.get(constants.$base-font-size, $breakpoint) / 8); } - |
