From 9e6d7ae18219e97703087d77907729fd41cdf28c Mon Sep 17 00:00:00 2001 From: Chauncey McAskill Date: Mon, 29 Jan 2024 15:17:50 -0500 Subject: [PATCH] Replace deprecated divisions in Sass --- assets/styles/objects/_icons.scss | 2 +- assets/styles/tools/_functions.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/styles/objects/_icons.scss b/assets/styles/objects/_icons.scss index 2545eac..7e99d3c 100644 --- a/assets/styles/objects/_icons.scss +++ b/assets/styles/objects/_icons.scss @@ -48,7 +48,7 @@ // // Logo // .svg-logo { // --icon-width: #{rem(100px)}; -// --icon-ratio: 20/30; // width/height based on svg viewBox +// --icon-ratio: math.div(20, 30); // width/height based on svg viewBox // // Sizes // .o-icon.-big & { diff --git a/assets/styles/tools/_functions.scss b/assets/styles/tools/_functions.scss index 8609d3e..3262bd3 100644 --- a/assets/styles/tools/_functions.scss +++ b/assets/styles/tools/_functions.scss @@ -109,8 +109,8 @@ $context: 'frontend' !default; // // ```scss // .c-box { -// width: grid-space(6/12); -// margin-left: grid-space(1/12, 1); +// width: grid-space(math.div(6, 12)); +// margin-left: grid-space(math.div(1, 12), 1); // } // ``` //