Skip to content

Commit 654c75e

Browse files
committed
fix: fix Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
1 parent 726d943 commit 654c75e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/dart-sass/holy-grail-layout.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
@use '../../dart-sass/flexbox-grid-mixins';
22

3+
// Built-In Modules
4+
@use "sass:math";
5+
36
$default-grid-gutter: 4%;
4-
$default-col-offset: -($default-grid-gutter / 3);
7+
$default-col-offset: -(math.div($default-grid-gutter, 3));
58

69
body {
710
font-family: "Hiragino Kaku Gothic ProN", Arial, sans-serif;

docs/dart-sass/responsive.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
@use '../../dart-sass/flexbox-grid-mixins';
22

3+
// Built-In Modules
4+
@use "sass:math";
5+
36
$default-grid-gutter: 4%;
4-
$default-col-offset: -($default-grid-gutter / 3);
7+
$default-col-offset: -(math.div($default-grid-gutter, 3));
58

69
$default-breakpoints: (
710
lg: 1200px,

0 commit comments

Comments
 (0)