diff options
Diffstat (limited to 'united')
-rw-r--r-- | united/_bootswatch.scss | 7 | ||||
-rw-r--r-- | united/bootswatch.less | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/united/_bootswatch.scss b/united/_bootswatch.scss index 93cb2574..3afb5170 100644 --- a/united/_bootswatch.scss +++ b/united/_bootswatch.scss @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Ubuntu:400,700"); +$web-font-path: "https://fonts.googleapis.com/css?family=Ubuntu:400,700" !default; + +@mixin web-font($path){ + @import url("#{$path}"); +} +@include web-font($web-font-path); // Navbar ===================================================================== diff --git a/united/bootswatch.less b/united/bootswatch.less index 6c0e4d70..ad655cff 100644 --- a/united/bootswatch.less +++ b/united/bootswatch.less @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Ubuntu:400,700"); +@web-font-path: "https://fonts.googleapis.com/css?family=Ubuntu:400,700"; + +.web-font(@path) { + @import url("@{path}"); +} +.web-font(@web-font-path); // Navbar ===================================================================== |