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