summaryrefslogtreecommitdiff
path: root/flatly
diff options
context:
space:
mode:
Diffstat (limited to 'flatly')
-rw-r--r--flatly/_bootswatch.scss7
-rw-r--r--flatly/bootswatch.less7
2 files changed, 12 insertions, 2 deletions
diff --git a/flatly/_bootswatch.scss b/flatly/_bootswatch.scss
index 438f6931..7e42b1d9 100644
--- a/flatly/_bootswatch.scss
+++ b/flatly/_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/flatly/bootswatch.less b/flatly/bootswatch.less
index c1413e75..f1de54f5 100644
--- a/flatly/bootswatch.less
+++ b/flatly/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 =====================================================================