summaryrefslogtreecommitdiff
path: root/scss/values/typography/_index.scss
blob: 3aa438494395db1826916603a40d2ef7b69e1aa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@use 'sass:map';

@use 'constants';

@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)
  );
}

@function border-width($breakpoint: initial) {
  @return calc(
    map.get(constants.$base-font-size, $breakpoint)
    / 8
  );
}