From 56dd9031370167a00c95f738e3bc64582125633c Mon Sep 17 00:00:00 2001 From: Natalie Agus Date: Wed, 8 May 2024 20:51:08 +0800 Subject: [PATCH] test: test new function --- _sass/navigation.scss | 2 +- _sass/support/_functions.scss | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/_sass/navigation.scss b/_sass/navigation.scss index 10b0295..22c022f 100644 --- a/_sass/navigation.scss +++ b/_sass/navigation.scss @@ -1,6 +1,6 @@ // Main nav, breadcrumb, etc... // stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity - +@use 'sass:math'; .nav-list { padding: 0; margin-top: 0; diff --git a/_sass/support/_functions.scss b/_sass/support/_functions.scss index 1c2de2e..8b59ec0 100644 --- a/_sass/support/_functions.scss +++ b/_sass/support/_functions.scss @@ -1,3 +1,5 @@ +@use 'sass:math'; + @function rem($size, $unit: "") { $rem-size: math.div($size, $root-font-size);