diff options
Diffstat (limited to 'lumen')
-rw-r--r-- | lumen/_bootswatch.scss | 7 | ||||
-rw-r--r-- | lumen/bootswatch.less | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lumen/_bootswatch.scss b/lumen/_bootswatch.scss index db339c4e..face50d8 100644 --- a/lumen/_bootswatch.scss +++ b/lumen/_bootswatch.scss @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic"); +$web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic" !default; + +@mixin web-font($path){ + @import url("#{$path}"); +} +@include web-font($web-font-path); @mixin shadow($width: 4px){ border-width: 0 1px $width 1px; diff --git a/lumen/bootswatch.less b/lumen/bootswatch.less index ca86c69f..2599a56a 100644 --- a/lumen/bootswatch.less +++ b/lumen/bootswatch.less @@ -2,7 +2,12 @@ // Bootswatch // ----------------------------------------------------- -@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic"); +@web-font-path: "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic"; + +.web-font(@path) { + @import url("@{path}"); +} +.web-font(@web-font-path); .shadow (@width: 4px) { border-width: 0 1px @width 1px; |