aboutsummaryrefslogtreecommitdiff
path: root/sass/function
diff options
context:
space:
mode:
authorJieiku2023-05-22 23:12:14 -0700
committerJieiku2023-05-22 23:12:14 -0700
commitf81a42045e29cc396af78b5d87ead874ba26fa18 (patch)
tree6d73c8fcad4da03d2e8d5d7485079a38adc83a8e /sass/function
parent9543caf10ffdbcc2cea462a8bcb64cee29d406d5 (diff)
downloadabridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.gz
abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.tar.bz2
abridge-f81a42045e29cc396af78b5d87ead874ba26fa18.zip
All Variables Easy Override
Diffstat (limited to 'sass/function')
-rw-r--r--sass/function/_font.sass28
1 files changed, 0 insertions, 28 deletions
diff --git a/sass/function/_font.sass b/sass/function/_font.sass
deleted file mode 100644
index 45f8fc3..0000000
--- a/sass/function/_font.sass
+++ /dev/null
@@ -1,28 +0,0 @@
-@use "sass:meta"
-@use "sass:list"
-
-@function font-append($base, $ext, $font-sep)
- $base-pre : ()
- $base-pos : ()
- $iFontSep : index($base, $font-sep)
- @if not $iFontSep // didn't find the font separator, return
- @debug "⚠ Failed to find '#{$font-sep}' in the list of '#{$base}'"
- @return $base
-
- @for $i from 1 through list.length($base)
- $iEl: list.nth($base, $i)
- @if $i <= $iFontSep
- $base-pre: list.append($base-pre, $iEl, $separator:comma)
- @else
- $base-pos: list.append($base-pos, $iEl, $separator:comma)
-
- @return list.join(list.join($base-pre, $ext), $base-pos)
-
-@function font-prepend($base, $ext)
- $ext-type : meta.type-of($ext)
-
- @if not ($ext-type == 'string') and not ($ext-type == 'list')
- @debug "⚠ Expected a string or a list, but got '#{$ext-type}' in '#{$ext}'"
- @return $base
- @else
- @return list.join($ext,$base)