Last active
April 21, 2017 16:08
-
-
Save MFFunmaker/194a24945ef96a87fca7af15f12235d7 to your computer and use it in GitHub Desktop.
Dynamic Sass Imports
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@function trump-url() { | |
$className: str-slice(#{&}, 2, str-length(#{&})); | |
@return "../trump/#{$className}.scss"; | |
} | |
.signup { | |
$googleapi: 'googleapis'; | |
@import url('https://fonts.#{$googleapi}.com/css?family=UnifrakturCook:700'); | |
@import "#{trump-url()}"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment