diff options
Diffstat (limited to 'sandstone')
-rw-r--r-- | sandstone/_bootswatch.scss | 7 | ||||
-rw-r--r-- | sandstone/bootswatch.less | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/sandstone/_bootswatch.scss b/sandstone/_bootswatch.scss index 37002118..b98b3f1b 100644 --- a/sandstone/_bootswatch.scss +++ b/sandstone/_bootswatch.scss @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Roboto:400,500"); +$web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,500" !default; + +@mixin web-font($path){ + @import url("#{$path}"); +} +@include web-font($web-font-path); // Navbar ===================================================================== diff --git a/sandstone/bootswatch.less b/sandstone/bootswatch.less index f0883b8c..2883d5a4 100644 --- a/sandstone/bootswatch.less +++ b/sandstone/bootswatch.less @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Roboto:400,500"); +@web-font-path: "https://fonts.googleapis.com/css?family=Roboto:400,500"; + +.web-font(@path) { + @import url("@{path}"); +} +.web-font(@web-font-path); // Navbar ===================================================================== |