diff options
Diffstat (limited to 'cyborg')
-rw-r--r-- | cyborg/_bootswatch.scss | 7 | ||||
-rw-r--r-- | cyborg/bootswatch.less | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/cyborg/_bootswatch.scss b/cyborg/_bootswatch.scss index d72d0c28..9147ae20 100644 --- a/cyborg/_bootswatch.scss +++ b/cyborg/_bootswatch.scss @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Roboto:400,700"); +$web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,700" !default; + +@mixin web-font($path){ + @import url("#{$path}"); +} +@include web-font($web-font-path); // Navbar ===================================================================== diff --git a/cyborg/bootswatch.less b/cyborg/bootswatch.less index 4b2cd789..6c03f26d 100644 --- a/cyborg/bootswatch.less +++ b/cyborg/bootswatch.less @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Roboto:400,700"); +@web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,700"; + +.web-font(@path) { + @import url("@{path}"); +} +.web-font(@web-font-path); // Navbar ===================================================================== |