55
66// Color system
77
8- @use " sass:math" ;
9-
108$white : #fff !default ;
119$gray-100 : #f8f9fa !default ;
1210$gray-200 : #e9ecef !default ;
@@ -301,7 +299,7 @@ $h4-font-size: $font-size-base * 1.5 !default;
301299$h5-font-size : $font-size-base * 1.25 !default ;
302300$h6-font-size : $font-size-base !default ;
303301
304- $headings-margin-bottom : math . div ( $spacer , 2 ) !default ;
302+ $headings-margin-bottom : $spacer / 2 !default ;
305303$headings-font-family : null !default ;
306304$headings-font-weight : 500 !default ;
307305$headings-line-height : 1.2 !default ;
@@ -497,7 +495,7 @@ $input-height-border: $input-border-width * 2 !default;
497495
498496$input-height-inner : add ($input-line-height * 1em , $input-padding-y * 2 ) !default ;
499497$input-height-inner-half : add ($input-line-height * .5em , $input-padding-y ) !default ;
500- $input-height-inner-quarter : add ($input-line-height * .25em , math . div ( $input-padding-y , 2 ) ) !default ;
498+ $input-height-inner-quarter : add ($input-line-height * .25em , $input-padding-y / 2 ) !default ;
501499
502500$input-height : add ($input-line-height * 1em , add ($input-padding-y * 2 , $input-height-border , false )) !default ;
503501$input-height-sm : add ($input-line-height-sm * 1em , add ($input-padding-y-sm * 2 , $input-height-border , false )) !default ;
@@ -567,7 +565,7 @@ $custom-radio-indicator-border-radius: 50% !default;
567565$custom-radio-indicator-icon-checked : url (" data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='-4 -4 8 8'><circle r='3' fill='#{$custom-control-indicator-checked-color } '/></svg>" ) !default ;
568566
569567$custom-switch-width : $custom-control-indicator-size * 1.75 !default ;
570- $custom-switch-indicator-border-radius : math . div ( $custom-control-indicator-size , 2 ) !default ;
568+ $custom-switch-indicator-border-radius : $custom-control-indicator-size / 2 !default ;
571569$custom-switch-indicator-size : subtract ($custom-control-indicator-size , $custom-control-indicator-border-width * 4 ) !default ;
572570
573571$custom-select-padding-y : $input-padding-y !default ;
@@ -712,12 +710,12 @@ $nav-pills-link-active-color: $component-active-color !default;
712710$nav-pills-link-active-bg : $component-active-bg !default ;
713711
714712$nav-divider-color : $gray-200 !default ;
715- $nav-divider-margin-y : math . div ($spacer , 2 ) !default ;
713+ $nav-divider-margin-y : calc ($spacer / 2 ) !default ;
716714
717715
718716// Navbar
719717
720- $navbar-padding-y : math . div ($spacer , 2 ) !default ;
718+ $navbar-padding-y : calc ($spacer / 2 ) !default ;
721719$navbar-padding-x : $spacer !default ;
722720
723721$navbar-nav-link-padding-x : .5rem !default ;
@@ -726,7 +724,7 @@ $navbar-brand-font-size: $font-size-lg !default;
726724// Compute the navbar-brand padding-y so the navbar-brand will have the same height as navbar-text and nav-link
727725$nav-link-height : $font-size-base * $line-height-base + $nav-link-padding-y * 2 !default ;
728726$navbar-brand-height : $navbar-brand-font-size * $line-height-base !default ;
729- $navbar-brand-padding-y : math . div ($nav-link-height - $navbar-brand-height , 2 ) !default ;
727+ $navbar-brand-padding-y : ($nav-link-height - $navbar-brand-height ) / 2 !default ;
730728
731729$navbar-toggler-padding-y : .25rem !default ;
732730$navbar-toggler-padding-x : .75rem !default ;
@@ -842,7 +840,7 @@ $card-bg: $white !default;
842840
843841$card-img-overlay-padding : 1.25rem !default ;
844842
845- $card-group-margin : math . div ( $grid-gutter-width , 2 ) !default ;
843+ $card-group-margin : $grid-gutter-width / 2 !default ;
846844$card-deck-margin : $card-group-margin !default ;
847845
848846$card-columns-count : 3 !default ;
0 commit comments