Merge pull request #956 from Puterism/master

Replace deprecated slash SASS operator to `math.div`
This commit is contained in:
Alexander Shelepenok 2021-06-22 10:53:52 +03:00 committed by GitHub
commit ecd657f632
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@
* Variables
*/
@use "sass:math";
// Colors
$color-base: #222;
$color-primary: #5D93FF;
@ -25,7 +27,7 @@ $typographic-base-font-color: $color-base;
$typographic-link-p-font-color: $color-primary;
$typographic-link-s-font-color: $color-secondary;
$typographic-leading: round(16 * ($typographic-root-font-size / 100) * $typographic-base-line-height);
$typographic-leading: round(16 * math.div($typographic-root-font-size, 100) * $typographic-base-line-height);
// Buttons
$button-height: 35px;