@codecademy/gamut-styles
17.14.017.14.1-alpha.0ee3d6.0
utils/functions/index.scss−
utils/functions/index.scssDeleted−26
Index: package/utils/functions/index.scss
===================================================================
--- package/utils/functions/index.scss
+++ package/utils/functions/index.scss
@@ -1,26 +0,0 @@
-@use "sass:math";
-
-@function strip-units($number) {
- @return math.div($number, ($number * 0 + 1));
-}
-
-@function px-rem($px, $base-px: 16) {
- @return calc(strip-units($px) / strip-units($base-px)) * 1rem;
-}
-
-@function px-em($px, $base-px: 16) {
- @return calc(strip-units($px) / strip-units($base-px)) * 1em;
-}
-
-// Math
-@function pow($number, $exponent) {
- $value: 1;
-
- @if $exponent > 0 {
- @for $i from 1 through $exponent {
- $value: $value * $number;
- }
- }
-
- @return $value;
-}