Skip to content

Commit d527c78

Browse files
committed
Refactor: Fix warnings
1 parent 1171358 commit d527c78

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

angular.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353
},
5454
"outputHashing": "all",
5555
"sourceMap": false,
56-
"extractCss": true,
5756
"namedChunks": false,
5857
"aot": true,
5958
"extractLicenses": true,

src/assets/scss/core/variables/_bootstrap-material-design.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "sass:math";
2+
13
$bmd-label-color-focus: $brand-primary !default;
24
$bmd-invalid-underline: $brand-danger !default;
35
$bmd-readonly-underline: $input-border-color !default;
@@ -20,8 +22,8 @@ $mdb-input-font-size-base: 14px !default;
2022
$mdb-input-font-size-large: ceil(($font-size-base * 1.25)) !default; // ~20px
2123
$mdb-input-font-size-small: ceil(($font-size-base * 0.75)) !default; // ~12px
2224

23-
$bmd-bmd-label-static-size-ratio: 75 / 100 !default;
24-
$bmd-help-size-ratio: 75 / 100 !default;
25+
$bmd-bmd-label-static-size-ratio: math.div(75, 100) !default;
26+
$bmd-help-size-ratio: math.div(75, 100) !default;
2527

2628
$bmd-form-control-bg-repeat-y: no-repeat !default;
2729
$bmd-form-control-bg-position: center bottom, center calc(100% - 1px) !default;

src/assets/scss/core/variables/_type.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@use "sass:math";
2+
13
// Typography
24
//
35
// Font, line-height, and color for body text, headings, and more.
@@ -43,7 +45,7 @@ $display4-size: 2.125rem !default; // md display-1 34px was 3.5rem
4345
//
4446
//$line-height-base: 1.5 !default;
4547
//
46-
$headings-margin-bottom: ($spacer / 2) !default;
48+
$headings-margin-bottom: math.div($spacer, 2) !default;
4749
//$headings-font-family: inherit !default;
4850
$headings-font-weight: 400 !default; // was 500
4951

0 commit comments

Comments
 (0)