@iris.interactive/handcook 2.8.15 → 2.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,8 +68,8 @@ $viewport-borders: (
68
68
  /* Breakpoint
69
69
  / ================================================== */
70
70
  $breakpoint-desktop: 1000.1px; // min-width
71
- $breakpoint-xlarge: math.div($container, 1 - math.div($margin-xlarge, 100%) * 2)+1; // min-width
72
- $breakpoint-large: math.div($container, 1 - math.div($margin-xlarge, 100%) * 2); // max-width
71
+ $breakpoint-xlarge: $container / (1-(($margin-xlarge/100%) * 2)) + 1; // min-width
72
+ $breakpoint-large: $container / (1-(($margin-xlarge/100%) * 2)); // max-width
73
73
  $breakpoint-medium: 1000px; // max-width
74
74
  $breakpoint-small: 650px; // max-width
75
75
  $breakpoint-xsmall: 370px; // max-width
@@ -28,12 +28,12 @@
28
28
  /* Font size
29
29
  /* ============================================= */
30
30
  @function rem-size( $size ) {
31
- $remSize: math.div($size, 16);
31
+ $remSize: $size / 16;
32
32
  @return #{$remSize}rem;
33
33
  }
34
34
 
35
35
  @function vw-size( $size ) {
36
- $ceil-size: math.div(math.div($container, 1px), 1 - math.div($margin-xlarge, 100%) * 2);
36
+ $ceil-size: ($container / 1px) / (1 - ($margin-xlarge / 100%) * 2);
37
37
  @return calc(#{$size} * 100 / #{$ceil-size} * 1vw);
38
38
  }
39
39