You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//Below is a list of the Sass rules that could not be converted to Stylus
//quote: line 18 in your Sass file
//quote: line 21 in your Sass file
//quote: line 23 in your Sass file
font-files($font-name, $formats...)
$full = ""
for $i in (1)..(length($formats))
$full = $full + "url(\"#{$font-name}." + nth($formats, $i)
if nth($formats, $i) == "ttf"
$full = $full + '") format("truetype")'
else if nth($formats, $i) == "svg"
$full = $full + '") format("svg")'
else
$full = $full + '") format("' + nth($formats, $i) + '")'
if $i != length($formats)
$full = $full + ", "
//Function quote is not supported in Stylus
//unquote($full)
font-face($name, $font-files, $eot = false, $weight = false, $style = false)
//Function quote is not supported in Stylus
//$iefont = unquote("#{$eot}?#iefix")
@font-face
//Function quote is not supported in Stylus
//font-family: quote($name)
if $eot
src: url($eot)
$font-files = url(quote($iefont)) unquote("format('embedded-opentype')"), $font-files
src: $font-files
if $weight
font-weight: $weight
if $style
font-style: $style
Anyone could help how to make something same result using the sass above?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi,
I am trying to convert these sass code:
End result:
Anyone could help how to make something same result using the sass above?
Thanks in advance.
The text was updated successfully, but these errors were encountered: