diff options
Diffstat (limited to 'superhero')
-rw-r--r-- | superhero/_bootswatch.scss | 7 | ||||
-rw-r--r-- | superhero/bootswatch.less | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/superhero/_bootswatch.scss b/superhero/_bootswatch.scss index f0dabf20..0833a30f 100644 --- a/superhero/_bootswatch.scss +++ b/superhero/_bootswatch.scss @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700"); +$web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700" !default; + +@mixin web-font($path){ + @import url("#{$path}"); +} +@include web-font($web-font-path); // Navbar ===================================================================== diff --git a/superhero/bootswatch.less b/superhero/bootswatch.less index 8a6e2416..c90be81c 100644 --- a/superhero/bootswatch.less +++ b/superhero/bootswatch.less @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Lato:300,400,700"); +@web-font-path: "https://fonts.googleapis.com/css?family=Lato:300,400,700"; + +.web-font(@path) { + @import url("@{path}"); +} +.web-font(@web-font-path); // Navbar ===================================================================== |