summaryrefslogtreecommitdiff
path: root/darkly
diff options
context:
space:
mode:
Diffstat (limited to 'darkly')
-rw-r--r--darkly/_bootswatch.scss7
-rw-r--r--darkly/bootswatch.less7
2 files changed, 12 insertions, 2 deletions
diff --git a/darkly/_bootswatch.scss b/darkly/_bootswatch.scss
index 590cfc07..99a1a1e6 100644
--- a/darkly/_bootswatch.scss
+++ b/darkly/_bootswatch.scss
@@ -2,7 +2,12 @@
// Bootswatch
// -----------------------------------------------------
-@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic");
+$web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic" !default;
+
+@mixin web-font($path){
+ @import url("#{$path}");
+}
+@include web-font($web-font-path);
// Navbar =====================================================================
diff --git a/darkly/bootswatch.less b/darkly/bootswatch.less
index 8f460868..c2a31d4c 100644
--- a/darkly/bootswatch.less
+++ b/darkly/bootswatch.less
@@ -2,7 +2,12 @@
// Bootswatch
// -----------------------------------------------------
-@import url("https://fonts.googleapis.com/css?family=Lato:400,700,400italic");
+@web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic";
+
+.web-font(@path) {
+ @import url("@{path}");
+}
+.web-font(@web-font-path);
// Navbar =====================================================================